From 823c5308cb9ea40174ed27e9356b48a16dd4eca5 Mon Sep 17 00:00:00 2001 From: Ryan Heise Date: Mon, 19 Jul 2021 23:09:00 +1000 Subject: [PATCH] just_audio 0.9.2 --- just_audio/CHANGELOG.md | 5 +++++ just_audio/lib/just_audio.dart | 7 ++++--- just_audio/pubspec.yaml | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/just_audio/CHANGELOG.md b/just_audio/CHANGELOG.md index 5ede0407..1a292b7a 100644 --- a/just_audio/CHANGELOG.md +++ b/just_audio/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.9.2 + +* Fix Android bug when loading empty playlist. +* Fix Android NullPointerException on stop(). + ## 0.9.1 * Fix iOS/macOS bug when setting volume before load. diff --git a/just_audio/lib/just_audio.dart b/just_audio/lib/just_audio.dart index 1539bbc6..7e79a2b9 100644 --- a/just_audio/lib/just_audio.dart +++ b/just_audio/lib/just_audio.dart @@ -923,9 +923,10 @@ class AudioPlayer { } } - /// Sets the playback speed of this player, where 1.0 is normal speed. Note - /// that values in excess of 1.0 may result in stalls if the playback speed is - /// faster than the player is able to downloaded the audio. + /// Sets the playback speed to use when [playing] is `true`, where 1.0 is + /// normal speed. Note that values in excess of 1.0 may result in stalls if + /// the playback speed is faster than the player is able to downloaded the + /// audio. Future setSpeed(final double speed) async { if (_disposed) return; _playbackEvent = _playbackEvent.copyWith( diff --git a/just_audio/pubspec.yaml b/just_audio/pubspec.yaml index 235f28e2..e2f1ea65 100644 --- a/just_audio/pubspec.yaml +++ b/just_audio/pubspec.yaml @@ -1,6 +1,6 @@ name: just_audio description: A feature-rich audio player for Flutter. Loop, clip and concatenate any sound from any source (asset/file/URL/stream) in a variety of audio formats with gapless playback. -version: 0.9.1 +version: 0.9.2 homepage: https://github.com/ryanheise/just_audio/tree/master/just_audio environment: