summaryrefslogtreecommitdiff
path: root/firmware/export/pcm_playback.h
diff options
context:
space:
mode:
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,
35void pcm_play_stop(void); 35void pcm_play_stop(void);
36void pcm_play_pause(bool play); 36void pcm_play_pause(bool play);
37bool pcm_is_playing(void); 37bool pcm_is_playing(void);
38bool pcm_is_crossfade_active(void);
38 39
39/* These functions are for playing chained buffers of PCM data */ 40/* These functions are for playing chained buffers of PCM data */
40void pcm_play_init(void); 41void pcm_play_init(void);
@@ -45,6 +46,7 @@ void pcm_play_set_watermark(int numbytes, void (*callback)(int bytes_left));
45 46
46void pcm_set_boost_mode(bool state); 47void pcm_set_boost_mode(bool state);
47bool pcm_is_lowdata(void); 48bool pcm_is_lowdata(void);
49void pcm_flush_buffer(long length);
48bool pcm_crossfade_init(void); 50bool pcm_crossfade_init(void);
49void audiobuffer_add_event(void (*event_handler)(void)); 51void audiobuffer_add_event(void (*event_handler)(void));
50unsigned int audiobuffer_get_latency(void); 52unsigned int audiobuffer_get_latency(void);