Skip to main content Link Menu Expand (external link) Document Search Copy Copied
setVolumePan method - FlutterSoundPlayer class - player library - Dart API
menu
setVolumePan

setVolumePan method

Future<void> setVolumePan(
  1. double volume,
  2. double pan
)

Implementation

Future<void> setVolumePan(double volume, double pan) async {
  await _lock.synchronized(() async {
    await _setVolumePan(volume, pan);
  });
}
flutter_sound 9.24.0