Commit graph

78 commits

Author SHA1 Message Date
Thom Johansen
1129ed7faa Fix FS #7976. WMA metadata parser didn't store file size in metadata struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15150 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 20:21:02 +00:00
Magnus Holmgren
9146f20ea2 MP4 tag parser: guard against problems when the buffer is full.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15105 a1c6a512-1295-4272-9138-f99709370657
2007-10-14 13:27:01 +00:00
Magnus Holmgren
5fc117ea4e Make the FLAC metadata parser a little more robust.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15093 a1c6a512-1295-4272-9138-f99709370657
2007-10-13 11:21:10 +00:00
Daniel Stenberg
c61e462ae3 read_mp4_tag_string() may return a NULL in the pointer so no code should rely
on the pointer being valid unless the return code is checked. This lead to the
year_string being accessed with atoi() even when being NULL => crash. This
fixes FS#7937.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15080 a1c6a512-1295-4272-9138-f99709370657
2007-10-11 22:53:08 +00:00
Magnus Holmgren
c5683b3c18 Correct another copyright line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14450 a1c6a512-1295-4272-9138-f99709370657
2007-08-24 12:40:31 +00:00
Thom Johansen
1a24595446 Correct copyright line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14449 a1c6a512-1295-4272-9138-f99709370657
2007-08-24 11:11:06 +00:00
Dave Bryant
bcf97a4801 Move WavPack metadata parsing to its own file and add handling of non-standard sampling rates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14289 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 06:36:06 +00:00
Dan Everton
eecfe9f1cb Add support for grouping tags. From FS#7362.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14242 a1c6a512-1295-4272-9138-f99709370657
2007-08-08 10:19:56 +00:00
Dan Everton
60aeda07cc Fix ID3 struct member name for discnum in mp4 metadata parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14155 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 10:06:52 +00:00
Dan Everton
f4a61f0c4a Add support for parsing the disc number tag from metadata and use of it in the database. Patch originally from FS#4961 with some minor tweaks by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14154 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 10:00:42 +00:00
Michael Giacomelli
206e883e78 Initial attept at supporting Line Spectral Pairs. Various issues remain, and the ffmpeg decoder itself often fails on certain valid LSP files. Expect some issues.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14134 a1c6a512-1295-4272-9138-f99709370657
2007-08-02 04:47:33 +00:00
Magnus Holmgren
b1d07b465c MP4: Add support for comment and year tags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13998 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 11:59:48 +00:00
Magnus Holmgren
277ee08703 MP4: Fix a sign error preventing some files from playing (e.g., if tagged by MusicBrainz).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13973 a1c6a512-1295-4272-9138-f99709370657
2007-07-24 20:40:10 +00:00
Magnus Holmgren
cfe00130a8 Add support for text-format genres in .mp4 files (AAC/ALAC).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13960 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 21:16:52 +00:00
Michael Giacomelli
bc3ada265b Add incomplete support for files using noise coding but not LSP. In practice, this means files >= 20kbps will probably work, and those below will probably not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13945 a1c6a512-1295-4272-9138-f99709370657
2007-07-20 21:36:54 +00:00
Dave Chapman
fe0d92d51f Make the ASF parser reject streams which are not wmav1 or wmav2. Also restore some DEBUGF error message to indicate why a file has been rejected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13857 a1c6a512-1295-4272-9138-f99709370657
2007-07-11 23:01:18 +00:00
Dave Chapman
795401cd89 Disable the DEBUGF statements
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13841 a1c6a512-1295-4272-9138-f99709370657
2007-07-10 13:38:58 +00:00
Dave Chapman
21b90e3466 Ooops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13791 a1c6a512-1295-4272-9138-f99709370657
2007-07-04 21:07:18 +00:00
Dave Chapman
b081b94d17 Add tag parsing to the ASF metadata parser. TODO: 1) Stress test to ensure it deals correctly with very long tags and the id3v2/v2 buffers becoming full. 2) Review the entire parser and attempt to reduce the binary size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13790 a1c6a512-1295-4272-9138-f99709370657
2007-07-04 20:55:59 +00:00
Dave Chapman
14193471db The WMA decoder crashes when attempting to decode files encoded at less than 32kbps, so reject them at the metadata parsing stage. Current SVN ffmpeg can decode these files, so hopefully this can be fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13774 a1c6a512-1295-4272-9138-f99709370657
2007-07-03 14:22:56 +00:00
Dave Chapman
9cb40ea5e3 WMA clean-up commit - fix 64-bit sim warnings, set svn keywords property, and add new files to apps/FILES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13771 a1c6a512-1295-4272-9138-f99709370657
2007-07-03 10:21:23 +00:00
Dave Chapman
c72824786a Initial, work-in-progress, version of a WMA codec using Michael Giacomelli's fixed-point and malloc-less WMA decoder (based on the ffmpeg WMA decoder from early 2006, and also building on the work started by Paul Jones). The codec itself and the ASF parsing code were written by me, inspired by the ASF parser in libasf. Current performance is around 400% realtime on gigabeat, 100% realtime on PP and 20% realtime on Coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13769 a1c6a512-1295-4272-9138-f99709370657
2007-07-03 09:25:36 +00:00
Dan Everton
708ac7feb3 Support aART (album artist) MP4 atom.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13709 a1c6a512-1295-4272-9138-f99709370657
2007-06-25 11:15:44 +00:00
Dave Chapman
62dab05cc9 Correct a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13674 a1c6a512-1295-4272-9138-f99709370657
2007-06-19 19:03:37 +00:00
Marcoen Hirschberg
9e0dfa1a53 move the speex and vorbis ogg parsers together in ogg.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13642 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 22:23:07 +00:00
Dave Chapman
e5ee30ec97 Correct the (C) year
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13640 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 21:07:53 +00:00
Marcoen Hirschberg
e097b5fd62 fix build for big-endian targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13638 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 18:40:07 +00:00
Marcoen Hirschberg
2175d1edf6 split up the metadata parser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13637 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 18:19:51 +00:00