Merge branch 'master' of github.com:ryanheise/just_audio
This commit is contained in:
commit
15c77fd38f
|
@ -138,11 +138,11 @@ Listening to state changes:
|
||||||
player.playerStateStream.listen((state) {
|
player.playerStateStream.listen((state) {
|
||||||
if (state.playing) ... else ...
|
if (state.playing) ... else ...
|
||||||
switch (state.processingState) {
|
switch (state.processingState) {
|
||||||
case AudioPlaybackState.none: ...
|
case ProcessingState.none: ...
|
||||||
case AudioPlaybackState.loading: ...
|
case ProcessingState.loading: ...
|
||||||
case AudioPlaybackState.buffering: ...
|
case ProcessingState.buffering: ...
|
||||||
case AudioPlaybackState.ready: ...
|
case ProcessingState.ready: ...
|
||||||
case AudioPlaybackState.completed: ...
|
case ProcessingState.completed: ...
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue