Commit graph

10 commits

Author SHA1 Message Date
Magnus Holmgren
cdfb22f9df Remove some debug code. Remove some unnecessary checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14454 a1c6a512-1295-4272-9138-f99709370657
2007-08-25 10:56:22 +00:00
Magnus Holmgren
4e68732769 Small ReplayGain cleanup. Move RVA2 specific code to id3.c and don't do the parsing via strings. Generalize parts of the code for later use by MPC. Make some local functions static. Add and update some comments for clarity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14453 a1c6a512-1295-4272-9138-f99709370657
2007-08-25 10:25:13 +00:00
Thom Johansen
af743c2bd6 Remove unneeded zero checks from convert_gain() and get_replaygain_int(). These functions return correct results without them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12459 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 12:22:17 +00:00
Mark Arigo
b50e8935e1 Re-enable parsing replaygain from ID3v2.4 TXXX fields since that's the default for foobar2000 0.9, however, give the RVA2 field priority
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10277 a1c6a512-1295-4272-9138-f99709370657
2006-07-21 20:15:01 +00:00
Dan Everton
7b5af8c045 Add support for parsing binary data ID3 tags. Add support for parsing RVA2 ID3 tags for replaygain values instead of TXXX tags when playing files tagged with ID3v2.4. Patch by psyche78 (task #2937)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10259 a1c6a512-1295-4272-9138-f99709370657
2006-07-20 10:35:20 +00:00
Thom Johansen
ba08767434 Allow lower cuts than -23 dB, since the code seems to work then anyway.
This is needed by both EQ pre-cut and new crossfeed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9538 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 20:33:35 +00:00
Magnus Holmgren
4bf7373b88 iRiver: remove some code that isn't needed any more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7578 a1c6a512-1295-4272-9138-f99709370657
2005-10-03 18:35:02 +00:00
Magnus Holmgren
5a8eac1a5a Added pre-amp setting for files with ReplayGain information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7303 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 18:56:20 +00:00
Magnus Holmgren
988ea2cffc Added support for ID3V2 ReplayGain tags (as written by Foobar). Generalized the replaygain tag parsing a bit, to cut down the code size (APE tags should use this as well, but as it requires larger changes, it will have to wait for another commit). Also fixed a bug in the ID3V2 parser; ISO-8859-1 strings could confuse the main parsing loop (causing bufferpos to come out of sync).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7243 a1c6a512-1295-4272-9138-f99709370657
2005-07-27 11:54:33 +00:00
Magnus Holmgren
6bd8e5db08 ReplayGain support files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7233 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:25:13 +00:00