summaryrefslogtreecommitdiffstats
path: root/firmware/export/pcm_playback.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-03-31 06:49:10 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-03-31 06:49:10 +0000
commit928beee0d1b05e0c403288d9cd6a4122c4640223 (patch)
tree63db67be1faaf8ad67df3b94cbca1e824ac9145c /firmware/export/pcm_playback.h
parent1e77c70b32e488bd0459a6bcd8e7a2f8677ec659 (diff)
downloadrockbox-928beee0d1b05e0c403288d9cd6a4122c4640223.tar.gz
rockbox-928beee0d1b05e0c403288d9cd6a4122c4640223.zip
iRiver: Major PCM DMA code cleanup, added pcm_init() and pcm_play_pause()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6234 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pcm_playback.h')
-rw-r--r--firmware/export/pcm_playback.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/pcm_playback.h b/firmware/export/pcm_playback.h
index 6010293bbd..f6612095e0 100644
--- a/firmware/export/pcm_playback.h
+++ b/firmware/export/pcm_playback.h
@@ -19,10 +19,12 @@
#ifndef PCM_PLAYBACK_H
#define PCM_PLAYBACK_H
+void pcm_init(void);
void pcm_set_frequency(unsigned int frequency);
void pcm_play_data(const unsigned char* start, int size,
void (*get_more)(unsigned char** start, long* size));
void pcm_play_stop(void);
+void pcm_play_pause(bool play);
bool pcm_is_playing(void);
void pcm_set_volume(int volume);