summaryrefslogtreecommitdiffstats
path: root/firmware/export/pcm_playback.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-06-29 20:50:58 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-06-29 20:50:58 +0000
commit84d6f9e89bf1bae7e3669e487541f91f27a86b0a (patch)
tree29b26568e10f3bf57ef5f334fdfc96ef43102ab4 /firmware/export/pcm_playback.h
parentcc377d5d18534c57d091e04573956c9b747b4ab6 (diff)
downloadrockbox-84d6f9e89bf1bae7e3669e487541f91f27a86b0a.tar.gz
rockbox-84d6f9e89bf1bae7e3669e487541f91f27a86b0a.zip
Fixed slow track switching and track pre-buffering. Fixed rockboy
crash while audio is playing. Some buffering adjustments made. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6930 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 07e33e96bf..554e975354 100644
--- a/firmware/export/pcm_playback.h
+++ b/firmware/export/pcm_playback.h
@@ -35,6 +35,7 @@ void pcm_play_data(const unsigned char* start, int size,
void pcm_play_stop(void);
void pcm_play_pause(bool play);
bool pcm_is_playing(void);
+bool pcm_is_crossfade_active(void);
/* These functions are for playing chained buffers of PCM data */
void pcm_play_init(void);
@@ -45,6 +46,7 @@ void pcm_play_set_watermark(int numbytes, void (*callback)(int bytes_left));
void pcm_set_boost_mode(bool state);
bool pcm_is_lowdata(void);
+void pcm_flush_buffer(long length);
bool pcm_crossfade_init(void);
void audiobuffer_add_event(void (*event_handler)(void));
unsigned int audiobuffer_get_latency(void);