summaryrefslogtreecommitdiff
path: root/apps/codecs
AgeCommit message (Collapse)Author
2008-05-05Fix a couple quirks from the previous commit.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17370 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin
tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-03Another round of making local functions static and making sure that source ↵Bertrik Sikken
files are in sync with their header files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17337 a1c6a512-1295-4272-9138-f99709370657
2008-05-03SPC Codec: I'm pretty sure Gigabeat S can do realtime BRR decode and echo. :)Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17330 a1c6a512-1295-4272-9138-f99709370657
2008-05-03Make local function interp_pitch in filters.c static.Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17326 a1c6a512-1295-4272-9138-f99709370657
2008-05-02Build the remaining plugins for Gigabeat S and straigten out the fake IRAM ↵Michael Sevakis
in the codecs and plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17303 a1c6a512-1295-4272-9138-f99709370657
2008-04-29Fix skipping back to the start of WMA files, broken by the addition of ↵Magnus Holmgren
resume support. Not the most elegant fix perhaps, but it works for me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17291 a1c6a512-1295-4272-9138-f99709370657
2008-04-21Fix mistake in previous WMA commit. Also update comments to reflect changes.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17202 a1c6a512-1295-4272-9138-f99709370657
2008-04-18This table is probably 128 entries long beginning with -60. Greatly improves ↵Michael Giacomelli
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-16Correct copyright date and add acknowledgement of projects (libasf and VLC) ↵Dave Chapman
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-14Increase the size of one of the look up tables. Fixes 'burst of static' in ↵Michael Giacomelli
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-13Remove redundant init call.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17092 a1c6a512-1295-4272-9138-f99709370657
2008-04-12Commit FS#8822 by Magnus Holmgren. Fixes resuming previously playing WMA ↵Michael Giacomelli
files after a reboot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17090 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Make the WMA decoder less noisy in the sim.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17014 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Fix sim for now. Eventually I should change the decoder to error out if ↵Michael Giacomelli
theres a problem allocating huffman tables. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17013 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Let the console know when the huffman tables have overflown. This should ↵Michael Giacomelli
never happen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17012 a1c6a512-1295-4272-9138-f99709370657
2008-04-07Amazingly, I've only been initing about 1/2 the huffman table entries needed ↵Michael Giacomelli
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-06Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now ↵Michael Sevakis
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-03Move audio_set_elapsed to mpa.c, as recommended by the TODO note. Please ↵Nicolas Pennequin
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-03Remove obsolete commentNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16942 a1c6a512-1295-4272-9138-f99709370657
2008-04-02Revert... stupid svn doesn't complain when passing -m twice :(Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
2008-04-02Make the measured LCD scanrates from the greylib known to the scanrate test ↵Jens Arnold
plugin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
2008-03-29Move codec_get_file_pos somewhere else like the comment said should be done. ↵Michael Sevakis
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-27Fix misleading debug statement.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16838 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Revert accidental tree commit. /me needs a smaller enter key...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as ↵Jens Arnold
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-09Fix (another) overflow when seeking in long WMA files.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16597 a1c6a512-1295-4272-9138-f99709370657
2008-03-09Don't assume reading the duration field advances the buffer 12 bytes, ↵Michael Giacomelli
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-09AAC decoder: Remove suspicious use of the REAL_CONST macro. I don't know ↵Magnus Holmgren
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-08Revert accidental tree commit. Sorry for that.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16574 a1c6a512-1295-4272-9138-f99709370657
2008-03-08No need to have \n here. panicf() won't output it anyway.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16570 a1c6a512-1295-4272-9138-f99709370657
2008-03-08Commit FS#8670 by Andree Buschmann. Fixes potiential overflow issue in ↵Michael Giacomelli
musepack files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16563 a1c6a512-1295-4272-9138-f99709370657
2008-02-25clear up some sim warningsAdam Gashlin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16419 a1c6a512-1295-4272-9138-f99709370657
2008-02-25Fix ADX decoder, old constant coefficients were for 44.1khz only, they Adam Gashlin
are now calculated at runtime. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16418 a1c6a512-1295-4272-9138-f99709370657
2008-02-24Change to (or add) 'standard' codec startup delay, fixing potential startup ↵Magnus Holmgren
problems for APE and MPC files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16410 a1c6a512-1295-4272-9138-f99709370657
2008-02-24Try to fix resume problems for FLAC files.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16404 a1c6a512-1295-4272-9138-f99709370657
2008-02-12Revert the buggy warning fix for gcc 4.2. It caused a sim built with gcc 4.2 ↵Jens Arnold
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-08Optimize the ARM ASM qmf_synth() clipping stage a bit. Also fix a typo and ↵Thom Johansen
remove some trailing white space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16242 a1c6a512-1295-4272-9138-f99709370657
2008-02-07make the gcc work-around somewhat more inclusive for gcc 4.2.X where X is 1Daniel Stenberg
or bigger git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16238 a1c6a512-1295-4272-9138-f99709370657
2008-02-06a rather lame attempt to silence the gcc 4.2.3 warnings on what seems to beDaniel Stenberg
legitimate code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16237 a1c6a512-1295-4272-9138-f99709370657
2008-01-25Vorbis codec: Only try to put the ARM assembler optimised MDCT in IRAM if ↵Jens Arnold
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-24SPC Codec: Ensure no crash occurs on load failure which could cause ↵Michael Sevakis
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-19Apply last fall's exponent fix to WMA v1 files as well.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16114 a1c6a512-1295-4272-9138-f99709370657
2008-01-06If seek fails, don't insert nonsense for the current position. Also, make ↵Michael Giacomelli
one of the error messages a bit more clear. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16002 a1c6a512-1295-4272-9138-f99709370657
2007-12-13Another fix for file system issues when encountering disk full (like when ↵Peter D'Hoye
recording) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15920 a1c6a512-1295-4272-9138-f99709370657
2007-12-09Revert previous 'fix'. Did not actually fix the warning as I wasn't paying ↵Dan Everton
attention. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15899 a1c6a512-1295-4272-9138-f99709370657
2007-12-09Fix warnings in libfaadDan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15898 a1c6a512-1295-4272-9138-f99709370657
2007-12-08Exclude an unneeded file from the voice codec build. Remove non-existing ↵Thom Johansen
feature from config-speex.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15894 a1c6a512-1295-4272-9138-f99709370657
2007-12-06metadata writing does not belong in the spc codecAdam Gashlin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15884 a1c6a512-1295-4272-9138-f99709370657
2007-12-01Code-police raid - cosmetic changes only.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15862 a1c6a512-1295-4272-9138-f99709370657