summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-08-20 11:13:19 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-08-20 11:13:19 +0000
commit159c52dd36e5c008612458192904f57ea6dfdfad (patch)
tree4b6f7d8329069e90d72284ef73ba542d75705b55 /apps/pcmbuf.h
parent329caa8ade0b78a3235e9d28983cb1c506e573a0 (diff)
downloadrockbox-159c52dd36e5c008612458192904f57ea6dfdfad.tar.gz
rockbox-159c52dd36e5c008612458192904f57ea6dfdfad.tar.bz2
rockbox-159c52dd36e5c008612458192904f57ea6dfdfad.zip
Initial voice ui support for software codec platforms. Added also a
beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.h')
-rw-r--r--apps/pcmbuf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/pcmbuf.h b/apps/pcmbuf.h
index 6381dbc27e..f2533defe6 100644
--- a/apps/pcmbuf.h
+++ b/apps/pcmbuf.h
@@ -36,6 +36,7 @@ void pcmbuf_set_watermark(int numbytes, void (*callback)(int bytes_left));
void pcmbuf_set_boost_mode(bool state);
bool pcmbuf_is_lowdata(void);
void pcmbuf_flush_audio(void);
+void pcmbuf_play_start(void);
bool pcmbuf_crossfade_init(int type);
void pcmbuf_add_event(void (*event_handler)(void));
unsigned int pcmbuf_get_latency(void);
@@ -45,4 +46,10 @@ void* pcmbuf_request_buffer(long length, long *realsize);
bool pcmbuf_is_crossfade_enabled(void);
void pcmbuf_crossfade_enable(bool on_off);
+int pcmbuf_usage(void);
+int pcmbuf_mix_usage(void);
+void pcmbuf_beep(int frequency, int duration, int amplitude);
+void pcmbuf_reset_mixpos(void);
+void pcmbuf_mix(char *buf, long length);
+
#endif