public/tau_player library Main

THE Flutter Sound Player

Classes

PlaybackDisposition
Used to stream data about the position of the playback as playback proceeds.
TauFood
Food is an abstract class which represents objects that can be sent to a player when playing data from astream or received by a recorder when recording to a Dart Stream.
TauFoodData
FoodData are the regular objects received from a recorder when recording to a Dart Stream or sent to a player when playing from a Dart Stream
TauFoodEvent
foodEvent is a special kind of food which allows to re-synchronize a stream with a player that play from a Dart Stream
TauPlayer
A Player is an object that can playback from Files, Buffers and Assets. Players do not manage RAW PCM data. Players play to a speaker or a headset. A Player is a High level OS object. It corresponds to an AVAudioPlayer on iOS and a MediaPlayer on Android. The App can create several Players. Each player must be independently opened and closed. Each Player manages its own playback, with its own sound volume, its own seekToPlayer and its own set of callbacks. When you have finished with a Player, you must close it. Opening a player takes resources inside the OS. Those resources are freed with the verb close().

Enums

PlayerState
The possible states of the Player.

Typedefs

TonPaused = void Function(bool paused)
Playback function type for FlutterSoundPlayer.startPlayerFromTrack().
TOnProgress = void Function(Duration position, Duration duration)
Playback function type for FlutterSoundPlayer.startPlayer().
TonSkip = void Function()
Playback function type for FlutterSoundPlayer.startPlayerFromTrack().
TWhenFinished = void Function()
Playback function type for FlutterSoundPlayer.startPlayer().