A simple cross-platform solution for playing audio in Flutter.
LGPL-3.0 License
Bot releases are visible (Hide)
Published by erikas-taroza 3 months ago
Main changes:
simple_audio_flutter
implements a Dart API.How to migrate to V2 from v1.9.0:
SimpleAudio.init()
no longer takes any parameters.SimpleAudio()
constructor only takes one optional parameter: shouldNormalizeVolume
playbackStateStream
is renamed to playbackState
progressStateStream
is renamed to progressState
networkError
streamdecodeError
streamProgressState
now represents time via Duration
. To get the position in seconds, do state.position.inSeconds
seek
now takes a Duration
. To seek to a given point in seconds, do seek(Duration(seconds: seconds)
setMetadata
and Metadata
are removed. Please use other packages as shown in the example to implement media controllers.Published by erikas-taroza 12 months ago
clearPreload()
removes the preloaded file so that it doesn't automatically play.PreloadPlayed
playback state which is sent after the preload was automatically played.Published by erikas-taroza about 1 year ago
stop
event (thanks @dannyglover)uuid
dependencyPublished by erikas-taroza about 1 year ago
open()
and preload()
. The onNetworkStreamError
and onDecodeError
callbacks now have a parameter for the error message.flutter_rust_bridge
to 1.82.1
pubspec.yaml
Published by erikas-taroza about 1 year ago
flutter_rust_bridge
Published by erikas-taroza about 1 year ago
1
Published by erikas-taroza about 1 year ago
ios.zip
to simple_audio.xcframework
directory (thanks @Yesterday17)Published by erikas-taroza about 1 year ago
Published by erikas-taroza about 1 year ago
Published by erikas-taroza about 1 year ago
Published by erikas-taroza about 1 year ago
Published by erikas-taroza about 1 year ago
tar.gz
for Linux/Android/WindowsPublished by erikas-taroza over 1 year ago
Published by erikas-taroza over 1 year ago
Published by erikas-taroza over 1 year ago
playPreload
not auto playing on Windows.Published by erikas-taroza over 1 year ago
Content-Length
cannot be acquired.Published by erikas-taroza over 1 year ago
.pubignore
to exclude the iOS framework Info.plist
file.--rebase
flag to git pull
Published by erikas-taroza over 1 year ago
Published by erikas-taroza over 1 year ago
ACTIVE_LOCK
private.