Dave Chapman
f02cba8096
Code cleaning - remove some unnecessary defined(SIMULATOR) checks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 13:16:08 +00:00
Dave Chapman
9a011f3a80
Clean up the codec API - remove all unused (and in many cases inappropriate) functions, move functions used only by encoders into the HAVE_RECORDING part of the API and document the reasons for the more unexpected functions being present.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13343 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 11:09:45 +00:00
Dave Chapman
a8b7967055
Code police - codecs shouldn't call GUI functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13341 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 10:34:10 +00:00
Michael Sevakis
205ec3279d
Make recording complain about every little file I/O problem (error on close() failure and fsync() failure). Why? I guess we will find out the disk is full about 1/2 sector sooner on average when the file APIs actually detect this correctly. :/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13262 a1c6a512-1295-4272-9138-f99709370657
2007-04-25 19:53:34 +00:00
Jens Arnold
27b4a64f9b
AIFF COMM chunks might be larger than 18 bytes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13249 a1c6a512-1295-4272-9138-f99709370657
2007-04-23 23:11:33 +00:00
Dave Chapman
266707f818
Build libmad separately for mpegplayer. This provides flexibility to adjust things like IRAM usage independently - use #ifdef MPEGPLAYER in libmad to make any mpegplayer specific changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13147 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 23:05:42 +00:00
Adam Boot
a5d7309d96
Support resume for Musepack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13049 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 21:48:17 +00:00
Michael Sevakis
62e0a516a0
Accept FS#6918 - Remove Nested Functions by Tim Ross. Adjust some names. Hunt down and remove the remaining ones in the recording system as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12955 a1c6a512-1295-4272-9138-f99709370657
2007-03-29 01:55:47 +00:00
Tomasz Malesinski
7d9ff93b79
FS #6848 - optimizations of Huffman decoding in Tremor.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12903 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 14:06:56 +00:00
Tomasz Malesinski
25046aac17
FS #6848 - fast vector operations for ARM in Tremor.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12902 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 13:45:54 +00:00
Michael Sevakis
3354531614
More logf fixes. speex.c wants to format 64bit args so I didn't change that one nor add any formatting for that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12858 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 13:53:23 +00:00
Jens Arnold
96a0b2dac8
Further simplification of constraints in libspeex arm asm.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12841 a1c6a512-1295-4272-9138-f99709370657
2007-03-19 18:44:41 +00:00
Magnus Holmgren
01a010fd19
Fix several printf-style warnings in logf builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12830 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 09:50:53 +00:00
Jens Arnold
bd5c0ad7bb
Cast some more to keep both 32 bit and 64 bit simulator platforms happy.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12819 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 10:50:58 +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
Jens Arnold
4d6374c923
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Jens Arnold
156f440414
Get rid of the arm4 libspeex warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12753 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 18:56:19 +00:00
Marcoen Hirschberg
93ff3c1081
turn on ARM optimizations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12751 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 14:31:13 +00:00
Marcoen Hirschberg
5cbaa28641
rename config.h to config-speex.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12750 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 14:23:20 +00:00
Dan Everton
879070f89e
* Clean up speex.c a little.
...
* Sync to Speex SVN 12735 which includes some of our warnings fixes.
* Move decoder output to IRAM. Not much perfomance gain though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12735 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 11:54:07 +00:00
Barry Wardell
efae4a3469
Fix build warnings. A better fix might be to define HAVE_LIMITS_H, but someone with a better knowledge of libmad should decide that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12707 a1c6a512-1295-4272-9138-f99709370657
2007-03-10 13:18:36 +00:00
Robert Kukla
c306b2a9a6
should never have been committed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12594 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 17:28:28 +00:00
Michael Sevakis
598629c3bf
SWCODEC Recording Codecs: Fix problems with hanging recording screen (chiefly on x5) when no voice file present and source is not FMRadio. Caused by extra audio stops causing encoder to unload prematurely. Fix is to have separate stop flags for each codec type to prevent collisions. Also now safe to plug into USB when recording and encoder will stay loaded and not be stopped by the call to audio_stop_playback. Additional discovery: playback will not be able to restart after a USB plug during recording. Probably an old bug. I recommend in the future that recording have higher priority on system resources than playback and playback be denied access explicitly if recording requires them. Codec API becomes incompatible so do full updates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12579 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 04:16:53 +00:00
Jens Arnold
c8311f98b4
Set svn:keywords property where missing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12565 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 09:11:19 +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
Michael Sevakis
411f8198b4
Oops. That ICONST_ATTR shouldn't be on the gauss table...yet. I leave experiments in a commit by accident way too much. :P What's the deal with getting SVN to update Id or add it? Nothing seems to work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12562 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 03:39:18 +00:00
Michael Sevakis
9764e09acb
SPC codec on Coldfire: Urgh. There was a whole gain stage I overlooked. :P Kill another several boost points.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12561 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 03:28:13 +00:00
Michael Sevakis
fa9ea27e11
Fix a comment that sounded a bit odd.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12560 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 01:40:55 +00:00
Michael Sevakis
f2b6ecd5fe
SPC codec on Coldfire: Move movclrs into the light and out of the long dark shadow cast my emac latency as much as possible. Put in a faster interpolation routine (emac saves the day...again). Add comments about what's going on.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12558 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 01:19:35 +00:00
Michael Sevakis
9b9e22731c
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.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12498 a1c6a512-1295-4272-9138-f99709370657
2007-02-26 17:15:04 +00:00
Michael Sevakis
b41c8a06b2
Woops, that was an experimental change that shouldn't have been included.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12473 a1c6a512-1295-4272-9138-f99709370657
2007-02-24 17:10:38 +00:00
Michael Sevakis
d4e904bf35
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.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12472 a1c6a512-1295-4272-9138-f99709370657
2007-02-24 17:06:36 +00:00
Michael Sevakis
c2925814ce
SPC Codec: Fix an overflow issue in echo with left shifting by 9 that showed on some files by using mac.l instead which is ok since the little beastie seems to prefer multiplying things. Mark asm blocks volatile so gcc doesn't get any ideas that the code can be removed as happened to me once already.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12464 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 22:39:12 +00:00
Michael Sevakis
3096d0a540
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.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12422 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 00:18:06 +00:00
Michael Sevakis
46bb37add6
Fix a mistake in wrapping the echo buffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12414 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 13:06:11 +00:00
Michael Sevakis
d31162a9d3
SPC codec: enable echo on ColdFire CPU. Do a couple general small optimizations. Preswap some data when running DSP for big endian.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12410 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 10:27:39 +00:00
Paul Louden
5fd4c15e2a
Fix silly cut an pasting of comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12391 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 09:28:26 +00:00
Paul Louden
4594c05925
Fix Gigabeat SPC warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12390 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 09:26:09 +00:00
Daniel Stenberg
0c021deb05
#if => #ifdef
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12368 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:07:39 +00:00
Daniel Stenberg
20a5926d2e
build with -Wundef to make sure we have spelled the defines right in #if lines
...
and have the proper includes included etc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:54:17 +00:00
Jens Arnold
471d881979
ARM targets: Making a few functions non-static allows us to get rid of -ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 11:19:14 +00:00
Jens Arnold
e393b8e359
Replaced some explicit options for target linking with to be consistent with the sims.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12318 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 20:28:08 +00:00
Adam Gashlin
4de600b46e
Remove dishonest spc amplification
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12301 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 07:33:41 +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
Dan Everton
37fa620807
* Document the revision of Speex imported in to Rockbox along with how the import was done.
...
* Add the Speex license document.
* Whitespace fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12266 a1c6a512-1295-4272-9138-f99709370657
2007-02-11 00:48:50 +00:00
Michael Sevakis
b013d11e77
Doh. Forgot about codeclib.c.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12260 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 16:47:13 +00:00
Michael Sevakis
97f369a587
SWCODEC: Annoying neatness update. Use intptr_t for codec_configure_callback and dsp_configure and stop all the silly type casting of intergral types to pointers to set dsp configuration and watermarks. Shouldn't have any effect on already compiled codecs at all. Will fix any important patches in the tracker so they compile.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12259 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 16:34:16 +00:00
Magnus Holmgren
2c7030b402
Fix problems building Speex when building the simulator on Cygwin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12256 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 13:33:29 +00:00
Dan Everton
7bf62e8da6
* Sync Speex codec with Speex SVN revision 12449 (roughly Speex 1.2beta1).
...
* Redo the changes required to make Speex compile in Rockbox. Should be a bit easier to keep in sync with Speex SVN now.
* Fix name of Speex library in codecs Makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12254 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 11:44:26 +00:00
Dan Everton
69c40d7e84
Fix stereo Speex file decoding.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12250 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 06:11:30 +00:00