forked from len0rd/rockbox
Keep the WPS progress bar updating at end of playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11266 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
48b4ac3745
commit
004ee26e17
1 changed files with 4 additions and 1 deletions
|
|
@ -1839,7 +1839,10 @@ static void codec_thread(void)
|
||||||
/* Wait for the audio to stop playing before
|
/* Wait for the audio to stop playing before
|
||||||
* triggering the WPS exit */
|
* triggering the WPS exit */
|
||||||
while(pcm_is_playing())
|
while(pcm_is_playing())
|
||||||
sleep(1);
|
{
|
||||||
|
CUR_TI->id3.elapsed = CUR_TI->id3.length - pcmbuf_get_latency();
|
||||||
|
yield();
|
||||||
|
}
|
||||||
LOGFQUEUE("codec > audio Q_AUDIO_STOP");
|
LOGFQUEUE("codec > audio Q_AUDIO_STOP");
|
||||||
queue_post(&audio_queue, Q_AUDIO_STOP, 0);
|
queue_post(&audio_queue, Q_AUDIO_STOP, 0);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue