Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

I found a fix for the microphone problem on github, but where to put it #535

Open
flagman1338 opened this issue Mar 7, 2023 · 5 comments

Comments

@flagman1338
Copy link

fix for the voice sounds

bool __fastcall send_net_channel(INetChannel* thisptr, int edx, INetMessage* message, bool force_reliable, bool voice)
{
// check for voicedata group and enable voice streams
if (message->get_group() == INetChannelInfo::VOICE)
voice = true;

    // call og
return og::net_channel(thisptr, edx, message, force_reliable, voice);

}

(owner - #465)

@JannesBonk
Copy link
Contributor

fix for the voice sounds

bool __fastcall send_net_channel(INetChannel* thisptr, int edx, INetMessage* message, bool force_reliable, bool voice)
{
// check for voicedata group and enable voice streams
if (message->get_group() == INetChannelInfo::VOICE)
voice = true;

    // call og

return og::net_channel(thisptr, edx, message, force_reliable, voice);
}

(owner - #465)

did u test it?

@flagman1338
Copy link
Author

I don't know where to write this?

@Xsintashi
Copy link
Contributor

bruh

@JannesBonk
Copy link
Contributor

I don't know where to write this?

try in hooks maybe idk 🤷

@Notmynix
Copy link

Notmynix commented May 10, 2023

whear is the hooks make update end more

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants