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)
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 @@
#include "metadata.h"
long get_replaygain_int(long int_gain);
-long parse_replaygain(const char* key, const char* value,
- struct mp3entry* entry, char* buffer, int length);
-long parse_replaygain_int(bool album, long gain, long peak,
- struct mp3entry* entry, char* buffer, int length);
+void parse_replaygain(const char* key, const char* value,
+ struct mp3entry* entry);
+void parse_replaygain_int(bool album, long gain, long peak,
+ struct mp3entry* entry);
+void replaygain_itoa(char* buffer, int length, long int_gain);
+long convert_gain(long gain);
#endif