diff options
Diffstat (limited to 'firmware/export/pcm_playback.h')
-rw-r--r-- | firmware/export/pcm_playback.h | 13 |
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); | |||
47 | bool pcm_is_paused(void); | 47 | bool pcm_is_paused(void); |
48 | bool pcm_is_playing(void); | 48 | bool 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 */ | ||
54 | extern volatile pcm_more_callback_type pcm_callback_for_more; | ||
55 | extern volatile bool pcm_playing; | ||
56 | extern volatile bool pcm_paused; | ||
57 | |||
58 | extern void pcm_play_dma_start(const void *addr, size_t size); | ||
59 | extern void pcm_play_dma_stop(void); | ||
60 | extern void pcm_play_pause_pause(void); | ||
61 | extern void pcm_play_pause_unpause(void); | ||
62 | |||
50 | #endif /* PCM_PLAYBACK_H */ | 63 | #endif /* PCM_PLAYBACK_H */ |