Merge branch 'master' of github.com:ryanheise/just_audio

This commit is contained in:
Ryan Heise 2020-11-18 01:32:49 +11:00
commit 15c77fd38f
1 changed files with 5 additions and 5 deletions

View File

@ -138,11 +138,11 @@ Listening to state changes:
player.playerStateStream.listen((state) {
if (state.playing) ... else ...
switch (state.processingState) {
case AudioPlaybackState.none: ...
case AudioPlaybackState.loading: ...
case AudioPlaybackState.buffering: ...
case AudioPlaybackState.ready: ...
case AudioPlaybackState.completed: ...
case ProcessingState.none: ...
case ProcessingState.loading: ...
case ProcessingState.buffering: ...
case ProcessingState.ready: ...
case ProcessingState.completed: ...
}
});