summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-03-23 17:11:00 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-03-23 17:11:00 +0000
commitfdb58dfe1caa6032fd71ccbe554103e37711b778 (patch)
treee4eeb2c906d4a54d54e9a4f1106fd031723e0d71
parent1127c5fe15f5879da1081251e5b183e2cdbe8766 (diff)
downloadrockbox-fdb58dfe1caa6032fd71ccbe554103e37711b778.tar.gz
rockbox-fdb58dfe1caa6032fd71ccbe554103e37711b778.tar.bz2
rockbox-fdb58dfe1caa6032fd71ccbe554103e37711b778.zip
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
-rw-r--r--apps/playback.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/playback.c b/apps/playback.c
index fe0799e2e2..0c04057593 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -294,13 +294,6 @@ bool codec_pcmbuf_insert_split_callback(const void *ch1, const void *ch2,
src[0] = ch1;
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)
{
length *= 2; /* Length is per channel */