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) |
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 @@ #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 |