summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
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;