1
0
Fork 0
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:
Brandon Low 2006-03-23 17:11:00 +00:00
parent 1127c5fe15
commit fdb58dfe1c

View file

@ -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 */