summaryrefslogtreecommitdiff
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-04-24 01:32:28 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-04-24 01:32:28 +0000
commit2da61ff3fbd01573a725684df50b3625bdf0aa45 (patch)
treef9059bf6f728c9925d2b955da3ade56544a2bd3a /apps/pcmbuf.c
parent2aa85a2b6af18eeb1acce613e3f22768ab9445d6 (diff)
Remove accidentally commited commented code, no functional changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index ff7d4cfa82..0c037abb4b 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -83,25 +83,13 @@ static struct pcmbufdesc *pcmbuf_read_end IDATA_ATTR;
static struct pcmbufdesc *pcmbuf_write IDATA_ATTR;
static struct pcmbufdesc *pcmbuf_write_end IDATA_ATTR;
static size_t last_chunksize IDATA_ATTR;
-/*
-static inline size_t pcmbuf_unplayed_bytes(void)
-{
- size_t bytes = 0;
- if (pcmbuf_read)
- {
- struct pcmbufdesc *pcmbuf_chunk = pcmbuf_read;
- do
- {
- bytes += pcmbuf_chunk->size;
- pcmbuf_chunk = pcmbuf_chunk->link;
- } while (pcmbuf_chunk);
- }
- return bytes;
-} */
+
static size_t pcmbuf_unplayed_bytes IDATA_ATTR;
static size_t pcmbuf_watermark IDATA_ATTR;
+
static struct pcmbufdesc *pcmbuf_mix_chunk IDATA_ATTR;
static size_t pcmbuf_mix_sample IDATA_ATTR;
+
static bool low_latency_mode = false;
static bool pcmbuf_flush;