summaryrefslogtreecommitdiff
path: root/firmware/id3.c
AgeCommit message (Collapse)Author
2007-06-05Initial commit of Monkey's Audio (.ape/.mac) support. Note that Monkey's is ↵Dave Chapman
an extremely CPU-intensive codec, and that the decoding speed is directly related to the compression level (-c1000, -c2000, -c3000, -c4000 or -c5000) used when encoding the file. Current performance is: -c1000 to -c3000 are realtime on a Gigabeat, -c1000 is realtime on Coldfire targets (H100, H300 and Cowon), and nothing is realtime on PortalPlayer targets (iPods, H10, Sansa). Hopefully this can be improved. More information at FS #7256. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13562 a1c6a512-1295-4272-9138-f99709370657
2007-03-30Correct parsing of the ID3V2 extended headerLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12970 a1c6a512-1295-4272-9138-f99709370657
2007-03-30Patch by Denis Stanishevskiy, prevent endless loop in the ID3 parserLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12968 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-03-02remove numerical genre and use genre_string consistently:Robert Kukla
- fix spurious display of "blues" genre for missing genre tag - simplify code/use less code - numerical->string conversion only once instead of at every use git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12552 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Correct spelling of CONFIG_CODEC, fixes FS#6668Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12356 a1c6a512-1295-4272-9138-f99709370657
2007-02-17FS#6651 - Improved id3 comment extraction.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12344 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
2007-02-14Adding SPC codec (FS #6542)Adam Gashlin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12298 a1c6a512-1295-4272-9138-f99709370657
2007-02-10FS#6638 - Album artist and comment patch for WPS and tagcache. ExportMiika Pekkarinen
your database before updating because initialization is needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12255 a1c6a512-1295-4272-9138-f99709370657
2007-02-10Minor whitespace and formatting fixes.Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12253 a1c6a512-1295-4272-9138-f99709370657
2007-02-09Add Speex playback support. Patch from FS #5607 thanks to Frederik Vestre.Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12241 a1c6a512-1295-4272-9138-f99709370657
2007-01-25adding NSF (NES music) codecAdam Gashlin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12112 a1c6a512-1295-4272-9138-f99709370657
2007-01-07"Trash Metal" should be "Thrash Metal". Reported as FS#6503, checked against ↵Dominik Riebeling
Winamp. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11942 a1c6a512-1295-4272-9138-f99709370657
2006-12-08Add "m4b" to the list of supported filename extensions.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11689 a1c6a512-1295-4272-9138-f99709370657
2006-11-24Recording: Add AIFF recording to SWCODEC. Note: AIFF playback chokes on ↵Michael Sevakis
sample rates other than 44.1kHz whether recorded or created and saved with an external program. Recorded files will still open in an external editor however. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11583 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-11-06AIFF is not (yet) a supported format on HWCODEC targets.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11455 a1c6a512-1295-4272-9138-f99709370657
2006-11-06Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis
SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-10-25FS#6216 Update so MP3 files are only opened once. With corrections andMiika Pekkarinen
patch cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11343 a1c6a512-1295-4272-9138-f99709370657
2006-09-25Accepted FS#6023 - ADX codec (some kind of ADPCM).Rani Hod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11046 a1c6a512-1295-4272-9138-f99709370657
2006-09-19Fixed a division by zero in mp3 metadata parser.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11003 a1c6a512-1295-4272-9138-f99709370657
2006-08-28Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with ↵Michael Sevakis
additional FM Recording support and my modifications git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10789 a1c6a512-1295-4272-9138-f99709370657
2006-07-21Re-enable parsing replaygain from ID3v2.4 TXXX fields since that's the ↵Mark Arigo
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-20Add support for parsing binary data ID3 tags. Add support for parsing RVA2 ↵Dan Everton
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-18Patch #5157 by Rainer Sinsch - SID codecDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10237 a1c6a512-1295-4272-9138-f99709370657
2006-04-17Fix red buildsBrandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9710 a1c6a512-1295-4272-9138-f99709370657
2006-04-17Add copy and adjust helper for mp3entry struct as it is 1) not copy safe and ↵Brandon Low
2) nonobvious that its not copy safe git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9709 a1c6a512-1295-4272-9138-f99709370657
2006-03-26Add TDRC tag from id3 v2.4 to fix year not showing in files tagged with id3 v2.4Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9258 a1c6a512-1295-4272-9138-f99709370657
2006-02-01Patch #1421483 - AIFF codec by Jvo StuderDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8524 a1c6a512-1295-4272-9138-f99709370657
2006-01-08Discard some LAME header fields if the file length has changed since the ↵Magnus Holmgren
header was written. Fixes some NPR podcasts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8307 a1c6a512-1295-4272-9138-f99709370657
2005-12-07Restore full support for id3v2 frames with multiple strings (like TXXX). ↵Magnus Holmgren
Makes MP3 ReplayGain work again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8196 a1c6a512-1295-4272-9138-f99709370657
2005-12-06waiting is over: initial unicode commitMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-11-27It's pronouced OggMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8085 a1c6a512-1295-4272-9138-f99709370657
2005-11-25Initial gcc4 warning cleanup (and some minor policing)Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8063 a1c6a512-1295-4272-9138-f99709370657
2005-11-11Patch #1352575 - Shorten codec from the ffmpeg project. Rockbox ↵Dave Chapman
implementation by Mark Arigo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7814 a1c6a512-1295-4272-9138-f99709370657
2005-11-11The ID3v2 parser can now correctly skip to the next frame after parsing a ↵Linus Nielsen Feltzing
frame larger than the input buffer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7811 a1c6a512-1295-4272-9138-f99709370657
2005-10-31Add AAC audio typeDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7703 a1c6a512-1295-4272-9138-f99709370657
2005-10-30Skip ID3v2 tags at the start of a FLAC file.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7689 a1c6a512-1295-4272-9138-f99709370657
2005-09-22Add ALAC audio typeDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7548 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-09Exact song length calculation for CBR mpeg audio files (without Info header).Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7502 a1c6a512-1295-4272-9138-f99709370657
2005-09-08The previous commit had a distressing lack of words. This time I deliver the ↵Jonas Häggqvist
promised Christian Gangsta Rap. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7500 a1c6a512-1295-4272-9138-f99709370657
2005-09-07Added support for additional ID3v1 genres, including such gems as "Christian ↵Jonas Häggqvist
gangsta rap" and "Negerpunk". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7499 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Restructured codec type handling a bit. Reduced code size, esp. on archos.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7443 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Corrected the codec format tableLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7442 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Fixed the WPS codec type conditional, and removed unsupported formats from ↵Linus Nielsen Feltzing
the format enum git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7441 a1c6a512-1295-4272-9138-f99709370657
2005-08-30Patch #1161046 by Bryan Vandyke - id3v2 frames with size 0 may cause rockbox ↵Linus Nielsen Feltzing
to miss tags git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7426 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-20Fixed "if there are less than 2 bytes left in the buffer, thenMiika Pekkarinen
framelen is set to 0 or -1", thanks to Frank Dischner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7361 a1c6a512-1295-4272-9138-f99709370657