summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-04-19 23:08:13 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-04-19 23:08:13 +0000
commit7f4a713af4f2e94e0c8f7f4775eb8f2e41b54beb (patch)
tree008946bb860ebd5ac8f74ab785a72b80b204cd18 /apps/pcmbuf.c
parent538164784cda1110fa59c3bcc5ec03a35875d09b (diff)
downloadrockbox-7f4a713af4f2e94e0c8f7f4775eb8f2e41b54beb.tar.gz
rockbox-7f4a713af4f2e94e0c8f7f4775eb8f2e41b54beb.tar.bz2
rockbox-7f4a713af4f2e94e0c8f7f4775eb8f2e41b54beb.zip
Removed unused function get_pcmbuf_descsize from pcmbuf.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17175 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index eb2c135064..03a5752e9d 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -99,7 +99,6 @@ static size_t crossfade_sample IDATA_ATTR;
static size_t crossfade_fade_in_total IDATA_ATTR;
static size_t crossfade_fade_in_rem IDATA_ATTR;
-static size_t pcmbuf_descsize;
static struct pcmbufdesc *pcmbuf_read IDATA_ATTR;
static struct pcmbufdesc *pcmbuf_read_end IDATA_ATTR;
static struct pcmbufdesc *pcmbuf_write IDATA_ATTR;
@@ -409,10 +408,6 @@ int pcmbuf_descs(void) {
return PCMBUF_DESCS(pcmbuf_size);
}
-size_t get_pcmbuf_descsize(void) {
- return pcmbuf_descsize;
-}
-
static void pcmbuf_init_pcmbuffers(void) {
struct pcmbufdesc *next = pcmbuf_write;
next++;
@@ -468,7 +463,6 @@ size_t pcmbuf_init(unsigned char *bufend)
voicebuf = &fadebuf[PCMBUF_MIX_CHUNK];
pcmbuf_write = (struct pcmbufdesc *)&voicebuf[PCMBUF_MIX_CHUNK];
- pcmbuf_descsize = PCMBUF_DESCS_SIZE(pcmbuf_size);
pcmbuf_init_pcmbuffers();
position_callback = NULL;