setMirrorMode method

Future<void> setMirrorMode(
  1. int mirrorMode
)

设置镜像模式

Set the mirror mode of the player.

mirrorMode The target mirror mode.

Implementation

Future<void> setMirrorMode(int mirrorMode) async {
  await _aliPlayer.setMirrorMode(mirrorMode);
  int newValue = await _aliPlayer.getMirrorMode();

  logi("setMirrorMode: $mirrorMode, real: $newValue");

  mirrorModeNotifier.value = newValue;
}