diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-11-29 14:23:24 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-11-29 14:23:24 +0000 |
commit | 7d00f97460823a3ddf80d4cab14fecf605ba3690 (patch) | |
tree | ec76a76253f6857e3ad571b385dadef2c43dc8d1 /firmware/export/pcm_playback.h | |
parent | 077ed4925ef6954eb7f4626e153f89dda5df0731 (diff) | |
download | rockbox-7d00f97460823a3ddf80d4cab14fecf605ba3690.tar.gz rockbox-7d00f97460823a3ddf80d4cab14fecf605ba3690.zip |
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://svn.rockbox.org/rockbox/trunk@11623 a1c6a512-1295-4272-9138-f99709370657
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); 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 */ |