summaryrefslogtreecommitdiff
path: root/apps/mp3data.c (follow)
Commit message (Collapse)AuthorAge
* Fix the Xing header parser to have reliable gapless playback. Closes FS#12062.Andree Buschmann2011-04-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29708 a1c6a512-1295-4272-9138-f99709370657
* Optimize memory consumption in the mp3data parser. The vbr-header parser ↵Andree Buschmann2011-03-18
| | | | | | will never need 1.800 byte of data. The maximum amount of data needed is 1/10 of this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29610 a1c6a512-1295-4272-9138-f99709370657
* Local implementation of read_uint32be() in mp3data.c needs a major correction.Andree Buschmann2011-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29609 a1c6a512-1295-4272-9138-f99709370657
* Avoid magic numbers. Use the available defines to set up the bit mask to ↵Andree Buschmann2011-03-16
| | | | | | compare MPEG frame headers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29607 a1c6a512-1295-4272-9138-f99709370657
* Hopefully fix red now and reduce binsize for HWCODEC targets. This change ↵Andree Buschmann2011-03-16
| | | | | | implements a local read_uint32be() function within the mp3data parser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29606 a1c6a512-1295-4272-9138-f99709370657
* More robust implementation of MPEG frame header search. The parser will not ↵Andree Buschmann2011-03-16
| | | | | | only search for the very first byte sequence that looks like a valid MPEG frame header. It will search for a valid MPEG frame header sequence, decode it, and probe if there is a consecutive MPEG frame header of the same type (MPEG version, layer, sampling frequency) at the expected position. This approach will reduce false detection of MPEG frame headers in case of errorous metadata or garbaged files. Fixes FS#12007. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29603 a1c6a512-1295-4272-9138-f99709370657
* Add up skipped bytes when parsing for valid MPEG headers.Andree Buschmann2011-03-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29583 a1c6a512-1295-4272-9138-f99709370657
* Refactor reading of Xing/Info/Vbri tags to prepare for further changes.Andree Buschmann2011-03-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29582 a1c6a512-1295-4272-9138-f99709370657
* Remove some useless code and variables in the area of metadata parsing. Bump ↵Andree Buschmann2011-02-27
| | | | | | codec API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29438 a1c6a512-1295-4272-9138-f99709370657
* Ensure proper initialization of some variables and arrays in metadata ↵Andree Buschmann2011-02-17
| | | | | | parsing. Fixes FS#11948. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29323 a1c6a512-1295-4272-9138-f99709370657
* Reduce excessive debug output during mp3 parsing.Thomas Martitz2011-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29191 a1c6a512-1295-4272-9138-f99709370657
* get_mp3file_info(): Use the correct printf format in DEBUGF()Rafaël Carré2010-09-19
| | | | | | Also remove useless parens and casts in bytes2int() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28115 a1c6a512-1295-4272-9138-f99709370657
* get_mp3file_info(): remove unused variableRafaël Carré2010-09-19
| | | | | | frames_per_entry is only used for debugging git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28109 a1c6a512-1295-4272-9138-f99709370657
* Remove more tabsAndree Buschmann2010-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24550 a1c6a512-1295-4272-9138-f99709370657
* Quick fix to allow certain MP3 files to play. If a Xing or Info header ↵Magnus Holmgren2009-09-03
| | | | | | didn't properly set both the frame count and byte count, then the bitrate was set to zero, preventing playback. Better to use the bitrate of the first audio frame in this case. (More sanity checking of the frame count should perhaps be done.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22611 a1c6a512-1295-4272-9138-f99709370657
* Split id3.c/h into metadata.c/h and metadata/mp3.c. Updated all references. ↵Björn Stenberg2008-10-15
Moved mp3data.c/h from firmware to apps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18814 a1c6a512-1295-4272-9138-f99709370657