forked from len0rd/rockbox
Don't hang when trying to stop paused playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7159 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b5b8f05aed
commit
b6048c49ba
1 changed files with 1 additions and 1 deletions
|
@ -1204,9 +1204,9 @@ static void audio_stop_playback(void)
|
|||
close(current_fd);
|
||||
current_fd = -1;
|
||||
}
|
||||
pcmbuf_play_stop();
|
||||
while (codec_loaded)
|
||||
yield();
|
||||
pcmbuf_play_stop();
|
||||
pcm_play_pause(true);
|
||||
track_count = 0;
|
||||
audio_clear_track_entries();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue