setLocalVoiceEqualization abstract method
Future<void>
setLocalVoiceEqualization({
- required AudioEqualizationBandFrequency bandFrequency,
- required int bandGain,
Sets the local voice equalization.
bandFrequencyIndex of the frequency band. The range is0,9, representing 10 frequency bands. The corresponding center frequencies are31, 62, 125, 250, 500, 1k, 2k, 4k, 8k, 16kHz. See AudioEqualizationBandFrequency.bandGainGain of each band in dB. The range for each value is-15,15, with a default value of 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. See Error Codes for details and resolution suggestions.
Implementation
Future<void> setLocalVoiceEqualization(
{required AudioEqualizationBandFrequency bandFrequency,
required int bandGain});