AudioPlayers


audioplayers_android

The Android implementation of audioplayers, based on the Android MediaPlayer and SoundPool.

Warning

This package is deprecated in favor of audioplayers_android_exo, which is based on Media3 ExoPlayer and is now the default Android implementation of audioplayers. It only receives critical fixes and will be discontinued in a future release.

Usage

This package is not endorsed anymore. If you still need it (e.g. for PlayerMode.lowLatency), you can override the default Android implementation by adding audioplayers_android to your app's pubspec.yaml:

dependencies:
  audioplayers: any
  audioplayers_android: any

Libraries