Gitiles
Code Review
Sign In
gerrit.rockbox.org
/
rockbox
/
2acc0ac542d9186feee25bbe444c49cb59ca393e
/
apps
/
codecs
/
spc.c
2acc0ac
Updated our source code header to explicitly mention that we are GPL v2 or
by Daniel Stenberg
· 16 years ago
0509914
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).
by Michael Sevakis
· 17 years ago
ef1f7d3
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.
by Michael Sevakis
· 17 years ago
d83ceef
metadata writing does not belong in the spc codec
by Adam Gashlin
· 17 years ago
1a41c8a
SPC Codec: Run SPC emulation on COP and audio sample processing on CPU on dual-core PortalPlayer targets.
by Michael Sevakis
· 17 years ago
8552eff
Make the SPC codec run like it used to on Coldfire before -Os crushed it. Build as a lib using the old -O option. Should not impact ARM targets.
by Michael Sevakis
· 17 years ago
bd5c0ad
Cast some more to keep both 32 bit and 64 bit simulator platforms happy.
by Jens Arnold
· 18 years ago
f68362a
Fix simulator builds, and some debugf() format strings.
by Jens Arnold
· 18 years ago
b9a71b3
Add get_metadata() and year & comment tag support for SPC.
by Adam Boot
· 18 years ago
9b9e227
SWCODEC: Fix the problem of replaygain not being applied unless the menu is entered. Make all codecs set the replay gain or else formats that do not have replaygain will not set the gain back to default if a file with gain applied proceeded them.
by Michael Sevakis
· 18 years ago
b41c8a0
Woops, that was an experimental change that shouldn't have been included.
by Michael Sevakis
· 18 years ago
d4e904b
SWCODEC: Dsp speed optimizations. Changes for more modularity. Removal of some usless stuff. Some assembly routines for Coldfire with speed in mind over size for the outputs but the channel modes remain compact. Miscellaneous coldfire asm updates to accomodate the changes. Codec API structure version has to increase so do a full update.
by Michael Sevakis
· 18 years ago
3096d0a
SPC Codec: Now that output clipping is left to the core DSP, some especially loud tracks would have multiplication overflows when fading out at the end. Fixed.
by Michael Sevakis
· 18 years ago
d31162a
SPC codec: enable echo on ColdFire CPU. Do a couple general small optimizations. Preswap some data when running DSP for big endian.
by Michael Sevakis
· 18 years ago
5fd4c15
Fix silly cut an pasting of comments.
by Paul Louden
· 18 years ago
4594c05
Fix Gigabeat SPC warnings.
by Paul Louden
· 18 years ago
0c021de
#if => #ifdef
by Daniel Stenberg
· 18 years ago
b73960d
Adding SPC codec (FS #6542)
by Adam Gashlin
· 18 years ago