enableVoiceChanger abstract method

Future<void> enableVoiceChanger(
  1. ZegoMediaPlayerAudioChannel audioChannel,
  2. bool enable,
  3. ZegoVoiceChangerParam param
)

Enable voice changer, set up the specific voice changer parameters.

Available since: 3.15.0 Description: Enable voice changer, set up the specific voice changer parameters. When to call: It can be called after the engine by createEngine has been initialized and the media player has been created by createMediaPlayer.

  • audioChannel The audio channel to be voice changed
  • enable Whether enable voice changer or not. True - enabled, false - disabled, default value is false.
  • param Voice changer parameters

Implementation

Future<void> enableVoiceChanger(ZegoMediaPlayerAudioChannel audioChannel,
    bool enable, ZegoVoiceChangerParam param);