Robert Kukla
a334bd2891
revise commit r15463 - we still get the immediate display of runtime data in the wps, but avoid unnecessary calls while initialising/updating the database.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15781 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 23:36:42 +00:00
Robert Kukla
ca1b920896
Fix for FS#8082:
...
runtime data fields are filled like any other fields in the mp3entry struct during the call to get_metadata(); HWCODEC still uses the old callback mechanism
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15463 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 21:11:40 +00:00
Nicolas Pennequin
e49247e3e8
get_metadata(): Clear the destination mp3entry to avoid having bogus pointers appear in it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14992 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 16:02:35 +00:00
Thom Johansen
294ec1d110
Remove the ID3 tag version priority setting on the grounds of it being pretty pointless. ID3v2 tags are superior to ID3v1 tags, and needs less seeking around to find.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14750 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 10:40:55 +00:00
Nicolas Pennequin
6a92e475ac
Make get_metadata act on a struct mp3entry rather than a struct track_info.
...
This should make it easy to use a buffer handle to put the ID3 data in.
The changes in get_metadata are mostly search and replace. The only thing
it actually used to do on the struct track_info was set taginfo_ready to
true.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14326 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 11:56:13 +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
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
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
Magnus Holmgren
c3206a455a
AAC: Add support for iTunes-style gapless playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13636 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 13:00:52 +00:00
Dave Chapman
ddab569266
Correct the parsing of v3.97 Monkey's Audio files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13595 a1c6a512-1295-4272-9138-f99709370657
2007-06-08 15:36:10 +00:00
Dave Chapman
c995ae8026
Make v3.97 APE files work in Rockbox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13571 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 17:46:49 +00:00
Dave Chapman
520274219a
Initial commit of Monkey's Audio (.ape/.mac) support. Note that Monkey's is 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-06-05 16:58:29 +00:00
Jens Arnold
d884851d96
Fixed bug in the WAV metadata parser: A long has 4 bytes...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13534 a1c6a512-1295-4272-9138-f99709370657
2007-06-01 21:21:27 +00:00
Nicolas Pennequin
6579818b43
Add the possibility to store cuesheets in /.rockbox/cue. The code will look for a cuesheet there in case there wasn't one in the same folder as the audio file. This is to reduce the clutter created by one cuesheet per audio file in some places.
...
Also some duplicate code was replaced by a function call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13508 a1c6a512-1295-4272-9138-f99709370657
2007-05-28 23:18:31 +00:00
Nils Wallménius
f41497f98e
Fix metadata reading for 64 bit sims. Closes FS#6690
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13335 a1c6a512-1295-4272-9138-f99709370657
2007-05-06 15:09:41 +00:00
Magnus Holmgren
832bbf72a8
AAC: More adjustments to how the frequency is read. Still not perfect, but this is probably as good as it can get.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13274 a1c6a512-1295-4272-9138-f99709370657
2007-04-26 17:59:24 +00:00
Magnus Holmgren
ab707b8362
AAC: Improve SBR detection, to fix incorrect frequency on some files (and hopefully not break others :).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13255 a1c6a512-1295-4272-9138-f99709370657
2007-04-24 19:22:21 +00:00
Jens Arnold
f68362ad6f
Fix simulator builds, and some debugf() format strings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:54:28 +00:00
Magnus Holmgren
a35a38b0ce
Fix an off-by-one bug when dealing with genres in MP4 files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12754 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 22:16:12 +00:00
Adam Boot
e70362d106
Remove unnecessary dependence, it doesn't make sense to check settings here.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12630 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 23:46:36 +00:00
Dan Everton
1b2a1c8fe7
Try and parse Ogg 'date' tags. Will only work if your date tags start with the year (e.g. yyyy-MM-dd). Which should be most people.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12622 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 09:04:03 +00:00
Miika Pekkarinen
c54d52d2d6
Allow compiling database tool again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12593 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 16:47:33 +00:00
Adam Boot
76eeb2f5d2
Clean up some left over junk.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12564 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 06:18:00 +00:00
Adam Boot
b9a71b305b
Add get_metadata() and year & comment tag support for SPC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12563 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 06:08:28 +00:00
Robert Kukla
79a2a936a2
remove numerical genre and use genre_string consistently:
...
- 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-03-02 21:49:42 +00:00
Robert Kukla
9d3ccba765
correct comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12518 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 08:29:56 +00:00
Robert Kukla
726181b212
FS#5720 — improved meta data extraction from SID files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12515 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 00:58:44 +00:00
Jonathan Gordon
8ca99d3288
Code Police: Remove tabs throught apps/ . Hopefully no actual code
...
change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12504 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 11:09:09 +00:00
Miika Pekkarinen
9745bbc1df
Fixed the incorrect APE header format define cause parsing to fail.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12317 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 19:08:21 +00:00
Miika Pekkarinen
7a395a23bf
Start using the new endian conversion system outside tagcache also to simplify code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12309 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 19:20:13 +00:00
Nicolas Pennequin
9f4bd8712f
Cuesheet support by Jonathan Gordon and me (FS #6460 ).
...
Everytime an audio file is loaded, a cue file with the same name is searched for. A setting
allows to disable this (default is off). Cuesheet files can also be viewed in the file browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12304 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 14:40:24 +00:00
Adam Gashlin
7df87126f0
Cleaned indents, added Shay Green (blargg) to credits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12299 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 03:49:09 +00:00
Adam Gashlin
b73960d3b9
Adding SPC codec (FS #6542 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12298 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 03:34:55 +00:00
Dave Chapman
2743cb46b9
Fix signedness warning (only visible when building tools/database.c)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12291 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 21:46:10 +00:00
Miika Pekkarinen
a957b2249e
Make the database PC tool compile again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12290 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 21:13:01 +00:00
Miika Pekkarinen
4e9766477b
FS#6638 - Album artist and comment patch for WPS and tagcache. Export
...
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-10 12:09:28 +00:00
Dan Everton
5158751263
Minor whitespace and formatting fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12253 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 09:55:06 +00:00
Dan Everton
ebc58c9f06
Add Speex playback support. Patch from FS #5607 thanks to Frederik Vestre.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12241 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 10:06:53 +00:00
Adam Gashlin
5d20c9d121
adding NSF (NES music) codec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12112 a1c6a512-1295-4272-9138-f99709370657
2007-01-25 18:06:17 +00:00
Dave Bryant
2446b22db9
Update libwavpack with latest changes from the tiny_encoder. This allows
...
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
2007-01-08 04:24:32 +00:00
Magnus Holmgren
1e7b7bcb07
Some minor code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11854 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 14:59:10 +00:00
Jens Arnold
314f3b58f1
More static'ing, and a few fixes resulting from that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 22:22:21 +00:00
Magnus Holmgren
3183aeabac
AAC/ALAC: Fix display of ReplayGain values (e.g., in the ID3 Info screen).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11683 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 16:15:23 +00:00
Magnus Holmgren
de100c36cb
AAC codec: accept M4B files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11681 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 09:24:31 +00:00
Michael Sevakis
cee9d3b47b
Fixed header parsing in AIFF. The minimum header size is 54 bytes for an 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-25 21:27:46 +00:00
Magnus Holmgren
1ac20995c3
Read frequency in MP4/AAC files from a different place, if available. Should 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-23 19:46:59 +00:00
Daniel Stenberg
0065192902
Made the PSID metadata parser a little less trusting of its input.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11500 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 12:26:26 +00:00
Miika Pekkarinen
cdc2c3b653
Enable all Rockbox supported formats for the database command line
...
utility.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11499 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 11:48:23 +00:00
Michael Sevakis
0f5cb94aa4
Big Patch adds primarily: Samplerate and format selection to recording for 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-11-06 18:07:30 +00:00
Magnus Holmgren
83abf50a83
Moved the Ogg zero-length check to a better place. Also fixed so that really 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-29 22:18:30 +00:00