forked from len0rd/rockbox
Fixes FS#8597 (dropouts while crossfading) via keeping CPU boosted while crossfading is active.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16889 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ad74906e18
commit
63acf3eb16
1 changed files with 5 additions and 1 deletions
|
@ -1233,7 +1233,11 @@ static void codec_thread(void)
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
status = 0;
|
status = 0;
|
||||||
cancel_cpu_boost();
|
|
||||||
|
if (!pcmbuf_is_crossfade_active()) {
|
||||||
|
cancel_cpu_boost();
|
||||||
|
}
|
||||||
|
|
||||||
queue_wait(&codec_queue, &ev);
|
queue_wait(&codec_queue, &ev);
|
||||||
codec_requested_stop = false;
|
codec_requested_stop = false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue