summaryrefslogtreecommitdiff
path: root/firmware/pcm_playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/pcm_playback.c')
-rw-r--r--firmware/pcm_playback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index fe71fa3862..36c6ab6a75 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -59,8 +59,8 @@ static bool pcm_playing;
59static bool pcm_paused; 59static bool pcm_paused;
60static int pcm_freq = 0x6; /* 44.1 is default */ 60static int pcm_freq = 0x6; /* 44.1 is default */
61 61
62static unsigned char *next_start; 62static unsigned char *next_start IDATA_ATTR;
63static long next_size; 63static long next_size IDATA_ATTR;
64 64
65/* Set up the DMA transfer that kicks in when the audio FIFO gets empty */ 65/* Set up the DMA transfer that kicks in when the audio FIFO gets empty */
66static void dma_start(const void *addr, long size) 66static void dma_start(const void *addr, long size)
@@ -193,7 +193,7 @@ void pcm_set_frequency(unsigned int frequency)
193} 193}
194 194
195/* the registered callback function to ask for more mp3 data */ 195/* the registered callback function to ask for more mp3 data */
196static void (*callback_for_more)(unsigned char**, long*) = NULL; 196static void (*callback_for_more)(unsigned char**, long*) IDATA_ATTR = NULL;
197 197
198void pcm_play_data(void (*get_more)(unsigned char** start, long* size)) 198void pcm_play_data(void (*get_more)(unsigned char** start, long* size))
199{ 199{