diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-02-24 19:10:59 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-02-24 19:10:59 +0000 |
commit | 71ceac0b740398050af4f21b56acd5b31e2520f0 (patch) | |
tree | da550f14a3c81f62aceae698c8b459287d201a01 /apps/replaygain.h | |
parent | 65109732230849eeb9eec2f56f9e046ad6b476c3 (diff) | |
download | rockbox-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.h | 10 |
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 | ||
27 | long get_replaygain_int(long int_gain); | 27 | long get_replaygain_int(long int_gain); |
28 | long parse_replaygain(const char* key, const char* value, | 28 | void parse_replaygain(const char* key, const char* value, |
29 | struct mp3entry* entry, char* buffer, int length); | 29 | struct mp3entry* entry); |
30 | long parse_replaygain_int(bool album, long gain, long peak, | 30 | void parse_replaygain_int(bool album, long gain, long peak, |
31 | struct mp3entry* entry, char* buffer, int length); | 31 | struct mp3entry* entry); |
32 | void replaygain_itoa(char* buffer, int length, long int_gain); | ||
33 | long convert_gain(long gain); | ||
32 | 34 | ||
33 | #endif | 35 | #endif |