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

FlutterSoundPlayer constructor

FlutterSoundPlayer({
  1. Level logLevel = Level.debug,
  2. bool voiceProcessing = false,
})

Instanciate a new Flutter Sound player.


Instanciate a new Flutter Sound player. The optional paramater Level logLevel specify the Logger Level you are interested by. The optional parameter bool voiceProcessing is used to activate the VoiceProcessingIO AudioUnit (only for iOS)

Implementation

/* ctor */ FlutterSoundPlayer(
    {Level logLevel = Level.debug, bool voiceProcessing = false}) {
  _logger = Logger(level: logLevel);
  _logger.d('ctor: FlutterSoundPlayer()');
}
flutter_sound 9.24.0