summaryrefslogtreecommitdiff
path: root/apps/replaygain.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-24 19:10:59 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-24 19:10:59 +0000
commit71ceac0b740398050af4f21b56acd5b31e2520f0 (patch)
treeda550f14a3c81f62aceae698c8b459287d201a01 /apps/replaygain.h
parent65109732230849eeb9eec2f56f9e046ad6b476c3 (diff)
downloadrockbox-71ceac0b740398050af4f21b56acd5b31e2520f0.tar.gz
rockbox-71ceac0b740398050af4f21b56acd5b31e2520f0.zip
FS#11964. Rework replaygain handling to save metadata buffer and binsize. Remove string representation of replaygain and use a dedicated ftoa implementation for WPS/screen info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29388 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/replaygain.h')
-rw-r--r--apps/replaygain.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/replaygain.h b/apps/replaygain.h
index 02ca2e0bae..4fb5476e23 100644
--- a/apps/replaygain.h
+++ b/apps/replaygain.h
@@ -25,9 +25,11 @@
25#include "metadata.h" 25#include "metadata.h"
26 26
27long get_replaygain_int(long int_gain); 27long get_replaygain_int(long int_gain);
28long parse_replaygain(const char* key, const char* value, 28void parse_replaygain(const char* key, const char* value,
29 struct mp3entry* entry, char* buffer, int length); 29 struct mp3entry* entry);
30long parse_replaygain_int(bool album, long gain, long peak, 30void parse_replaygain_int(bool album, long gain, long peak,
31 struct mp3entry* entry, char* buffer, int length); 31 struct mp3entry* entry);
32void replaygain_itoa(char* buffer, int length, long int_gain);
33long convert_gain(long gain);
32 34
33#endif 35#endif