Michael Giacomelli
b3f38bcf63
Correct mistake in the RealMedia parser that prevented rejecting files with unsupported codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28788 a1c6a512-1295-4272-9138-f99709370657
2010-12-11 00:59:57 +00:00
Dave Bryant
809e61b373
remove a little redundant code from the WavPack metadata module to partially make up for the code just added
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28738 a1c6a512-1295-4272-9138-f99709370657
2010-12-05 22:01:28 +00:00
Dave Bryant
516693fcc9
make WavPack library check the extent of the block that it is parsing so that it cannot run into the next block; also enhance the metadata code to handle the case of files with non-audio blocks at the beginning (which can happen if the source WAV file has lots of RIFF data)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28736 a1c6a512-1295-4272-9138-f99709370657
2010-12-05 19:25:32 +00:00
Thomas Martitz
9393e4c24b
Change how all the metadata parsers are read from a giant swich/case to function pointers via array index. Also unify the api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28672 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 18:02:50 +00:00
Bertrik Sikken
0d100b4dd8
Fix FS# 11414 : .mod files - metadata in incorrect fields
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28228 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 10:24:50 +00:00
Torne Wuff
918e895c12
id3 parser: also add id3v2.2 TCM tag for "composer" since that's the only other tag not in there in 2.2 and 2.3 versions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28182 a1c6a512-1295-4272-9138-f99709370657
2010-09-28 19:46:15 +00:00
Torne Wuff
f018fbbe18
id3 parser: add id3v2.2 TPA tag for "part of set" as iTunes appears to use it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28181 a1c6a512-1295-4272-9138-f99709370657
2010-09-28 19:39:35 +00:00
Rafaël Carré
7c339c937a
parse_sap_header(): remove write-only variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28132 a1c6a512-1295-4272-9138-f99709370657
2010-09-21 08:25:46 +00:00
Rafaël Carré
37c1192753
ASAP parse_sap_header() : remove write only variables
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28111 a1c6a512-1295-4272-9138-f99709370657
2010-09-19 08:16:56 +00:00
Rafaël Carré
f03141477a
setid3v2title(): unused variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28110 a1c6a512-1295-4272-9138-f99709370657
2010-09-19 08:16:52 +00:00
Michael Giacomelli
f63570ace5
Add uppercase M4A file type to the mp4 parser. Technically Apple says to use lowercase, but various programs tolerate this, so we can too. Fixes FS#11536.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27805 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 01:09:46 +00:00
Mohamed Tarek
4ff2cf4f0c
WMA Voice now plays and seeks in the sim. The code is still in floating point, and is not added to the main build. There's still a bug with the decoder in the current state that it outputs a fewer number of samples than ffmpeg's.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27744 a1c6a512-1295-4272-9138-f99709370657
2010-08-07 17:55:02 +00:00
Rafaël Carré
53b5abd93c
aiff metadata: fix format string (%zd for size_t)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27572 a1c6a512-1295-4272-9138-f99709370657
2010-07-26 09:04:38 +00:00
Rafaël Carré
cb86bc7e92
aiff metadata: skip chunks larger than buffer
...
Also use a stack temporary buffer bigger than id3->path
Fix FS#11494 which uses a (unparsed) 410 bytes comment chunk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27570 a1c6a512-1295-4272-9138-f99709370657
2010-07-26 08:59:17 +00:00
Michael Giacomelli
33df565584
Commit FS#7831. Corrects our flac decoder to not reject files that have samplecount set to 0.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27244 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 18:39:11 +00:00
Mohamed Tarek
816fca820c
Wrote apps/codecs/wmapro.c and modified libwmapro to make the codec work in the sim. Neither libwmapro nor wmapro.c have been added to the main build yet, codecs.make should be edited to compile both with rockbox.
...
current status of the decoder :
- Plays and seeks in the sim
- Still in floating point
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27006 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 10:48:34 +00:00
Frank Gevaerts
3763ace3ec
Revert r26048. APE tags in mp3 is explicitely on http://www.rockbox.org/wiki/NoDo
...
This sort of change should never go in without prior discussion or consensus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26071 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 21:57:17 +00:00
Yoshihisa Uchida
fecf90fda9
mp3: when ID3 tags are not found, search APE tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26048 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 10:20:06 +00:00
Yoshihisa Uchida
3c74d20462
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26046 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 09:24:38 +00:00
Yoshihisa Uchida
7a6a8c64fe
ID3 tags parser separates from metadata/mp3.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26044 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 09:15:24 +00:00
Yoshihisa Uchida
0f5c6d47d4
add True Audio (TTA) codec
...
decoding speed iPod video ~153%
But in some players, the decoding speed is not enough.
(e.g., H180 52.4% (thanks amiconn), H300 55.09% (thanks n1s))
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25994 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 12:40:09 +00:00
Yoshihisa Uchida
90de864d89
chunksize decreases 4 bytes regardless wave/wave64.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25926 a1c6a512-1295-4272-9138-f99709370657
2010-05-10 11:13:17 +00:00
Mohamed Tarek
cd4d80aeba
nomsg
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25922 a1c6a512-1295-4272-9138-f99709370657
2010-05-09 21:42:09 +00:00
Jeffrey Goode
a26a68d23c
Fix wav metadata bug, also fix typos and some const police
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25919 a1c6a512-1295-4272-9138-f99709370657
2010-05-09 19:58:20 +00:00
Yoshihisa Uchida
20eb5f48e5
wave/wave64 LIST chunk parser
...
- logic simplify
- tag data always ends by the '\0' terminate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25911 a1c6a512-1295-4272-9138-f99709370657
2010-05-09 07:10:07 +00:00
Magnus Holmgren
fe29ad2edd
Save some binsize.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25899 a1c6a512-1295-4272-9138-f99709370657
2010-05-08 13:21:27 +00:00
Yoshihisa Uchida
35808b70d5
wave/wave64: parse LIST chunk.
...
Then, title, artist, etc. (in LIST chunk data) are displayed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25898 a1c6a512-1295-4272-9138-f99709370657
2010-05-08 12:15:15 +00:00
Thomas Martitz
50a6ca39ad
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
...
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 21:04:40 +00:00
Mohamed Tarek
7aaae54afc
- Modify metadata/asf.c to use libasf.
...
- Modify the files in libwma to use libasf.
- Remove apps/codecs/libwma/asf.h since it's not used now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25783 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 18:27:01 +00:00
Yoshihisa Uchida
7a3822c8b0
fix bug: WAV file playback does not resume (FS#11077)
...
Not only WAV but also Sun audio, SMAF, vox and WAV64 can resume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25289 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 10:02:05 +00:00
Andree Buschmann
63f0b2b8e9
Correction of musepack SV8 replaygain. The album/title peak is saved in a logarithmic representation and needs to be converted to linear fixed point for further processing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25187 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 22:34:09 +00:00
Yoshihisa Uchida
2d1937a158
wave metadata parser reduces binsize.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25161 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 05:41:02 +00:00
Yoshihisa Uchida
0996bbd278
corrects the smaf parser the following.
...
- It is normally retrieved even if the position of wave data is not in given position from the head.
- The problem that artist/title/composer cannot be given normally when the character code != iso8859-1, utf-8.
- The problem that the position of chunk does not given correctly some mmf files.
- artist/title/composer stored in not id3v1buf but id3v2buf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25141 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 05:53:54 +00:00
Yoshihisa Uchida
4446d1bc85
reduce firmware and sun audio codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25140 a1c6a512-1295-4272-9138-f99709370657
2010-03-13 05:19:40 +00:00
Andree Buschmann
2ac401f486
Make atrac3 streams in wav containers work again (error was introduced with r24782). Add additional info to atrac3 debug information.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25134 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 18:47:13 +00:00
Yoshihisa Uchida
20f5a533ae
Oops. forget static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25107 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 11:19:17 +00:00
Yoshihisa Uchida
207a84a381
unify the wave/wave64 parser.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25106 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 10:55:01 +00:00
Andree Buschmann
56023837ae
Fix musepack sv8 metadata parser. Thanks to Magnus Holmgren for spotting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25076 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 22:39:15 +00:00
Andree Buschmann
40c266532b
Reduce binsize again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25060 a1c6a512-1295-4272-9138-f99709370657
2010-03-07 20:55:37 +00:00
Andree Buschmann
b3d9578c27
Major change to musepack decoder: Import v1.3.0 (r458 from svn.musepack.net) to rockbox. Several adaptions in the musepack decoder were made to get the library work and perform fast under rockbox on several targets. With this change mpc sv8 is supported, including seek, replay gain and metadata support. The decoding speed is a 1-4% lower than the last implementation. Reason for this is main restructuring in the bitstream demuxer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25056 a1c6a512-1295-4272-9138-f99709370657
2010-03-07 19:34:44 +00:00
Yoshihisa Uchida
66ebc35c55
Wave/Wave64/vox metadata parser: optimize just a little.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24992 a1c6a512-1295-4272-9138-f99709370657
2010-03-02 10:59:46 +00:00
Yoshihisa Uchida
f7533cceaa
au metadata parser: optimize just a little.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24982 a1c6a512-1295-4272-9138-f99709370657
2010-03-01 10:37:52 +00:00
Nils Wallménius
d586fa1e7c
Mark array as const
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24981 a1c6a512-1295-4272-9138-f99709370657
2010-03-01 08:41:57 +00:00
Maurus Cuelenaere
4dad0dd762
Reduce binsize by using unsigned char array instead of int in AU metadata parser.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24967 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 12:45:32 +00:00
Yoshihisa Uchida
561cb2c401
Add wave64(.w64) codec (FS#11022)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24959 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 08:48:07 +00:00
Yoshihisa Uchida
8c5eaa35ec
Add vox (Dialogic telephony formats) codec add. (FS#11021)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24956 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 08:13:30 +00:00
Yoshihisa Uchida
4e3c807466
Add Sun Audio codec. (FS#10433)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24955 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 07:22:20 +00:00
Bertrik Sikken
9502021590
Add missing #include in libpcm codecs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24887 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 19:02:14 +00:00
Steve Bavin
c6e69cd886
Put the SMAF metadata buffer on the stack to save some memory. Only tested with one SMAF file, so please check if you have more.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24886 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 17:20:39 +00:00
Yoshihisa Uchida
45e009a364
add SMAF codec (.mmf extension)(FS#10432)
...
This codec supports only wave data (ADPCM and PCM).
It does not support MIDI, picture, and movie.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24878 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 11:46:29 +00:00