summaryrefslogtreecommitdiff
path: root/apps/dsp.c (follow)
Commit message (Collapse)AuthorAge
* Partially revert svn r24888 that causes build failure on coldfire targetsBertrik Sikken2010-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24889 a1c6a512-1295-4272-9138-f99709370657
* Kill some global variablesBertrik Sikken2010-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24888 a1c6a512-1295-4272-9138-f99709370657
* Compressor: simplify makeup gain setting, expand release range, finally ↵Jeffrey Goode2009-11-04
| | | | | | provide documention in the manual! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23518 a1c6a512-1295-4272-9138-f99709370657
* Tweak logf statementsJeffrey Goode2009-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23486 a1c6a512-1295-4272-9138-f99709370657
* Code cleanup in dsp.c and misc.c, some commentsJeffrey Goode2009-10-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23314 a1c6a512-1295-4272-9138-f99709370657
* Compressor: save lots of RAM, bug fix to work with internally clipped samplesJeffrey Goode2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23268 a1c6a512-1295-4272-9138-f99709370657
* Cleanup some logf info in dsp_set_compressorJeffrey Goode2009-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22890 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow: braces around logf statementsJeffrey Goode2009-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22834 a1c6a512-1295-4272-9138-f99709370657
* Replace limiter with dynamic range compressorJeffrey Goode2009-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22832 a1c6a512-1295-4272-9138-f99709370657
* Fix red: remove buffer from IRAMJeffrey Goode2009-09-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22773 a1c6a512-1295-4272-9138-f99709370657
* Potential fix for FS#10572: limiter + time stretch produces garbage outputJeffrey Goode2009-09-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22772 a1c6a512-1295-4272-9138-f99709370657
* Performance improvement in limiter, about 2%Jeffrey Goode2009-09-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22735 a1c6a512-1295-4272-9138-f99709370657
* Fix subtle bug in limiterJeffrey Goode2009-09-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22725 a1c6a512-1295-4272-9138-f99709370657
* FS#10199: Adds limiter DSP functionJeffrey Goode2009-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22394 a1c6a512-1295-4272-9138-f99709370657
* FS#10446: Bug defense in dsp.c, minor tweaks and commentsJeffrey Goode2009-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22282 a1c6a512-1295-4272-9138-f99709370657
* * Move DSP_CALLBACK_* enum to sound.hMaurus Cuelenaere2009-08-01
| | | | | | | | | * Add software based volume control for a certain range (SW_VOLUME_MIN -> SW_VOLUME_MAX) * Make Onda VX747 use it * Don't change volume or frequency in Ingenic Jz4740 codec driver when they're already set git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22106 a1c6a512-1295-4272-9138-f99709370657
* Improvements to the pitch screen UI (FS#10359 by David Johnston)Alexander Levin2009-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21781 a1c6a512-1295-4272-9138-f99709370657
* Take 2 at 'Consolidate all fixed point math routines in one library' ↵Maurus Cuelenaere2009-07-05
| | | | | | (FS#10400) by Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21664 a1c6a512-1295-4272-9138-f99709370657
* Revert "Consolidate all fixed point math routines in one library (FS#10400) ↵Maurus Cuelenaere2009-07-04
| | | | | | by Jeffrey Goode" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21635 a1c6a512-1295-4272-9138-f99709370657
* Consolidate all fixed point math routines in one library (FS#10400) by ↵Maurus Cuelenaere2009-07-04
| | | | | | Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21633 a1c6a512-1295-4272-9138-f99709370657
* Merge the "Replaygain Off" option into the replaygain type; eliminate the ↵Alexander Levin2009-06-20
| | | | | | "On/Off" setting (FS#10356). All WPS tags should work as before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21414 a1c6a512-1295-4272-9138-f99709370657
* Fix silly typo in comment, but nothing more.Steve Bavin2009-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21318 a1c6a512-1295-4272-9138-f99709370657
* Rework internal timestretch enable/disable code - fix FS#10341(hopefully).Steve Bavin2009-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21317 a1c6a512-1295-4272-9138-f99709370657
* Renamed routines and changed comments for clarity.Steve Bavin2009-06-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21309 a1c6a512-1295-4272-9138-f99709370657
* Get rid of tdspeed_enabled in struct dsp_config and use the global_settings ↵Thomas Martitz2009-06-16
| | | | | | member instead. That one needs to be checked in tdspeed_init() as well, else the buffers are always allocated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21305 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#10331 and get mpegplayer working again.Steve Bavin2009-06-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21293 a1c6a512-1295-4272-9138-f99709370657
* FS#8894 - Add time stretching feature to all SWCODEC targets - the current ↵Steve Bavin2009-06-12
| | | | | | algorithm is best for spoken word. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21258 a1c6a512-1295-4272-9138-f99709370657
* Something horrible happened with binsize, so revert FS#8894 completely (for ↵Steve Bavin2008-09-08
| | | | | | now). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18449 a1c6a512-1295-4272-9138-f99709370657
* Add timestretching from FS#8894, as written by Stephane Doyon based on work ↵Steve Bavin2008-09-08
| | | | | | by Nicolas Pitre. Shouldn't affect playback unless it's explicitly enabled, but let me know if it does. Currently has a dedicated setting, but maybe inclusion of the code will inspire someone to integrate this with the pitch screen... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18446 a1c6a512-1295-4272-9138-f99709370657
* Fix FS #8361 - Custom stereo width reset by changing treble on e200. Thanks ↵Dan Everton2008-07-07
| | | | | | to Tomer Shalev for the investigation work and the patch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17976 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Made source files #include the header file that they implement to make sure ↵Bertrik Sikken2008-05-03
| | | | | | they are in sync. Made some local functions static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
* Remove FRACMUL_8_LOOP macro. This only benefited Coldfire, and we have ↵Thom Johansen2008-04-08
| | | | | | assembler routines for the gain function there now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17040 a1c6a512-1295-4272-9138-f99709370657
* Remove ACC_INIT, ACC and GET_ACC macros. These were quite Coldfire-centric ↵Thom Johansen2008-04-08
| | | | | | macros which really aren't needed since all performance sensitive target DSP code should be assembler anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17037 a1c6a512-1295-4272-9138-f99709370657
* Turnaround time must be included in dsp yielding to throttle against other ↵Michael Sevakis2008-03-20
| | | | | | threads. Do at least one per buffer full as well (or things can stick a bit on initial input triggers). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16721 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#8750. Add ARM assembler for the dsp-functions ↵Andree Buschmann2008-03-19
| | | | | | channels_process_sound_chan_mono(), channels_process_sound_chan_karaoke(), sample_output_mono() and sample_output_stereo(). By measurement the speed up is ~75% for the first three functions and ~40% for sample_output_stereo(). Additionally avoid calling yield() to often in dsp.c -- it is now limited to once per tick. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16717 a1c6a512-1295-4272-9138-f99709370657
* Crossfeed settings used to be stored inverted in the cfg file for legacy ↵Thom Johansen2007-12-08
| | | | | | reasons, change that and kill some identical formatting functions while we're at it. NOTE TO CROSSFEED USERS: this will completely garble your crossfeed settings, write them down if you want to keep them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15895 a1c6a512-1295-4272-9138-f99709370657
* FS #8106. Fix overflow when dithering files that clip a lot, caused by noise ↵Thom Johansen2007-12-04
| | | | | | shaping error being calculated after clipping instead of before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15873 a1c6a512-1295-4272-9138-f99709370657
* Make speex the new voice format for SWCODEC targets (non-Archos). Remove ↵Michael Sevakis2007-11-18
| | | | | | codec swapping and build speex voice decoding directly into the core binary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15668 a1c6a512-1295-4272-9138-f99709370657
* Just because it's #if 0 doesn't make it inferior...Thom Johansen2007-10-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15370 a1c6a512-1295-4272-9138-f99709370657
* Fix faulty clipping when dithering is enabled (thanks to Jens Arnold). This ↵Thom Johansen2007-10-29
| | | | | | bug would only affect people using WMA. Also, add a small comment in an unrelated place. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15369 a1c6a512-1295-4272-9138-f99709370657
* FS #7286. Do correct rounding of final 16 bit samples before sending to DAC, ↵Thom Johansen2007-08-29
| | | | | | for you golden-eared people. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14514 a1c6a512-1295-4272-9138-f99709370657
* Code cleaning - remove some unnecessary defined(SIMULATOR) checksDave Chapman2007-05-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#6918 - Remove Nested Functions by Tim Ross. Adjust some names. ↵Michael Sevakis2007-03-29
| | | | | | 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
* SWCODEC: Need to call resampler_new_delta when resetting DSP.Michael Sevakis2007-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12929 a1c6a512-1295-4272-9138-f99709370657
* SWCODEC & Coldfire: Do some more DSP straigntening out. Do as much Coldfire ↵Michael Sevakis2007-03-25
| | | | | | optimizing as seems reasonably possible by jumping through some hoops to avoid stalls. Further boost reduction will just be fractional points if taken to extremes-- not worth it. Wrap up the ASM for awhile. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12905 a1c6a512-1295-4272-9138-f99709370657
* Use the new DSP callback functionality in firmware/sound.c to deal with ↵Thom Johansen2007-03-07
| | | | | | SWCODEC stereo width and channel configuration instead of the old more spread out #ifdef based approach. Rename the DSP functions involved for more consistent naming. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12677 a1c6a512-1295-4272-9138-f99709370657
* Factor first order shelving filter code out for easier reuse and replace the ↵Thom Johansen2007-03-07
| | | | | | crossfeed filter with it. Crossfeed _should_ still sound the same, so please do tell if it doesn't. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12674 a1c6a512-1295-4272-9138-f99709370657
* SWCODEC: Patchup the short crossfade glitching reported for FLAC but seemed ↵Michael Sevakis2007-02-28
| | | | | | not limited to FLAC actually. Crossfade doesn't like being hand the larger chunks that the dsp was now able to process when not resampling. The real fix is making it not matter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12521 a1c6a512-1295-4272-9138-f99709370657
* Fix a problem when dithering mono audio. Left samples weren't being ↵Michael Sevakis2007-02-27
| | | | | | duplicated into right channel in pcm buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12509 a1c6a512-1295-4272-9138-f99709370657