setAudioDualMonoMode method

FutureOr<int> setAudioDualMonoMode(
  1. AudioMixingDualMonoMode mode
)

@detail api @brief Sets the channel mode of the mixing of the media file. @param mode The mode of channel. The default channel mode is the same as the source file. See AudioMixingDualMonoMode{@link #AudioMixingDualMonoMode}. @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details. @note - Call this API only when audio is mixing. - Audio file is supported, but not PCM data.

Implementation

FutureOr<int> setAudioDualMonoMode(AudioMixingDualMonoMode mode) async {
  return await nativeCall('setAudioDualMonoMode', [mode.$value]);
}