tau library Null safety Main
The Flutter Sound library
Flutter Sound is composed with six main modules/classes
FlutterSound
. This is the main Flutter Sound module.- FlutterSoundPlayer. Everything about the playback functions
- FlutterSoundRecorder. Everything about the recording functions
- FlutterSoundHelper. Some utilities to manage audio data. And two modules for the Widget UI
- SoundPlayerUI
- SoundRecorderUI
Classes
- Food
- 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. [...]
- FoodData
- 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
- FoodEvent
- foodEvent is a special kin of food which allows to re-synchronize a stream with a player that play from a Dart Stream
Constants
- allowAirPlay → const int
-
16
- allowBlueTooth → const int
-
8
- allowBlueToothA2DP → const int
-
32
- allowEarPiece → const int
-
4
- allowHeadset → const int
-
2
-
ext
→ const List<
String> -
The usual file extensions used for each codecs
const ['.aac', '.aac', '.opus', '_opus.caf', '.mp3', '.ogg', '.pcm', '.wav', '.aiff', '_pcm.caf', '.flac', '…
- iosAllowAirplay → const int
-
0x40
- iosAllowBluetooth → const int
-
0x4
- iosAllowBluetoothA2DP → const int
-
0x20
- iosDefaultToSpeaker → const int
-
0x8
- iosDuckOthers → const int
-
0x2
- iosInterruptSpokenAudioAndMixWithOthers → const int
-
0x11
- iosMixWithOthers → const int
-
0x1
- outputToSpeaker → const int
-
1
Enums
- AndroidFocusGain
- AudioDevice
- AudioFocus
-
Used by
FlutterSound.setAudioFocus
to control the focus mode. - Codec
- SessionCategory
- SessionMode