Rename none state to idle.
This commit is contained in:
parent
9b27508c7b
commit
768fde91aa
3 changed files with 7 additions and 7 deletions
|
@ -37,7 +37,7 @@ class JustAudioPlugin extends JustAudioPlatform {
|
|||
|
||||
abstract class JustAudioPlayer extends AudioPlayerPlatform {
|
||||
final eventController = StreamController<PlaybackEventMessage>();
|
||||
ProcessingStateMessage _processingState = ProcessingStateMessage.none;
|
||||
ProcessingStateMessage _processingState = ProcessingStateMessage.idle;
|
||||
bool _playing = false;
|
||||
int _index;
|
||||
|
||||
|
@ -393,7 +393,7 @@ class Html5AudioPlayer extends JustAudioPlayer {
|
|||
_currentAudioSourcePlayer?.pause();
|
||||
_audioElement.removeAttribute('src');
|
||||
_audioElement.load();
|
||||
transition(ProcessingStateMessage.none);
|
||||
transition(ProcessingStateMessage.idle);
|
||||
return await super.release();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue