Commit graph

449 commits

Author SHA1 Message Date
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
Jens Arnold
161bf8f0e1 Fixed 64 bit warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12249 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 00:42:35 +00:00
Dan Everton
97623c5e97 Fix warnings in simulator builds including libspeex
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12248 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 23:08:12 +00:00
Michael Sevakis
d52f2e4bca Encoders: Add a little dithering with the fractional bit for mono mixdowns so faster shifts can be used again instead of division without introducing their own DC offset into the mixed channels.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12246 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 18:11:11 +00:00
Dave Chapman
0abfe9f8ea Whitespace is nice, let's use some. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12245 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 18:10:24 +00:00
Dan Everton
c22e29f1c3 Fix a warning in Speex codec_main declaration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12243 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 10:20:27 +00:00
Dan Everton
ebc58c9f06 Add Speex playback support. Patch from FS #5607 thanks to Frederik Vestre.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12241 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 10:06:53 +00:00
Adam Gashlin
88c0d9d80f VRC6 speedup/bugfix from Takashi Obara, FS #6635
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12239 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 08:41:43 +00:00
Michael Sevakis
ce89a2745c Woops. Upon examining the diffs again I find I shouldn't have deleted that one yield() from the a52 codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12219 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 01:30:05 +00:00
Michael Sevakis
aba6ca0881 Fix resampling clicking as much as possible at the moment. 1) Upsampling clicked because of size inaccuracies returned by DSP. Fix by simplifying audio system to use per-channel sample count from codec to pcm buffer. 2) Downsampling affected by 1) and was often starting passed the end of the data when not enough was available to generate an output sample. Fix by clamping input range to last sample in buffer and using the last sample value in the buffer. A perfect fix will require a double buffering scheme on the resampler to sufficient data during small data transients on both ends at all times of the down ratio on input and the up ratio on output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12218 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 00:51:50 +00:00
Jens Arnold
7ebb2911b8 Fixed 64 bit warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12192 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 12:35:44 +00:00
Magnus Holmgren
7c9f4e3a3a Try to fix the simulator build warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12189 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 10:24:37 +00:00
Magnus Holmgren
39bd2375fa Fix playback of mono FLAC files, so they don't play in the left channel only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12188 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 10:04:42 +00:00
Adam Gashlin
47ddbd48d6 NES codec improvements - N106 fixed point implementation from FS #6603, removed redundant or unused tables and flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12167 a1c6a512-1295-4272-9138-f99709370657
2007-01-31 21:23:14 +00:00
Magnus Holmgren
fc1efc7b13 Fix a couple of MP4 demuxing problems, preventing playback in a few cases. All my test files now play properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12161 a1c6a512-1295-4272-9138-f99709370657
2007-01-30 21:42:36 +00:00
Adam Gashlin
5d20c9d121 adding NSF (NES music) codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12112 a1c6a512-1295-4272-9138-f99709370657
2007-01-25 18:06:17 +00:00
Dave Bryant
2446b22db9 Update libwavpack with latest changes from the tiny_encoder. This allows
playback of floating-point audio files, fixes a obscure decoding bug, and
improves encoding speed somewhat.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11944 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 04:24:32 +00:00
Marcoen Hirschberg
66fdee0253 fix previous commit and use just .text
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11870 a1c6a512-1295-4272-9138-f99709370657
2006-12-31 01:04:23 +00:00
Marcoen Hirschberg
e904732222 fix flac on ARM platforms which don't use iram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11869 a1c6a512-1295-4272-9138-f99709370657
2006-12-31 00:22:53 +00:00
Barry Wardell
82db32ee17 Fix last build warning from PP recording changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11801 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 13:20:27 +00:00
Barry Wardell
df0dc2262e FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano).
* Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined.
* Fix bug in AIFF encoder header creation on little endian targets.
* Add recording screen keymaps for H10 and iPod.
* Move pcm_playback PP specific code to target tree.
* Add recording code to wmcodec drivers.
* Add pcm_record code.

Some problems still remain:
* Playback doesn't work after recording until Rockbox is restarted.
* Gain control not implemented.
* Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz.
* Line-in recording not tested on H10.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 01:52:21 +00:00
Martin Arver
7d820556e9 Remove the files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11719 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 21:01:14 +00:00