Open MastewalB opened 1 year ago
audioQueue
ordering is incorrect due to the nature of the playAudio
function.
In the bloc on<PlayAudioEvent>((event, emit)
handler
audioQueue.add(event.audio);
Even though the audio is in the queue, it's added again without further check, hence resulting in duplicate instances.
The Current audio player widget has the following problems.
audioQueue
) doesn't work properly, i.e. going to previous and next songs has incorrect ordering.TimeSlider
widget does not rebuild theStream
if error occurred(for eg. Internet Connection).