setLocalVoiceEqualization abstract method
Future<void>
setLocalVoiceEqualization({
- required AudioEqualizationBandFrequency bandFrequency,
- required int bandGain,
Sets the local voice equalization effect.
You can call this method either before or after joining a channel.
bandFrequency
The band frequency. The value ranges between 0 and 9; representing the respective 10-band center frequencies of the voice effects, including 31, 62, 125, 250, 500, 1k, 2k, 4k, 8k, and 16k Hz. See AudioEqualizationBandFrequency.bandGain
The gain of each band in dB. The value ranges between -15 and 15. The default value is 0.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> setLocalVoiceEqualization(
{required AudioEqualizationBandFrequency bandFrequency,
required int bandGain});