VoiceChat.getPreprocessingParam: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{ClientsideJsFunction}} | {{ClientsideJsFunction}} | ||
'''Crash warning: It is worth noting some settings will return an array and can crash the game.''' | |||
'''Crash warning: It is worth noting some settings will return an array and can crash the game. | |||
== Description == | == Description == | ||
Revision as of 10:09, 11 January 2021
Client-Side Function
Crash warning: It is worth noting some settings will return an array and can crash the game.
Description
This function is for getting Audio Pre-Processing on the Voicechat. This function is utilized by the Speexdsp library therefore for any setting you wish to check would be best referred to the documentation.
Parameters
- setting - the int representing the setting you wish to check (For example SPEEX_PREPROCESS_SET_NOISE_SUPPRESS would be 18) SpeexDSP PreProcess Source.
(The setting you wish to checkcan also be confirmed in the following documentation: Speex)
Example
This example calling clientside event
mp.voiceChat.getPreprocessingParam(10);
This might require some more examples to show you the benefits of using a Pre Processor on the Voice Chat