just_audio 0.6.2

This commit is contained in:
Ryan Heise 2020-12-23 03:26:06 +11:00
parent d90b04f6d5
commit f7532f944a
4 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,9 @@
## 0.6.2
* Fix bugs related to the new setAudioSource method:
* When calling setAudioSource more than once
* When calling setAudioSource/load/play simultaneously
## 0.6.1
* Fix bug with Android skipping start of audio.

View File

@ -120,7 +120,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.6.1"
version: "0.6.2"
just_audio_platform_interface:
dependency: transitive
description:

View File

@ -1984,7 +1984,6 @@ class _IdleAudioPlayer extends AudioPlayerPlatform {
Duration _position;
int _index;
List<IndexedAudioSource> _sequence;
StreamSubscription<List<IndexedAudioSource>> _sequenceSubscription;
/// Holds a pending request.
SetAndroidAudioAttributesRequest setAndroidAudioAttributesRequest;
@ -1993,7 +1992,6 @@ class _IdleAudioPlayer extends AudioPlayerPlatform {
@required String id,
@required Stream<List<IndexedAudioSource>> sequenceStream,
}) : super(id) {
_sequenceSubscription =
sequenceStream.listen((sequence) => _sequence = sequence);
}

View File

@ -1,6 +1,6 @@
name: just_audio
description: Flutter plugin to play audio from streams, files, assets, DASH/HLS streams and playlists. Works with audio_service to play audio in the background.
version: 0.6.1
version: 0.6.2
homepage: https://github.com/ryanheise/just_audio/tree/master/just_audio
environment: