Files
SpotiFLAC-Mobile/third_party/audioplayers_android

AudioPlayers


audioplayers_android

The Android implementation of audioplayers.

SpotiFLAC local changes

In addition to preserving granted proxy file descriptors, this fork exposes a player-specific setEqualizer method. On Android 9+, DynamicsProcessing attaches to that player's nonzero audio session and provides graphic EQ, preamp, balance, compression and limiting. Effects are released with the underlying player and restored by the playback deck after source preparation. Unsupported effects are reported to the editor without stopping playback. Direct USB and exclusive bit-perfect paths bypass these effects.

API reference: https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing

Usage

This package is endorsed, which means you can simply use audioplayers normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.