Michael Giacomelli
|
afd5c6a03f
|
Fix (another) overflow when seeking in long WMA files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16597 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-09 23:38:11 +00:00 |
|
Michael Giacomelli
|
191b7e8380
|
Don't assume reading the duration field advances the buffer 12 bytes, instead check the return value and seek accordingly. Improves (fixes?) seeking in sample submitted by Lear.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16595 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-09 22:55:38 +00:00 |
|
Magnus Holmgren
|
ae00bd69d6
|
AAC decoder: Remove suspicious use of the REAL_CONST macro. I don't know what triggers the execution of this code, but this change stops some floating point math code from being linked. It looks like the right thing to do...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16590 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-09 12:36:30 +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 |
|
Michael Giacomelli
|
75c7ac80e8
|
Commit FS#8670 by Andree Buschmann. Fixes potiential overflow issue in musepack files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16563 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-08 21:26:03 +00:00 |
|
Adam Gashlin
|
460d6d2d22
|
clear up some sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16419 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-25 21:57:09 +00:00 |
|
Adam Gashlin
|
2668547a55
|
Fix ADX decoder, old constant coefficients were for 44.1khz only, they
are now calculated at runtime.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16418 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-25 21:47:56 +00:00 |
|
Magnus Holmgren
|
87842ca0e7
|
Change to (or add) 'standard' codec startup delay, fixing potential startup problems for APE and MPC files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16410 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-24 19:12:15 +00:00 |
|
Magnus Holmgren
|
313a6d6c2b
|
Try to fix resume problems for FLAC files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16404 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-24 13:22:40 +00:00 |
|
Jens Arnold
|
99db6dbafe
|
Revert the buggy warning fix for gcc 4.2. It caused a sim built with gcc 4.2 to segfault. Get rid of the warning by introducing a temporary variable instead. Obviously the cfft1(pos|neg)() call is too complex for gcc 4.2 to cope without that tempvar. Oh well...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16292 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-12 19:57:26 +00:00 |
|
Thom Johansen
|
7667a865ff
|
Optimize the ARM ASM qmf_synth() clipping stage a bit. Also fix a typo and remove some trailing white space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16242 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-08 00:19:16 +00:00 |
|
Daniel Stenberg
|
1456415cab
|
make the gcc work-around somewhat more inclusive for gcc 4.2.X where X is 1
or bigger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16238 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-07 00:02:41 +00:00 |
|
Daniel Stenberg
|
5c0cf6ef2c
|
a rather lame attempt to silence the gcc 4.2.3 warnings on what seems to be
legitimate code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16237 a1c6a512-1295-4272-9138-f99709370657
|
2008-02-06 23:51:54 +00:00 |
|
Jens Arnold
|
b2fa99b4dd
|
Vorbis codec: Only try to put the ARM assembler optimised MDCT in IRAM if the target uses IRAM. This fixes the code for gigabeat, but it is kept disabled for gigabeat because the C code is actually slightly faster (~0.5%).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16164 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-25 18:52:15 +00:00 |
|
Michael Sevakis
|
ef1f7d3bf9
|
SPC Codec: Ensure no crash occurs on load failure which could cause emulation to be run without a program loaded on dual core (DSP wasn't initialized yet). The load failures come from core buffering not having the atomic audio file fully loaded before the codec requests the buffer (it gets as many bytes as can be provided) which IMHO isn't very atomic :). Changes in thread execution order after dumping spinlocks for general use simply revealed the buffering race condition. No fix for that will be hacked into the codec itself but should be fixed in the core. Add my copyright to files I had a significant part in developing per request of Adam Gashlin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16154 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-24 13:35:13 +00:00 |
|
Michael Giacomelli
|
5730da2ba8
|
Apply last fall's exponent fix to WMA v1 files as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16114 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-19 23:00:50 +00:00 |
|
Michael Giacomelli
|
dadd80a8a6
|
If seek fails, don't insert nonsense for the current position. Also, make one of the error messages a bit more clear.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16002 a1c6a512-1295-4272-9138-f99709370657
|
2008-01-06 02:50:01 +00:00 |
|
Peter D'Hoye
|
eb947cdde1
|
Another fix for file system issues when encountering disk full (like when recording)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15920 a1c6a512-1295-4272-9138-f99709370657
|
2007-12-13 23:36:22 +00:00 |
|
Dan Everton
|
19f487b451
|
Revert previous 'fix'. Did not actually fix the warning as I wasn't paying attention.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15899 a1c6a512-1295-4272-9138-f99709370657
|
2007-12-09 03:54:12 +00:00 |
|
Dan Everton
|
147980e1e5
|
Fix warnings in libfaad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15898 a1c6a512-1295-4272-9138-f99709370657
|
2007-12-09 03:40:40 +00:00 |
|
Thom Johansen
|
4c4b3a314a
|
Exclude an unneeded file from the voice codec build. Remove non-existing feature from config-speex.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15894 a1c6a512-1295-4272-9138-f99709370657
|
2007-12-08 00:50:16 +00:00 |
|
Adam Gashlin
|
d83ceef0c2
|
metadata writing does not belong in the spc codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15884 a1c6a512-1295-4272-9138-f99709370657
|
2007-12-06 00:43:52 +00:00 |
|
Dave Chapman
|
05b158f81e
|
Code-police raid - cosmetic changes only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15862 a1c6a512-1295-4272-9138-f99709370657
|
2007-12-01 02:46:31 +00:00 |
|
Dave Chapman
|
aaacb7010f
|
Remove the mallocs for the codecdata in the m4a parser and assume a maximum size of 64 bytes (see comments in source). Also clean up the alac_set_info() function a little and make it alignment-safe. We still need to remove the seektable related mallocs. Please report if any AAC or ALAC files stop playing in Rockbox after this commit - but it is not expected to cause problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15861 a1c6a512-1295-4272-9138-f99709370657
|
2007-12-01 01:01:35 +00:00 |
|
Dave Chapman
|
95c117cdb8
|
Use the correct variable name - fixes warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15860 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-30 19:58:59 +00:00 |
|
Michael Giacomelli
|
8b99ad39b1
|
Fix warning when compiling the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15858 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-30 14:24:05 +00:00 |
|
Michael Sevakis
|
5323fe996b
|
Move encoder CPU boost control to the core. Allow CPU to sleep a bit when PCM buffer is empty and save some power. Codec API becomes incompatible so full updates! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15854 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-30 05:16:56 +00:00 |
|
Michael Giacomelli
|
1a5d59498a
|
Fix overflow when seeking in long files wma. Also, add a simple sanity check when seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15851 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-30 00:46:32 +00:00 |
|
Thom Johansen
|
feb75d43c8
|
Remove unneeded files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15848 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-29 23:49:43 +00:00 |
|
Thom Johansen
|
9fe5633789
|
Stop writing to the metadata struct in the codec, it's not nice. These fields are already properly filled out anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15845 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-29 01:45:56 +00:00 |
|
Michael Sevakis
|
a124e1251a
|
Be sure SPC codec runs nicely from the start by using more IRAM when the dual core is done for PP5002. Basically ready, it is.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15808 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-26 08:02:18 +00:00 |
|
Thom Johansen
|
d2ab668679
|
Move some stuff out of IRAM for the voice decoder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15796 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-24 21:29:46 +00:00 |
|
Thom Johansen
|
40f2427192
|
Remove unused file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15795 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-24 19:45:44 +00:00 |
|
Thom Johansen
|
929443cca5
|
Sync to SVN.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15792 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-24 19:14:29 +00:00 |
|
Jens Arnold
|
a561abf07b
|
Speex: Put filter code in IRAM on PP5002 for a nice 12% speedup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15765 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-23 00:24:07 +00:00 |
|
Michael Giacomelli
|
f861320177
|
Add seeking support for wma. Works quite well on my Sansa, and theres some effort to catch and recover from seeking errors, but theres likely to be problems in some files. Also, add Thom's idea to skip past some errors in wma streams rather then just giving up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15753 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-22 05:32:26 +00:00 |
|
Thom Johansen
|
57a27c69a9
|
Sync Speex to SVN.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15750 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-22 01:29:14 +00:00 |
|
Thom Johansen
|
e7988b8d88
|
Remove a couple of redundant array copy operations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15747 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-22 00:04:58 +00:00 |
|
Thom Johansen
|
3947b0c632
|
FS #8179. Small Musepack speedup for ARM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15692 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-19 16:31:10 +00:00 |
|
Michael Sevakis
|
371ebe1160
|
libspeex: let DEBUGF work correctly for both core and codec builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15677 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-18 23:17:39 +00:00 |
|
Thom Johansen
|
c31818ccf0
|
Disable some UWB mode stuff and lost package handling in voice codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15676 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-18 23:17:25 +00:00 |
|
Michael Sevakis
|
1a41c8afee
|
SPC Codec: Run SPC emulation on COP and audio sample processing on CPU on dual-core PortalPlayer targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15673 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-18 19:03:45 +00:00 |
|
Michael Sevakis
|
99617d71ba
|
Make speex the new voice format for SWCODEC targets (non-Archos). Remove codec swapping and build speex voice decoding directly into the core binary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15668 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-18 17:12:19 +00:00 |
|
Thom Johansen
|
65458ee71c
|
Speex encoder specially tailored to create voice UI snippets. Small fixups to libspeex to allow it to be built.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15640 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-16 15:35:37 +00:00 |
|
Thom Johansen
|
869a7e7ca6
|
Trim some stuff and move some defines to a more logical place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15637 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-16 14:30:51 +00:00 |
|
Thom Johansen
|
2bb48eb8ed
|
Throw away the first samples to come out of the decoder to account for encoder latency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15618 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-14 14:43:32 +00:00 |
|
Thom Johansen
|
8082148200
|
Sync latest Speex stereo changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15617 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-14 12:11:13 +00:00 |
|
Michael Sevakis
|
d3027d424b
|
Build libspeex for core voice on SWCODEC. Development phase - not currently utilized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15615 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-14 10:31:57 +00:00 |
|
Thom Johansen
|
85b325fdb9
|
Sync Speex to SVN. Disable stereo compatibility hack since we don't needed it and it produced warnings. Remove unneeded math.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15613 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-14 02:15:56 +00:00 |
|