setLocalVoiceEqualization abstract method

Future<int?> setLocalVoiceEqualization(
  1. VoiceEqualizationConfig config
)

Set the equalization effect for the local captured audio.
The audio includes both internal captured audio and external captured voice, but not the mixing audio file.

Return value:

  • 0: Success.
  • <0: Failure.

According to the Nyquist sampling rate, the audio acquisition rate must be greater than twice the set center frequency. Otherwise, the setting will not be effective.

Implementation

Future<int?> setLocalVoiceEqualization(VoiceEqualizationConfig config);