summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playback.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 1e6bfa5fe7..ecfb93363e 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1836,6 +1836,11 @@ static void audio_stop_playback(void)
1836 playlist_update_resume_info( 1836 playlist_update_resume_info(
1837 (playlist_end && ci.stop_codec)?NULL:audio_current_track()); 1837 (playlist_end && ci.stop_codec)?NULL:audio_current_track());
1838 } 1838 }
1839
1840 if (voice_is_playing)
1841 while (voice_is_playing || !queue_empty(&voice_codec_queue))
1842 yield();
1843
1839 filebufused = 0; 1844 filebufused = 0;
1840 playing = false; 1845 playing = false;
1841 filling = false; 1846 filling = false;