summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--apps/pcmbuf.c6
-rw-r--r--apps/pcmbuf.h1
2 files changed, 0 insertions, 7 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;
diff --git a/apps/pcmbuf.h b/apps/pcmbuf.h
index 06362452c0..2e3c2923fc 100644
--- a/apps/pcmbuf.h
+++ b/apps/pcmbuf.h
@@ -45,7 +45,6 @@ size_t pcmbuf_get_bufsize(void);
/* just used for logging for now */
unsigned char * pcmbuf_get_meminfo(size_t *length);
#endif
-size_t get_pcmbuf_descsize(void);
void pcmbuf_pause(bool pause);
void pcmbuf_play_stop(void);