summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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);