summaryrefslogtreecommitdiff
path: root/apps/metadata.c
AgeCommit message (Collapse)Author
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-08Update libwavpack with latest changes from the tiny_encoder. This allowsDave Bryant
playback of floating-point audio files, fixes a obscure decoding bug, and improves encoding speed somewhat. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11944 a1c6a512-1295-4272-9138-f99709370657
2006-12-29Some minor code cleanup.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11854 a1c6a512-1295-4272-9138-f99709370657
2006-12-12More static'ing, and a few fixes resulting from that.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
2006-12-07AAC/ALAC: Fix display of ReplayGain values (e.g., in the ID3 Info screen).Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11683 a1c6a512-1295-4272-9138-f99709370657
2006-12-07AAC codec: accept M4B files.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11681 a1c6a512-1295-4272-9138-f99709370657
2006-11-25Fixed header parsing in AIFF. The minimum header size is 54 bytes for an ↵Michael Sevakis
audio file. SSND chunk block_size and offset are 32-bit values, not 16-bit; this bug would probably never even matter since most sound data isn't block aligned. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11596 a1c6a512-1295-4272-9138-f99709370657
2006-11-23Read frequency in MP4/AAC files from a different place, if available. Should ↵Magnus Holmgren
fix the problem with wrong playback speed for non-44.1kHz files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11579 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Made the PSID metadata parser a little less trusting of its input.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11500 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Enable all Rockbox supported formats for the database command lineMiika Pekkarinen
utility. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11499 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-29Moved the Ogg zero-length check to a better place. Also fixed so that really ↵Magnus Holmgren
short files (< 1s) doesn't trigger the same problem. Applied the fixes on most other susceptible formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11387 a1c6a512-1295-4272-9138-f99709370657
2006-10-29Fixed division by zero in ogg metadata parser and crash when buildingMiika Pekkarinen
tagcache (FS#6099). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11386 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-10-11More flexible MP4 file metadata parser.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11189 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-01Fixed metadata parser to allow playback of self-extracting WavPack files andDave Bryant
also prevent playback of WavPack files with floating-point audio data. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10850 a1c6a512-1295-4272-9138-f99709370657
2006-09-01Support for Musepack SV4-6 stream files. Patch by Andrew Cupper.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10843 a1c6a512-1295-4272-9138-f99709370657
2006-08-26Prevent an endless loop in some m4a files (looks like a crash whenMiika Pekkarinen
initializing tagcache). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10755 a1c6a512-1295-4272-9138-f99709370657
2006-07-18Oops - get_sid_metadata() isn't needed for hwcodec (fix warning).Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10238 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-06-27Fix for wav files where the fmt chunk is not close to the start of the fileAdam Boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10149 a1c6a512-1295-4272-9138-f99709370657
2006-05-20Fix bug 4916: Short Vorbis files won't play.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9969 a1c6a512-1295-4272-9138-f99709370657
2006-05-01Applied patch 2917: Fix retrieval of total sample count in get_vorbis_metadata.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9850 a1c6a512-1295-4272-9138-f99709370657
2006-04-11Minor fix to metadata fetching, the track-info.filesize is not populated at ↵Brandon Low
this point git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9600 a1c6a512-1295-4272-9138-f99709370657
2006-03-26Initial version of tagcache! There are still some bugs in the engineMiika Pekkarinen
and much more problems with the UI. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
2006-03-05Musepack files are always VBR.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8910 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
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-12-01Set appropriate codec type for .m4a files (ALAC or AAC) inside ↵Dave Chapman
get_metadata(). probe_file_format() is no longer an exported function. Make get_metadata() return false if it can not read the metadata - on the assumption that the codec will also fail. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8118 a1c6a512-1295-4272-9138-f99709370657
2005-12-01iRiver: Fixed several problems with playback on track skipping & loading:Miika Pekkarinen
* Correctly detecting codec type from metadata. * Skipping incorrect tracks correctly if there are more than one unloadable track. * Fixed internal ram skipping when codec switching is required. * Fixed hang if no files in playlist is playable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8116 a1c6a512-1295-4272-9138-f99709370657
2005-11-13Shorten updates from Mark Arigo: calculate average bitrate, skip id3v2 tags ↵Dave Chapman
and remove debugf definition from codec git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7840 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-05Added ID3v2 skipping for Musepack files. Switched ReplayGain strings to use ↵Thom Johansen
toc buffer instead of id3v2buf, since the last collided with the APE tag reading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7757 a1c6a512-1295-4272-9138-f99709370657
2005-11-04Added proper metadata parsing for musepack files, including ReplayGain.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7752 a1c6a512-1295-4272-9138-f99709370657
2005-11-02Make the m4a parser happier with Nero-encoded .mp4 files. This still needs ↵Dave Chapman
more work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7728 a1c6a512-1295-4272-9138-f99709370657
2005-10-31Initial check-in of AAC codec. Currently only recognises the .mp4 extension ↵Dave Chapman
and is not yet capable of realtime operation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7706 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-10-22Seeking support for AC3/A52 files. We assume they are always CBR.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7650 a1c6a512-1295-4272-9138-f99709370657
2005-10-10Not finding an APE tag for a Musepack file isn't fatal.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7618 a1c6a512-1295-4272-9138-f99709370657
2005-10-10Added support for APE tags in Musepack files.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7609 a1c6a512-1295-4272-9138-f99709370657
2005-10-06Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - ↵Dave Chapman
letoh16, letoh32, htole16, htole32, betoh16, betoh32, htobe16 and htobe32 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7584 a1c6a512-1295-4272-9138-f99709370657
2005-09-27Fix the read_uint32be function - it was overwriting before saving parts of ↵Jonas Häggqvist
the int. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7565 a1c6a512-1295-4272-9138-f99709370657
2005-09-24Deal with new "edts" tag in iTunes 5 encoded files - this fixes metadata ↵Dave Chapman
reading and seeking in new ALAC files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7555 a1c6a512-1295-4272-9138-f99709370657
2005-09-22Fix bug in read_uint32be causing simulator warningDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7550 a1c6a512-1295-4272-9138-f99709370657
2005-09-22First version of ALAC (Apple Lossless) decoderDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7547 a1c6a512-1295-4272-9138-f99709370657
2005-09-22iriver: proper wav file handling by Frederic Devernay (patch #1245261). ↵Magnus Holmgren
Adapted the metadata part to the new metadata.c, and did a few minor changes in the codec. Some of the file format checks in the codec should IMHO be moved to metadata.c, but I left that for later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7542 a1c6a512-1295-4272-9138-f99709370657
2005-09-22iriver: Metadata code cleanup: 1) Remove 4k static buffer. 2) Generalized ↵Magnus Holmgren
tag parsing, so APE and Vorbis tags can share some code. 3) Code size reduction (800+ bytes). 4) Better UTF-8 parser (I hope...). 5) More consistent return value on errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7539 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-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