rockbox/lib/rbcodec/dsp
Michael Sevakis d37bf24d90 Enable setting of global output samplerate on certain targets.
Replaces the NATIVE_FREQUENCY constant with a configurable frequency.

The user may select 48000Hz if the hardware supports it. The default is
still 44100Hz and the minimum is 44100Hz. The setting is located in the
playback settings, under "Frequency".

"Frequency" was duplicated in english.lang for now to avoid having to
fix every .lang file for the moment and throwing everything out of sync
because of the new play_frequency feature in features.txt. The next
cleanup should combine it with the one included for recording and
generalize the ID label.

If the hardware doesn't support 48000Hz, no setting will be available.

On particular hardware where very high rates are practical and desireable,
the upper bound can be extended by patching.

The PCM mixer can be configured to play at the full hardware frequency
range. The DSP core can configure to the hardware minimum up to the
maximum playback setting (some buffers must be reserved according to
the maximum rate).

If only 44100Hz is supported or possible on a given target for playback,
using the DSP and mixer at other samperates is possible if the hardware
offers them.

Change-Id: I6023cf0c0baa8bc6292b6919b4dd3618a6a25622
Reviewed-on: http://gerrit.rockbox.org/479
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested-by: Michael Sevakis <jethead71@rockbox.org>
2013-07-06 04:22:04 +02:00
..
channel_mode.c Remove explicit config.h and system.h includes from DSP code. 2013-05-27 03:23:33 -04:00
channel_mode.h Fundamentally rewrite much of the audio DSP. 2012-04-29 10:00:56 +02:00
compressor.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
compressor.h Fundamentally rewrite much of the audio DSP. 2012-04-29 10:00:56 +02:00
crossfeed.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
crossfeed.h New crossfeed algorithm for Rockbox: "Meier" crossfeed 2012-05-28 11:34:15 +02:00
dsp_arm.S Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_arm_v6.S Fundamentally rewrite much of the audio DSP. 2012-04-29 10:00:56 +02:00
dsp_cf.S Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_core.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_core.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_filter.c Remove explicit config.h and system.h includes from DSP code. 2013-05-27 03:23:33 -04:00
dsp_filter.h Fundamentally rewrite much of the audio DSP. 2012-04-29 10:00:56 +02:00
dsp_misc.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_misc.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_proc_database.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_proc_entry.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_proc_settings.h Rename HAVE_PITCHSCREEN to HAVE_PITCHCONTROL 2012-05-09 14:32:38 +02:00
dsp_sample_input.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_sample_io.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
dsp_sample_output.c Remove explicit config.h and system.h includes from DSP code. 2013-05-27 03:23:33 -04:00
eq.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
eq.h EQ settings: Rework the settings to clean up the config file. 2013-02-09 13:05:32 +01:00
pga.c Remove explicit config.h and system.h includes from DSP code. 2013-05-27 03:23:33 -04:00
pga.h Implement universal in-PCM-driver software volume control. 2013-04-11 22:55:16 +02:00
resample.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
tdspeed.c Remove explicit config.h and system.h includes from DSP code. 2013-05-27 03:23:33 -04:00
tdspeed.h rbcodec: abstract tdspeed buffer allocation 2012-05-07 10:29:07 +02:00
tone_controls.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
tone_controls.h Fundamentally rewrite much of the audio DSP. 2012-04-29 10:00:56 +02:00