summaryrefslogtreecommitdiff
path: root/firmware/export/pcm_playback.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/pcm_playback.h')
-rw-r--r--firmware/export/pcm_playback.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/export/pcm_playback.h b/firmware/export/pcm_playback.h
index 9c3e96ba63..e7c00edeed 100644
--- a/firmware/export/pcm_playback.h
+++ b/firmware/export/pcm_playback.h
@@ -47,4 +47,17 @@ void pcm_play_pause(bool play);
47bool pcm_is_paused(void); 47bool pcm_is_paused(void);
48bool pcm_is_playing(void); 48bool pcm_is_playing(void);
49 49
50/** The following are for internal use between pcm_playback.c and target-
51 specific portion **/
52
53/* the registered callback function to ask for more mp3 data */
54extern volatile pcm_more_callback_type pcm_callback_for_more;
55extern volatile bool pcm_playing;
56extern volatile bool pcm_paused;
57
58extern void pcm_play_dma_start(const void *addr, size_t size);
59extern void pcm_play_dma_stop(void);
60extern void pcm_play_pause_pause(void);
61extern void pcm_play_pause_unpause(void);
62
50#endif /* PCM_PLAYBACK_H */ 63#endif /* PCM_PLAYBACK_H */