MUMBLE_SET_AUDIO_INPUT_INTENT
Use this native to disable noise suppression and high pass filters.
Signature
void MUMBLE_SET_AUDIO_INPUT_INTENT(Hash intentHash);Parameters
| Name | Type | Description |
|---|---|---|
intentHash | Hash | The intent hash. |
Returns void
Description
Use this native to disable noise suppression and high pass filters.
The possible intents for this are as follows (backticks are used to represent hashes):
| Index | Description |
|---|---|
| `speech` | Default intent |
| `music` | Disable noise suppression and high pass filter |
Usage
MumbleSetAudioInputIntent(intentHash)
-- always works, by hash
Citizen.InvokeNative(0x6383526b, intentHash)JavaScript and C#
MumbleSetAudioInputIntent(intentHash);
// by hash
Citizen.invokeNative('0x6383526b', intentHash);Function.Call((Hash)0x6383526b, intentHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Examples
-- disable noise suppression and high pass filter
MumbleSetAudioInputIntent(`music`)
-- set the default intent (enable noise suppression and high pass filter)
MumbleSetAudioInputIntent(`speech`)Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.