summaryrefslogtreecommitdiff
path: root/apps/dsp.c (follow)
Commit message (Collapse)AuthorAge
* Update equalizer precut value as it's adjusted.Dan Everton2006-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9332 a1c6a512-1295-4272-9138-f99709370657
* Add precut setting for the equalizer and add some more comments to the eq ↵Dan Everton2006-03-27
| | | | | | menu code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9298 a1c6a512-1295-4272-9138-f99709370657
* Fixed potential sample overflow in variable stereo width > 100% and karaoke ↵Jens Arnold2006-03-26
| | | | | | mode, both hwcodec and swcodec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9263 a1c6a512-1295-4272-9138-f99709370657
* Slightly clearer code in dsp_eq_update_data.Dan Everton2006-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9231 a1c6a512-1295-4272-9138-f99709370657
* Keep assembler versions of DSP routines in dsp_arch.S files. This alsoThom Johansen2006-03-23
| | | | | | | | | solves the annoying register allocator problem when not using -fomit-frame-pointer for the Coldfire assembler optimised crossfeed routine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9215 a1c6a512-1295-4272-9138-f99709370657
* Use size-correct casts. Fixes some AMD64 sim warnings.Thom Johansen2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9192 a1c6a512-1295-4272-9138-f99709370657
* Enabled channel configuration and stereo width option on software codecThom Johansen2006-03-21
| | | | | | | platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9173 a1c6a512-1295-4272-9138-f99709370657
* Samples should always be 32 bit on all platforms, so change mostThom Johansen2006-03-19
| | | | | | | | | occurences of long to int32_t to enable working sounds also on 64 bit sims. Note that some codecs (MP3 and Wavpack) still have other 64 bit related problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9120 a1c6a512-1295-4272-9138-f99709370657
* Added a couple inline assembly functions for ARM targets. This just aboutDave Bryant2006-03-04
| | | | | | | | doubles the speed of crossfeed and makes a more modest improvement to the replaygain loop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8904 a1c6a512-1295-4272-9138-f99709370657
* Speed dsp gain up slightly mostly with better code orderBrandon Low2006-02-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8758 a1c6a512-1295-4272-9138-f99709370657
* Reduce CPU usage while changing EQ by only updating the coefficients of the ↵Dan Everton2006-02-17
| | | | | | band being modified. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8718 a1c6a512-1295-4272-9138-f99709370657
* Use EMAC rounding mode in EQ coef calc for better precision.Thom Johansen2006-02-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8655 a1c6a512-1295-4272-9138-f99709370657
* Quick fix for crossfeed on iPod. Still needs optimization, but at least noDave Bryant2006-02-08
| | | | | | | more unpleasant surprises! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8618 a1c6a512-1295-4272-9138-f99709370657
* Rework PCM bufferBrandon Low2006-02-07
| | | | | | | | | | | | | | | * Linked list instead of static array buffer pointers * Variable sized chunks * Improved mix handling * Reduction in duplicated code * Reduced IRAM usage w/o sacrificing performance * Converted to almost entirely unsigned math * Add pause function to reduce pcm_* exposure to playback. This WILL break playback on the iPod until linuxstb makes a followup commit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8612 a1c6a512-1295-4272-9138-f99709370657
* Add Equalizer configuration to Sound Settings menu.Dan Everton2006-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8606 a1c6a512-1295-4272-9138-f99709370657
* Committed a little too muchLinus Nielsen Feltzing2006-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8569 a1c6a512-1295-4272-9138-f99709370657
* The simulator should use the keypad period key, not the regular oneLinus Nielsen Feltzing2006-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8568 a1c6a512-1295-4272-9138-f99709370657
* No need for different name members in eq_data struct.Thom Johansen2006-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8534 a1c6a512-1295-4272-9138-f99709370657
* Recommit reverted changes and add the missing file...Thom Johansen2006-01-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8484 a1c6a512-1295-4272-9138-f99709370657
* Backout part of the last change to fix builds for nowBrandon Low2006-01-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8479 a1c6a512-1295-4272-9138-f99709370657
* Initial multi-band EQ support for software codec platforms. Now go startThom Johansen2006-01-29
| | | | | | | making that user interface! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8478 a1c6a512-1295-4272-9138-f99709370657
* This wont work after all. Someone please introduce -fomit-frame-pointer for ↵Thom Johansen2005-12-15
| | | | | | debug builds, we don't need the frame pointer anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8243 a1c6a512-1295-4272-9138-f99709370657
* Fix typo and disable crossfeed assembler version for DEBUG builds, which ↵Thom Johansen2005-12-15
| | | | | | obviously tend to need the frame pointer which i use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8242 a1c6a512-1295-4272-9138-f99709370657
* Playback speed commit broke mono resampling, this fixes it again.Thom Johansen2005-11-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8111 a1c6a512-1295-4272-9138-f99709370657
* Enabled playback speed adjustment support for H1x0. Modified the resampler ↵Thom Johansen2005-11-28
| | | | | | to do both channels in one pass. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8099 a1c6a512-1295-4272-9138-f99709370657
* Replaygain support uses the accumulator extension bytss, so disable ↵Thom Johansen2005-11-23
| | | | | | rounding. Fix some typos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8051 a1c6a512-1295-4272-9138-f99709370657
* Added Coldfire ASM optimised crossfeed function. Have not measured speed ↵Thom Johansen2005-11-15
| | | | | | improvement, but it is faster. Also moved activation check for crossfeed out of function to avoid a function call if it's not activated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7891 a1c6a512-1295-4272-9138-f99709370657
* fix crossfeed on non-coldfire platforms and the simulatorMarcoen Hirschberg2005-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7888 a1c6a512-1295-4272-9138-f99709370657
* add crossfeed dsp effect. Makes some music more enjoyable with headphones.Marcoen Hirschberg2005-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7884 a1c6a512-1295-4272-9138-f99709370657
* Automatically set clipping limits based on sample precision.Thom Johansen2005-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7719 a1c6a512-1295-4272-9138-f99709370657
* Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR ↵Jens Arnold2005-10-19
| | | | | | attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Added new ReplayGain type: track gain if shuffle mode is active, ↵Magnus Holmgren2005-09-24
| | | | | | album gain otherwise. Properly apply ReplayGain settings on config file load. Bumped config version, so save your settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7558 a1c6a512-1295-4272-9138-f99709370657
* Adapted codecs and DSP system to having MACSR saved in thread context.Thom Johansen2005-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7485 a1c6a512-1295-4272-9138-f99709370657
* Initial voice ui support for software codec platforms. Added also aMiika Pekkarinen2005-08-20
| | | | | | | beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
* iriver: slightly faster replaygain processing and clipping.Magnus Holmgren2005-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7353 a1c6a512-1295-4272-9138-f99709370657
* iriver: Do correct ReplayGain calculation. Fixes distortion problems (and ↵Magnus Holmgren2005-08-17
| | | | | | lowers playback volume). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7343 a1c6a512-1295-4272-9138-f99709370657
* Added pre-amp setting for files with ReplayGain information.Magnus Holmgren2005-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7303 a1c6a512-1295-4272-9138-f99709370657
* patch #1255805 by Frederic Devernay - fix to buffer overflow in dsp.cLinus Nielsen Feltzing2005-08-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7301 a1c6a512-1295-4272-9138-f99709370657
* iriver: added a DSP_SWITCH_FREQUENCY config, for on-the-fly sample frequency ↵Linus Nielsen Feltzing2005-08-10
| | | | | | changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7298 a1c6a512-1295-4272-9138-f99709370657
* Make simulator version of FRACMUL correct. Also corrected related comments.Magnus Holmgren2005-07-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7261 a1c6a512-1295-4272-9138-f99709370657
* Speed up clipping; makes Vorbis decoding almost as fast as before the ↵Magnus Holmgren2005-07-25
| | | | | | VorbisGain addition. Speeds up MP3 decoding as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7239 a1c6a512-1295-4272-9138-f99709370657
* Added ReplayGain support to WavPack, including a small fix to dsp.cDave Bryant2005-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7237 a1c6a512-1295-4272-9138-f99709370657
* ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.Magnus Holmgren2005-07-24
| | | | | | | | Note that there is a small delay from leaving a setting until the change can be heard (due to audio data buffering). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
* oops... should compile without warnings nowChristian Gmeiner2005-07-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7187 a1c6a512-1295-4272-9138-f99709370657
* Added CPU_COLDFIRE define - one step closer to iAudio-portChristian Gmeiner2005-07-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
* Restructured DSP code for readability and speed. Simplified the API.Magnus Holmgren2005-07-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7174 a1c6a512-1295-4272-9138-f99709370657
* Removed the bogus debugf.Miika Pekkarinen2005-07-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7172 a1c6a512-1295-4272-9138-f99709370657
* Correctly read the next track metadata information. Don't crash ifMiika Pekkarinen2005-07-16
| | | | | | | frequency is ever set to 0. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7171 a1c6a512-1295-4272-9138-f99709370657
* (1) Patch 1231281: Alignment tags for the WPS by Per Holmaeng. Use %al for ↵Christi Scarborough2005-07-05
| | | | | | left align, %ac for centre, %ar for right. It is currently not possible to use more than one %a? tag per WPS line. (2) Lots of tabs removed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7034 a1c6a512-1295-4272-9138-f99709370657
* Fixed mono playback support for mp3. Added two other event handlers inMiika Pekkarinen2005-07-02
| | | | | | | playback.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6986 a1c6a512-1295-4272-9138-f99709370657