forked from len0rd/rockbox
Fix FS#8964 (CPU remains boosted after buffering). 'filling' needs to be set to false when there's nothing left to buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17923 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d341ccef9c
commit
a2191b93af
1 changed files with 2 additions and 0 deletions
|
|
@ -1431,6 +1431,8 @@ void buffering_thread(void)
|
|||
if (filling) {
|
||||
if (data_counters.remaining > 0 && BUF_USED < buffer_len)
|
||||
filling = fill_buffer();
|
||||
else if (data_counters.remaining == 0)
|
||||
filling = false;
|
||||
}
|
||||
else if (ev.id == SYS_TIMEOUT)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue