simple_audio

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

LGPL-3.0 License

Stars
39
Committers
1

Bot releases are hidden (Show)

simple_audio - v1.5.3

Published by erikas-taroza over 1 year ago

  • Removed static global variables that controls playback.
  • Refactor MPRIS and SMTC media controllers.
  • MPRIS and SMTC now update their position.
  • Removed loops that wait on a valid duration for media controllers.
  • CD works with different branches.
simple_audio - v1.5.2

Published by erikas-taroza over 1 year ago

  • Add default timebase (thanks @Yesterday17)
  • Workflow commits use "CD" instead of "CI".
  • Code gen is run when lib.rs is changed.
simple_audio - v1.5.1

Published by erikas-taroza over 1 year ago

  • Improved preload performance (stream is created in a different thread).
  • Fix stop() not working during playback.
  • Fix gapless playback for Android.
simple_audio - v1.5.0

Published by erikas-taroza over 1 year ago

  • Add support for gapless playback.
  • Fix panic when a file's timebase is None.
simple_audio - v1.4.5

Published by erikas-taroza over 1 year ago

  • BREAKING: These names are more generic since not every OS has a notification as a media controller.
    • Renamed showMediaNotification to useMediaController in SimpleAudio.init()
    • Renamed androidCompactPlaybackActions to androidCompactActions in SimpleAudio.init()
    • Renamed NotificationActions to MediaControlAction
  • Update flutter_rust_bridge
    • Enums are generated in camelCase.
    • Rust can take a list of MediaControlAction instead of ints.
  • Refactored decoder
    • Prevent multiple playbacks happening after spamming open()
  • Update example/docs
simple_audio - v1.4.4

Published by erikas-taroza over 1 year ago

  • Handle hot restarts.
simple_audio - v1.4.3

Published by erikas-taroza over 1 year ago

  • Fix method channel being used for incorrect platforms when looping playback.
simple_audio - v1.4.2

Published by erikas-taroza over 1 year ago

  • Add missing Android libs from CI fail.
simple_audio - v1.4.1

Published by erikas-taroza over 1 year ago

  • Fix progress bar on media notifications not changing after loop.
  • Fix simple_audio blocking when stop() is called twice.
  • Update example.
  • Other changes
    • Formatting (Rust, Kotlin)
    • Refactoring (Rust)
simple_audio - v1.4.0

Published by erikas-taroza over 1 year ago

  • Support changing output devices.
  • Remove playback error handling.
    • The main cause of this was the output device changing.
simple_audio - v1.3.0

Published by erikas-taroza over 1 year ago

  • Allow user to handle errors. The following errors can be handled in Dart:
    • Fail to open a file
    • Error in network stream (ex. the URL is no longer valid)
    • Error decoding the file (ex. the file isn't formatted correctly)
    • Error during playback (ex. the device that was outputting is no longer available)
  • Fix the playback state not being updated when calling open()
simple_audio - v1.2.1

Published by erikas-taroza over 1 year ago

  • Fix Android CMake
  • Update Flutter Rust Bridge
simple_audio - v1.2.0

Published by erikas-taroza over 1 year ago

  • Added the option to normalize volume.
  • Improve documentation.
simple_audio - v1.1.0

Published by erikas-taroza over 1 year ago

simple_audio - v1.0.7

Published by erikas-taroza over 1 year ago

  • Remove some Android setup requirements.
  • Fix foreground service keeping Android app alive.
    • The fix uses endProcess which is like force stopping the app.
      If you have a better solution to this, submit an issue or PR.
simple_audio - v1.0.6

Published by erikas-taroza over 1 year ago

  • Streaming with HTTP Range header for network files.
  • Stream HLS files by downloading the given parts on demand.
simple_audio - v1.0.5

Published by erikas-taroza over 1 year ago

  • Add the ability to loop.
  • Update Rust dependencies.
  • Improve Rust codebase with clippy suggestions.
simple_audio - v1.0.4

Published by erikas-taroza over 1 year ago

  • Media controllers can take images as bytes.
  • Android: Playback not working when reopening app
simple_audio - v1.0.3

Published by erikas-taroza almost 2 years ago

  • Improved README
  • Added license headers to files that were missing it
  • iOS calling play/pause quickly stops playback
simple_audio - v1.0.2

Published by erikas-taroza almost 2 years ago

  • Build scripts download binaries (for pub.dev)