path: root/firmware/export/pcm_playback.h
diff options
authorMichael Sevakis <>2006-11-29 14:23:24 +0000
committerMichael Sevakis <>2006-11-29 14:23:24 +0000
commit7d00f97460823a3ddf80d4cab14fecf605ba3690 (patch)
treeec76a76253f6857e3ad571b385dadef2c43dc8d1 /firmware/export/pcm_playback.h
parent077ed4925ef6954eb7f4626e153f89dda5df0731 (diff)
PCM: A few tiny changes. 1) Recording a) Flush all pending files if filename queue is full or else perpetual flushing of 1 will occur at low bitrates and short split times. b) #ifdef out currently unused bits and save little less than 1/2K 2) Cleanup some declarations.
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pcm_playback.h')
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);
bool pcm_is_paused(void);
bool pcm_is_playing(void);
+/** The following are for internal use between pcm_playback.c and target-
+ specific portion **/
+/* the registered callback function to ask for more mp3 data */
+extern volatile pcm_more_callback_type pcm_callback_for_more;
+extern volatile bool pcm_playing;
+extern volatile bool pcm_paused;
+extern void pcm_play_dma_start(const void *addr, size_t size);
+extern void pcm_play_dma_stop(void);
+extern void pcm_play_pause_pause(void);
+extern void pcm_play_pause_unpause(void);
#endif /* PCM_PLAYBACK_H */