Michael Giacomelli
|
dac1ed5f41
|
This table is probably 128 entries long beginning with -60. Greatly improves FS#7488, but does not entirely fix it. Also, while I'm recomputing tables, use proper whitespace formating.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17162 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-18 23:05:20 +00:00 |
|
Dave Chapman
|
d65930f972
|
Correct copyright date and add acknowledgement of projects (libasf and VLC) that the ASF parsing code is based on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17146 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-16 19:42:26 +00:00 |
|
Michael Giacomelli
|
861525852c
|
Increase the size of one of the look up tables. Fixes 'burst of static' in some files. I still have no idea how big it really needs to be...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17103 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-14 01:12:51 +00:00 |
|
Magnus Holmgren
|
d715f79ed6
|
Remove redundant init call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17092 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-13 10:00:42 +00:00 |
|
Michael Giacomelli
|
9a946f6022
|
Commit FS#8822 by Magnus Holmgren. Fixes resuming previously playing WMA files after a reboot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17090 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-12 19:52:31 +00:00 |
|
Michael Giacomelli
|
82dc8175cf
|
Make the WMA decoder less noisy in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17014 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-07 02:32:48 +00:00 |
|
Michael Giacomelli
|
c6bbb0f690
|
Fix sim for now. Eventually I should change the decoder to error out if theres a problem allocating huffman tables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17013 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-07 02:25:09 +00:00 |
|
Michael Giacomelli
|
231f0c208d
|
Let the console know when the huffman tables have overflown. This should never happen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17012 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-07 02:11:14 +00:00 |
|
Michael Giacomelli
|
4a808073c7
|
Amazingly, I've only been initing about 1/2 the huffman table entries needed to actually decode a WMA file for the last 8 months and yet somehow never noticed. Fixes FS#8713, FS#8606 and probably a lot of other files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17011 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-07 02:01:44 +00:00 |
|
Michael Sevakis
|
05099149f1
|
Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16981 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-06 04:34:57 +00:00 |
|
Nicolas Pennequin
|
73a71a4712
|
Move audio_set_elapsed to mpa.c, as recommended by the TODO note. Please correct me if affecting ci->id3->elapsed directly (ie without using ci->set_elapsed) is wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16945 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-03 12:13:03 +00:00 |
|
Nils Wallménius
|
a216c66b42
|
Remove obsolete comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16942 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-03 07:47:23 +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 |
|
Michael Sevakis
|
4855e734f3
|
Move codec_get_file_pos somewhere else like the comment said should be done. Codec API version increment was needed so update all codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16874 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-29 06:36:53 +00:00 |
|
Michael Giacomelli
|
03f1b98531
|
Fix misleading debug statement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16838 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-27 01:40:16 +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 |
|
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 |
|