summaryrefslogtreecommitdiffstats
path: root/firmware/export/pcm_playback.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-07-17 19:29:02 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-07-17 19:29:02 +0000
commite9919342c558bc6b1f843bbc6e900c5ef540ee8f (patch)
treed092164b82b50ca660652cf7207d61b7b703b494 /firmware/export/pcm_playback.h
parent170bb8eb78703bd6f2ae951e2292c89ae7565a29 (diff)
downloadrockbox-e9919342c558bc6b1f843bbc6e900c5ef540ee8f.tar.gz
rockbox-e9919342c558bc6b1f843bbc6e900c5ef540ee8f.zip
Initial attempt to support peak meter on iriver. It still has some
strange behaviour and readings might not be correct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7182 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 3f0b5eee86..6222574ed8 100644
--- a/firmware/export/pcm_playback.h
+++ b/firmware/export/pcm_playback.h
@@ -25,6 +25,8 @@ void pcm_set_frequency(unsigned int frequency);
/* This is for playing "raw" PCM data */
void pcm_play_data(void (*get_more)(unsigned char** start, long* size));
+void pcm_calculate_peaks(int *left, int *right);
+
void pcm_play_stop(void);
void pcm_play_pause(bool play);
bool pcm_is_paused(void);