summaryrefslogtreecommitdiff
path: root/firmware/mp3data.c
AgeCommit message (Collapse)Author
2008-08-29Add wpseditor, the Google Summer of Code 2008 project of Rostislav Chekan. ↵Frank Gevaerts
Closes FS#9327 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18362 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin
tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-03Made source files #include the header file that they implement to make sure ↵Bertrik Sikken
they are in sync. Made some local functions static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Some more debug output disabling.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17026 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Remove some more simulator debugging output.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17019 a1c6a512-1295-4272-9138-f99709370657
2007-03-17Fix simulator builds, and some debugf() format strings.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
2007-02-15Shave a few bytes off the binary size, especially on hwcodec targetsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12323 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Support building tagcache db natively on PC using the core of theMiika Pekkarinen
Rockbox tagcache database engine. Only host endian support at the moment and no command line parameters. Mainly for developers for debugging at the moment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
2006-10-19When seeking, actually use the MP3 VBR TOC again, if available.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11274 a1c6a512-1295-4272-9138-f99709370657
2006-04-02killed warning due to comparison signed/unsignedDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9444 a1c6a512-1295-4272-9138-f99709370657
2006-04-02Prevent two division by zeros and one problem causing a crash in theMiika Pekkarinen
mp3 metadata parser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9438 a1c6a512-1295-4272-9138-f99709370657
2005-11-02Allow bigger delay setting in LAME header.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7730 a1c6a512-1295-4272-9138-f99709370657
2005-09-25Rather obvious simplification of the mpeg frametime fraction calculation.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7562 a1c6a512-1295-4272-9138-f99709370657
2005-09-15Archos recording/playback: (1) Xing header creation: * Now estimates the ↵Jens Arnold
framecount from the recording time if the MAS frame counter saturates, so it always writes a valid Xing header. * Reverted my brainless short-xing-header change. This was only valid for layer 3. (2) Xing/VBRI header evaluation: Fixed possible overflow in bitrate calculation. (3) MPEG thread: Avoid double chunk size limiting for the rare case of 8 MB modded Ondios. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7522 a1c6a512-1295-4272-9138-f99709370657
2005-09-10Reworked handling of MPEG audio frame & file info: * Fixed frame size ↵Jens Arnold
calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657
2005-09-04Archos recording: Always prepend ID3V2 and Xing header to a recording file, ↵Jens Arnold
even with prerecording and file splitting. Adjusted Xing header creation to create smaller headers. Fixed missing break; in the mpeg thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7472 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-22Some slight size optimisations.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7383 a1c6a512-1295-4272-9138-f99709370657
2005-08-13Support the LAME Info header too.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7313 a1c6a512-1295-4272-9138-f99709370657
2005-07-13Fixed the errors.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7133 a1c6a512-1295-4272-9138-f99709370657
2005-07-05Applied patch "[ 1232957 ] MP3 metadata fixes for software codec".Miika Pekkarinen
Thanks to Magnus Holmgren. Now metadata reading is better with improved performance for mp3 files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7030 a1c6a512-1295-4272-9138-f99709370657
2005-06-18Fixed MPEG header validation for layer 1 on iriver, and simplified it for ↵Jens Arnold
archos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6746 a1c6a512-1295-4272-9138-f99709370657
2005-06-12Fixed some mp3 metadata reading performance problem. Next trackMiika Pekkarinen
switching should be more reliable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6691 a1c6a512-1295-4272-9138-f99709370657
2005-06-12Added support for reading LAME header delay and padding fields for proper ↵Thom Johansen
gapless MP3 support. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6689 a1c6a512-1295-4272-9138-f99709370657
2005-06-04(1) Bugfix: create_xing_header() now returns 0 in case of an invalid header ↵Jens Arnold
template, i.e. when mp3headerinfo() returns false. It used to return a random number, causing all sorts of problems. This was the cause for the end of a recording (still in the buffer) occasionally overwriting the beginning. (2) Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6557 a1c6a512-1295-4272-9138-f99709370657
2005-04-05mp3buf renamed to audiobufLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-01-30long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5712 a1c6a512-1295-4272-9138-f99709370657
2004-12-01The debug output now reports the correct mpeg layerLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5476 a1c6a512-1295-4272-9138-f99709370657
2004-08-03A little more straightforward vbr header checksJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4986 a1c6a512-1295-4272-9138-f99709370657
2004-04-29MP3 files with VBRI frames were parsed incorrectly, and the VBRI frame was ↵Linus Nielsen Feltzing
partly fed to the MAS, giving playback glitches git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4560 a1c6a512-1295-4272-9138-f99709370657
2004-01-13Slightly improved VBR fixer, now uses the same template header throughout ↵Linus Nielsen Feltzing
the entire file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4225 a1c6a512-1295-4272-9138-f99709370657
2003-12-28Internal code cleanup - the header template is not taken from the stream if ↵Linus Nielsen Feltzing
a template header is passed to create_xing_header() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4180 a1c6a512-1295-4272-9138-f99709370657
2003-11-02Frame-accurate file splits when recording. Now the PLAY button closes the ↵Linus Nielsen Feltzing
current file and opens a new one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3998 a1c6a512-1295-4272-9138-f99709370657
2003-06-03Even larger MP3 frame analysis buffer. Fixes bug #747969.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3721 a1c6a512-1295-4272-9138-f99709370657
2003-05-19this should be using unsigned, to allow a full 4GB file, just in caseDaniel Stenberg
everything else does git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3686 a1c6a512-1295-4272-9138-f99709370657
2003-05-19Stevie Oh's patch #739898 that corrects how vbrfix works on large files.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3685 a1c6a512-1295-4272-9138-f99709370657
2003-05-09Configurable dir browser file buffer size. No more 400-file limit. No more ↵Linus Nielsen Feltzing
whining. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-04-20Fixed compiler error on debug buildsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3573 a1c6a512-1295-4272-9138-f99709370657
2003-04-20Xing headers now support mono better, added the 'editable files' optionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3572 a1c6a512-1295-4272-9138-f99709370657
2003-04-19Stupid compiler...Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3570 a1c6a512-1295-4272-9138-f99709370657
2003-04-19Removed a warningLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3568 a1c6a512-1295-4272-9138-f99709370657
2003-04-19Better generation of Xing headers, now they contain the correct MPEG version ↵Linus Nielsen Feltzing
and sample rate info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3567 a1c6a512-1295-4272-9138-f99709370657
2003-04-19Increased the buffer size for get_mp3file_info(). This is supposed to fix ↵Linus Nielsen Feltzing
bugs #722233, #722521 and #723922 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3566 a1c6a512-1295-4272-9138-f99709370657
2003-04-13Changed some debug outputLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3547 a1c6a512-1295-4272-9138-f99709370657
2003-03-24The Xing flag word wasn't correctly generatedLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3495 a1c6a512-1295-4272-9138-f99709370657
2003-03-24Reverted last changeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3493 a1c6a512-1295-4272-9138-f99709370657
2003-03-24Don't fail on bitrate 0. Our own recordings have bitrate 0...Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3492 a1c6a512-1295-4272-9138-f99709370657
2003-03-15The frame buffer was too small for 320kbit/s framesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3446 a1c6a512-1295-4272-9138-f99709370657
2003-03-10Don't accidentally add Xing headers to CBR filesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3419 a1c6a512-1295-4272-9138-f99709370657