forked from len0rd/rockbox
Don't boost from inside the DMA interrupt, ever
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8677 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9581ad39ec
commit
3a37faee57
1 changed files with 3 additions and 3 deletions
|
@ -185,8 +185,6 @@ static void pcmbuf_callback(unsigned char** start, size_t* size)
|
||||||
CALL_IF_EXISTS(pcmbuf_event_handler);
|
CALL_IF_EXISTS(pcmbuf_event_handler);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(pcmbuf_unplayed_bytes <= pcmbuf_watermark) pcmbuf_under_watermark();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void pcmbuf_set_position_callback(void (*callback)(size_t size))
|
void pcmbuf_set_position_callback(void (*callback)(size_t size))
|
||||||
|
@ -735,7 +733,9 @@ static bool prepare_insert(size_t length)
|
||||||
logf("pcm starting");
|
logf("pcm starting");
|
||||||
pcmbuf_play_start();
|
pcmbuf_play_start();
|
||||||
}
|
}
|
||||||
}
|
} else if (pcmbuf_unplayed_bytes <= pcmbuf_watermark)
|
||||||
|
pcmbuf_under_watermark();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue