forked from len0rd/rockbox
Bug fix: When paused, pressing next would start playing next track. Now it stays in pause mode. (pause still isn't perfect, afaik it's not working when it's loading data from disk.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6626 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
23797afb0b
commit
2d8e7f20d4
1 changed files with 1 additions and 1 deletions
|
|
@ -383,7 +383,7 @@ bool audiobuffer_insert(char *buf, size_t length)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!pcm_is_playing()) {
|
||||
if (!pcm_is_playing() && !pcm_paused) {
|
||||
pcm_boost(true);
|
||||
if (audiobuffer_free < PCMBUF_SIZE - CHUNK_SIZE*2)
|
||||
pcm_play_start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue