setLocalVoiceEqualization method
- AudioEqualizationBandFrequency bandFrequency,
- int bandGain
设置本地语音音效均衡。
Parameter bandFrequency 频谱子带索引,取值范围是 0,9,分别代表 10 个频带,对应的中心频率是 31,62,125,250,500,1k,2k,4k,8k,16k Hz。
详见 AudioEqualizationBandFrequency。
Parameter bandGain 每个 band 的增益,单位是 dB,每一个值的范围是 -15,15,默认值为 0。
Implementation
@override
Future<void> setLocalVoiceEqualization(
AudioEqualizationBandFrequency bandFrequency, int bandGain) {
return _invokeMethod('setLocalVoiceEqualization', {
'bandFrequency':
AudioEqualizationBandFrequencyConverter(bandFrequency).value(),
'bandGain': bandGain
});
}
