Commit graph

49 commits

Author SHA1 Message Date
Thom Johansen
c0f7eb9f9d FS #8680. MOD codec by Rainer Sinsch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17595 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 11:19:58 +00:00
Bertrik Sikken
1273f95dab Added missing header file metadata_parsers.h to metadata parsers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17308 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 07:03:59 +00:00
Bertrik Sikken
2843469876 Moved atoi declaration to stdlib.h. Deleted atoi.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17280 a1c6a512-1295-4272-9138-f99709370657
2008-04-28 16:18:04 +00:00
Michael Giacomelli
1928ecf6d6 Opps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17164 a1c6a512-1295-4272-9138-f99709370657
2008-04-18 23:19:28 +00:00
Michael Giacomelli
18cf59960f Inform the console when an unsupported WMA flavor is played.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17163 a1c6a512-1295-4272-9138-f99709370657
2008-04-18 23:18:06 +00:00
Jens Arnold
02580851ad Revert... stupid svn doesn't complain when passing -m twice :(
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:45:23 +00:00
Jens Arnold
01a106dbfa Make the measured LCD scanrates from the greylib known to the scanrate test plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:42:21 +00:00
Dave Bryant
241fd0fbdb Fixes FS #8389 (wv error). For WavPack files that don't have the length stored in the header, guess a length on the
high-side as an interim fix. This plays fine (even gapless), but the progress bar is off and seeking is a little 
weird (but usable).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16893 a1c6a512-1295-4272-9138-f99709370657
2008-03-30 19:28:31 +00:00
Jens Arnold
1f4bcc86da Revert accidental tree commit. /me needs a smaller enter key...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:57:23 +00:00
Jens Arnold
9a7978aeab Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as 24 bit BMP instead of unnecessary 32 bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:43:08 +00:00
Jens Arnold
8c6920e343 Revert accidental tree commit. Sorry for that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16574 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:50:55 +00:00
Jens Arnold
d1ed7c37b1 No need to have \n here. panicf() won't output it anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16570 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:34:43 +00:00
Robert Kukla
893551e4ed remove reference to non-existing variable to make rockbox compile with logf enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15930 a1c6a512-1295-4272-9138-f99709370657
2007-12-14 23:14:25 +00:00
Dan Everton
6fafb6cd98 Unify the Ogg Vorbis and Ogg Speex metadata parsers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15897 a1c6a512-1295-4272-9138-f99709370657
2007-12-09 03:16:26 +00:00
Dave Chapman
d44c718e23 Correct the (C) info - I committed this on 15 June 2005 - r6715
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15878 a1c6a512-1295-4272-9138-f99709370657
2007-12-05 10:26:38 +00:00
Thom Johansen
ea4fc14a7f Set proper file attributes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15875 a1c6a512-1295-4272-9138-f99709370657
2007-12-04 21:07:11 +00:00
Thom Johansen
5915736dd5 Put A52/AC3 metadata parser in its own file. Cosmetic changes in metadata.c. Remove some unneeded headers from MPC metadata parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15874 a1c6a512-1295-4272-9138-f99709370657
2007-12-04 20:48:40 +00:00
Magnus Holmgren
50ea21132b ASF/WMA: Check if the file is encrypted. If so, don't try to play it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15867 a1c6a512-1295-4272-9138-f99709370657
2007-12-02 12:52:00 +00:00
Magnus Holmgren
aee243e7d8 MPC: Simplify the ReplayGain parsing code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15864 a1c6a512-1295-4272-9138-f99709370657
2007-12-01 11:55:19 +00:00
Thom Johansen
655fa16a9d Fix FS #8251, replaygain doesn't switch to track gain mode if album gain is missing from a file, also make unused replaygain entries not be displayed in track info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15852 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 01:10:28 +00:00
Magnus Holmgren
868d3ce39c Add ReplayGain support to WMA (based on tags written by Foobar2000).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15340 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 11:09:55 +00:00
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