summaryrefslogtreecommitdiff
path: root/firmware/mp3data.c (follow)
Commit message (Collapse)AuthorAge
* 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
* Add wpseditor, the Google Summer of Code 2008 project of Rostislav Chekan. ↵Frank Gevaerts2008-08-29
| | | | | | Closes FS#9327 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18362 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | 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
* Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin2008-05-05
| | | | | | tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
* Made source files #include the header file that they implement to make sure ↵Bertrik Sikken2008-05-03
| | | | | | they are in sync. Made some local functions static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
* Some more debug output disabling.Nicolas Pennequin2008-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17026 a1c6a512-1295-4272-9138-f99709370657
* Remove some more simulator debugging output.Steve Bavin2008-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17019 a1c6a512-1295-4272-9138-f99709370657
* Fix simulator builds, and some debugf() format strings.Jens Arnold2007-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
* Shave a few bytes off the binary size, especially on hwcodec targetsLinus Nielsen Feltzing2007-02-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12323 a1c6a512-1295-4272-9138-f99709370657
* Support building tagcache db natively on PC using the core of theMiika Pekkarinen2006-11-10
| | | | | | | | | 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
* When seeking, actually use the MP3 VBR TOC again, if available.Magnus Holmgren2006-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11274 a1c6a512-1295-4272-9138-f99709370657
* killed warning due to comparison signed/unsignedDaniel Stenberg2006-04-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9444 a1c6a512-1295-4272-9138-f99709370657
* Prevent two division by zeros and one problem causing a crash in theMiika Pekkarinen2006-04-02
| | | | | | | mp3 metadata parser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9438 a1c6a512-1295-4272-9138-f99709370657
* Allow bigger delay setting in LAME header.Thom Johansen2005-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7730 a1c6a512-1295-4272-9138-f99709370657
* Rather obvious simplification of the mpeg frametime fraction calculation.Jens Arnold2005-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7562 a1c6a512-1295-4272-9138-f99709370657
* Archos recording/playback: (1) Xing header creation: * Now estimates the ↵Jens Arnold2005-09-15
| | | | | | 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
* Reworked handling of MPEG audio frame & file info: * Fixed frame size ↵Jens Arnold2005-09-10
| | | | | | 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
* Archos recording: Always prepend ID3V2 and Xing header to a recording file, ↵Jens Arnold2005-09-04
| | | | | | 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
* Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold2005-08-29
| | | | | | SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
* Some slight size optimisations.Jens Arnold2005-08-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7383 a1c6a512-1295-4272-9138-f99709370657
* Support the LAME Info header too.Magnus Holmgren2005-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7313 a1c6a512-1295-4272-9138-f99709370657
* Fixed the errors.Miika Pekkarinen2005-07-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7133 a1c6a512-1295-4272-9138-f99709370657
* Applied patch "[ 1232957 ] MP3 metadata fixes for software codec".Miika Pekkarinen2005-07-05
| | | | | | | | 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
* Fixed MPEG header validation for layer 1 on iriver, and simplified it for ↵Jens Arnold2005-06-18
| | | | | | archos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6746 a1c6a512-1295-4272-9138-f99709370657
* Fixed some mp3 metadata reading performance problem. Next trackMiika Pekkarinen2005-06-12
| | | | | | | switching should be more reliable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6691 a1c6a512-1295-4272-9138-f99709370657
* Added support for reading LAME header delay and padding fields for proper ↵Thom Johansen2005-06-12
| | | | | | gapless MP3 support. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6689 a1c6a512-1295-4272-9138-f99709370657
* (1) Bugfix: create_xing_header() now returns 0 in case of an invalid header ↵Jens Arnold2005-06-04
| | | | | | 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
* mp3buf renamed to audiobufLinus Nielsen Feltzing2005-04-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
* long policyJean-Philippe Bernardy2005-01-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5712 a1c6a512-1295-4272-9138-f99709370657
* The debug output now reports the correct mpeg layerLinus Nielsen Feltzing2004-12-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5476 a1c6a512-1295-4272-9138-f99709370657
* A little more straightforward vbr header checksJens Arnold2004-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4986 a1c6a512-1295-4272-9138-f99709370657
* MP3 files with VBRI frames were parsed incorrectly, and the VBRI frame was ↵Linus Nielsen Feltzing2004-04-29
| | | | | | partly fed to the MAS, giving playback glitches git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4560 a1c6a512-1295-4272-9138-f99709370657
* Slightly improved VBR fixer, now uses the same template header throughout ↵Linus Nielsen Feltzing2004-01-13
| | | | | | the entire file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4225 a1c6a512-1295-4272-9138-f99709370657
* Internal code cleanup - the header template is not taken from the stream if ↵Linus Nielsen Feltzing2003-12-28
| | | | | | a template header is passed to create_xing_header() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4180 a1c6a512-1295-4272-9138-f99709370657
* Frame-accurate file splits when recording. Now the PLAY button closes the ↵Linus Nielsen Feltzing2003-11-02
| | | | | | current file and opens a new one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3998 a1c6a512-1295-4272-9138-f99709370657
* Even larger MP3 frame analysis buffer. Fixes bug #747969.Linus Nielsen Feltzing2003-06-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3721 a1c6a512-1295-4272-9138-f99709370657
* this should be using unsigned, to allow a full 4GB file, just in caseDaniel Stenberg2003-05-19
| | | | | | | everything else does git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3686 a1c6a512-1295-4272-9138-f99709370657
* Stevie Oh's patch #739898 that corrects how vbrfix works on large files.Daniel Stenberg2003-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3685 a1c6a512-1295-4272-9138-f99709370657
* Configurable dir browser file buffer size. No more 400-file limit. No more ↵Linus Nielsen Feltzing2003-05-09
| | | | | | whining. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
* Fixed compiler error on debug buildsLinus Nielsen Feltzing2003-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3573 a1c6a512-1295-4272-9138-f99709370657
* Xing headers now support mono better, added the 'editable files' optionLinus Nielsen Feltzing2003-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3572 a1c6a512-1295-4272-9138-f99709370657
* Stupid compiler...Linus Nielsen Feltzing2003-04-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3570 a1c6a512-1295-4272-9138-f99709370657
* Removed a warningLinus Nielsen Feltzing2003-04-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3568 a1c6a512-1295-4272-9138-f99709370657
* Better generation of Xing headers, now they contain the correct MPEG version ↵Linus Nielsen Feltzing2003-04-19
| | | | | | and sample rate info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3567 a1c6a512-1295-4272-9138-f99709370657
* Increased the buffer size for get_mp3file_info(). This is supposed to fix ↵Linus Nielsen Feltzing2003-04-19
| | | | | | bugs #722233, #722521 and #723922 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3566 a1c6a512-1295-4272-9138-f99709370657
* Changed some debug outputLinus Nielsen Feltzing2003-04-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3547 a1c6a512-1295-4272-9138-f99709370657
* The Xing flag word wasn't correctly generatedLinus Nielsen Feltzing2003-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3495 a1c6a512-1295-4272-9138-f99709370657
* Reverted last changeLinus Nielsen Feltzing2003-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3493 a1c6a512-1295-4272-9138-f99709370657
* Don't fail on bitrate 0. Our own recordings have bitrate 0...Björn Stenberg2003-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3492 a1c6a512-1295-4272-9138-f99709370657
* The frame buffer was too small for 320kbit/s framesLinus Nielsen Feltzing2003-03-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3446 a1c6a512-1295-4272-9138-f99709370657