MastewalB / sonic-mobile

0 stars 1 forks source link

Audioplayer Bugs #1

Open MastewalB opened 1 year ago

MastewalB commented 1 year ago

The Current audio player widget has the following problems.

MastewalB commented 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.