simple_audio

A simple cross-platform solution for playing audio in Flutter.

LGPL-3.0 License

Stars
39
Committers
1

Bot releases are visible (Hide)

simple_audio - v2.0.1 Latest Release

Published by erikas-taroza 3 months ago

  • Support Gradle 8
simple_audio - v2.0.0

Published by erikas-taroza 3 months ago

Main changes:

  • Removed media controllers
    • Please check the example project to see how you can implement media controllers using other packages
  • Decoupled Rust code from FlutterRustBridge.
    • Allows for compatibility with other FlutterRustBridge packages that may have a different version from simple_audio. If you need this functionality, please check how simple_audio_flutter implements a Dart API.
  • API changes

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
  • Network errors are now handled by listening to the networkError stream
  • Decode errors are now handled by listening to the decodeError stream
  • ProgressState 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.
simple_audio - v1.9.0

Published by erikas-taroza 12 months ago

  • Improved gapless playback
    • The preloaded file is automatically played when the current file is done playing.
    • clearPreload() removes the preloaded file so that it doesn't automatically play.
    • PreloadPlayed playback state which is sent after the preload was automatically played.
simple_audio - v1.8.0

Published by erikas-taroza about 1 year ago

  • Add stop event (thanks @dannyglover)
  • Add uuid dependency
simple_audio - v1.7.0

Published by erikas-taroza about 1 year ago

  • Improved error handling. Custom errors are thrown in open() and preload(). The onNetworkStreamError and onDecodeError callbacks now have a parameter for the error message.
  • Updated flutter_rust_bridge to 1.82.1
  • Removed useless comments in pubspec.yaml
simple_audio - v1.6.6

Published by erikas-taroza about 1 year ago

  • Specify explicit version of flutter_rust_bridge
simple_audio - v1.6.5

Published by erikas-taroza about 1 year ago

  • Increase device buffer size, compare buffer size to default instead of 1
simple_audio - v1.6.4

Published by erikas-taroza about 1 year ago

  • Select correct buffer size based on default output config.
  • Extract ios.zip to simple_audio.xcframework directory (thanks @Yesterday17)
  • Add topics to pubspec.yaml
simple_audio - test-frb-prefix-rel

Published by erikas-taroza about 1 year ago

simple_audio - test-frb-prefix-rel

Published by erikas-taroza about 1 year ago

simple_audio - v1.6.4

Published by erikas-taroza about 1 year ago

simple_audio - v1.6.3

Published by erikas-taroza about 1 year ago

  • Fix method channels hanging because a result wasn't returned in native code.
simple_audio - v1.6.2

Published by erikas-taroza about 1 year ago

  • Release assets use tar.gz for Linux/Android/Windows
  • Update README
  • Update git/pub ignore
simple_audio - v1.6.1

Published by erikas-taroza over 1 year ago

  • Fixed normalization gain calculation.
  • Normalizer has smoother volume changes and don't apply excess positive gain.
  • Refactored CD. Built libraries are now release assets instead of files committed to the repo.
  • Created a CI.
simple_audio - v1.6.0

Published by erikas-taroza over 1 year ago

  • Opus support (thanks @Yesterday17)
simple_audio - v1.5.8

Published by erikas-taroza over 1 year ago

  • Fix stream playback stopping for a moment when preloading another network stream.
  • Fix preloaded output stream breaking the next streams on Windows.
  • Fix playPreload not auto playing on Windows.
simple_audio - v1.5.7

Published by erikas-taroza over 1 year ago

  • HTTP and HLS streams fallback to downloading the file if Content-Length cannot be acquired.
  • More CD improvements
simple_audio - v1.5.6

Published by erikas-taroza over 1 year ago

  • Update .pubignore to exclude the iOS framework Info.plist file.
  • Improve CD workflow file.
    • Use different context variables
    • Add --rebase flag to git pull
  • Remove OpenSSL dependency to improve CD build times on iOS.
simple_audio - v1.5.5

Published by erikas-taroza over 1 year ago

  • Fix preloaded file not playing after output device is changed.
  • MPRIS: Fix error when hot reloading because name is taken.
  • Increase downloaded chunk size for network streams.
simple_audio - v1.5.4

Published by erikas-taroza over 1 year ago

  • Fix Android audio crackling with Bluetooth headphones.
  • Fix high CPU usage with MPRIS.
  • Improve README
  • Make ACTIVE_LOCK private.