Open mhstoller opened 3 years ago
Thank your for your PR (Problem Report). This bug is really bad, and must be fixed soon.
I'm no longer able to reproduce this on flutter_sound_lite 8.1.4, closing for now and will re-open if it happens again.
I am re-opening this issue. Nothing has been fixed in this area, and I guess that this bug is still there.
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
Flutter Sound Version :
Released or Beta version ?
Version number 7.5.3+1
LITE flavor
Result of the command "flutter pub deps | grep flutter_sound"
Severity
Platforms you faced the error
Describe the bug When listening to an audio file over and over, the onProgress stream emits playback positions from previous sessions
To Reproduce Steps to reproduce the behavior:
This will continue for each time you start the playback, so if you play it 4 times in a row you would end up with 4 stream events being sent for each progress event (3 of those events will be incorrect each time)
Expected behavior Only emit events from the current audio session
Code sample
Logs
First play (normal)
Second play (onProgress emits "0:00:04.660000" as the playback position in between each real stream event):