forked from citizenfx/fivem
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'nikez/master' into master-pub
- Loading branch information
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
ns: CFX | ||
apiset: client | ||
game: gta5 | ||
--- | ||
## MUMBLE_SET_AUDIO_INPUT_INTENT | ||
|
||
```c | ||
void MUMBLE_SET_AUDIO_INPUT_INTENT(Hash intentHash); | ||
``` | ||
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 | | ||
## Parameters | ||
* **intentHash**: The intent hash. | ||
## Examples | ||
```lua | ||
-- disable noise suppression and high pass filter | ||
MumbleSetAudioInputIntent(`music`) | ||
-- set the default intent (enable noise suppression and high pass filter) | ||
MumbleSetAudioInputIntent(`speech`) | ||
``` |