forked from len0rd/rockbox
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
This commit is contained in:
parent
cc377d5d18
commit
84d6f9e89b
3 changed files with 97 additions and 31 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue