enableVoiceChanger abstract method
- ZegoMediaPlayerAudioChannel audioChannel,
- bool enable,
- 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 changedenable
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);