summaryrefslogtreecommitdiffstats
path: root/firmware/export/pcm_playback.h
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-28 00:00:24 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-28 00:00:24 +0000
commit451dd48adc2ef29fd2f900693393cc9b9b4a849b (patch)
treee15d20e602261866617210bde007966ce9b19293 /firmware/export/pcm_playback.h
parent853bc3dcf85aa1284a0e5b550277c40beb7697a9 (diff)
downloadrockbox-451dd48adc2ef29fd2f900693393cc9b9b4a849b.tar.gz
rockbox-451dd48adc2ef29fd2f900693393cc9b9b4a849b.zip
Sound api improvements, rockboy sound, contributed by xshock.
Playback of sound currently only works in boost mode, needs fixing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 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 c44fb283ec..6010293bbd 100644
--- a/firmware/export/pcm_playback.h
+++ b/firmware/export/pcm_playback.h
@@ -19,9 +19,11 @@
#ifndef PCM_PLAYBACK_H
#define PCM_PLAYBACK_H
+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);
bool pcm_is_playing(void);
+void pcm_set_volume(int volume);
#endif