forked from len0rd/rockbox
Allow the pcm buffer to fill while playback is paused
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9212 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1127c5fe15
commit
fdb58dfe1c
1 changed files with 0 additions and 7 deletions
|
|
@ -294,13 +294,6 @@ bool codec_pcmbuf_insert_split_callback(const void *ch1, const void *ch2,
|
||||||
src[0] = ch1;
|
src[0] = ch1;
|
||||||
src[1] = ch2;
|
src[1] = ch2;
|
||||||
|
|
||||||
while (paused)
|
|
||||||
{
|
|
||||||
sleep(1);
|
|
||||||
if (ci.stop_codec || ci.reload_codec || ci.seek_time)
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (dsp_stereo_mode() == STEREO_NONINTERLEAVED)
|
if (dsp_stereo_mode() == STEREO_NONINTERLEAVED)
|
||||||
{
|
{
|
||||||
length *= 2; /* Length is per channel */
|
length *= 2; /* Length is per channel */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue