Fix sim warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16881 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
732df386af
commit
12b6c847c5
2 changed files with 4 additions and 2 deletions
|
@ -1338,8 +1338,9 @@ void buffering_thread(void)
|
|||
|
||||
while (true)
|
||||
{
|
||||
if (!filling)
|
||||
if (!filling) {
|
||||
cancel_cpu_boost();
|
||||
}
|
||||
|
||||
queue_wait_w_tmo(&buffering_queue, &ev, filling ? 5 : HZ/2);
|
||||
|
||||
|
|
|
@ -2358,8 +2358,9 @@ static void audio_thread(void)
|
|||
|
||||
while (1)
|
||||
{
|
||||
if (filling != STATE_FILLING)
|
||||
if (filling != STATE_FILLING) {
|
||||
cancel_cpu_boost();
|
||||
}
|
||||
|
||||
if (!pcmbuf_queue_scan(&ev))
|
||||
queue_wait_w_tmo(&audio_queue, &ev, HZ/2);
|
||||
|
|
Loading…
Reference in a new issue