Skip to content

Commit

Permalink
just_audio 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanheise committed Dec 22, 2020
1 parent d90b04f commit f7532f9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 6 additions & 0 deletions just_audio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion just_audio/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions just_audio/lib/just_audio.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -1993,8 +1992,7 @@ class _IdleAudioPlayer extends AudioPlayerPlatform {
@required String id,
@required Stream<List<IndexedAudioSource>> sequenceStream,
}) : super(id) {
_sequenceSubscription =
sequenceStream.listen((sequence) => _sequence = sequence);
sequenceStream.listen((sequence) => _sequence = sequence);
}

_broadcastPlaybackEvent() {
Expand Down
2 changes: 1 addition & 1 deletion just_audio/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit f7532f9

Please sign in to comment.