rockbox/firmware
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
..
asm Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets" 2012-10-24 14:05:39 +02:00
common Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
decompressor Add KEEP() around vectors in linker scripts. 2011-12-18 06:43:08 +00:00
drivers imx233: implement alarm wake up 2013-07-02 00:45:00 +02:00
export Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
include Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
libc gmtime: avoid a modulus 2012-03-18 10:09:08 +01:00
target imx233: fix sd init sequence 2013-07-02 00:45:00 +02:00
test Fix test fat failing on 64bit system (second bit of FS#12646) 2012-05-08 13:00:56 +02:00
usbstack imx233: fix ocotop/debug and usb-core for stmp3600 2013-06-24 13:17:17 +02:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c All kernel objects in code shared amongs targets (core, plugins, codecs) should be declared SHAREDBSS_ATTR as any core could potentially touch them even though they seem only to involve threads on one core. The exception is target code for particular CPUs where proper allocation is fixed. playlist.c was a little odd too-- use one mutex for the current playlist and a separate one for created playlists (still pondering the necessity of more than one). 2011-02-14 11:27:45 +00:00
bidi.c
buflib.c buflib: Allow handle to be freed entirely during the shrink callback. 2013-06-24 15:24:34 +02:00
COPYING
core_alloc.c Integrate the warble tool in the regular build system. 2012-03-03 20:19:08 +01:00
debug.c Redirect (L)DEBUGFs to adb logcat in DEBUG enabled builds. 2010-09-20 17:38:47 +00:00
eeprom_settings.c
enc_base.c FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use. 2011-12-14 21:45:25 +00:00
events.c
firmware.make Add framework to let make automatically pick optimized asm implementations over generic C ones to firmware. 2012-01-22 18:46:45 +01:00
font.c Fix checks on buflib allocated handles (0 is not a valid handle value) 2012-06-10 17:15:47 +02:00
font_cache.c remove stray debugging line 2011-11-27 16:27:20 +00:00
general.c rbpaths: Add new special dir HOME_DIR for RaaA. 2011-12-25 20:11:18 +00:00
hangul.c
ifp_usb_serial.c firmware/ : use lcd_putsf() (only in debug code) 2010-08-28 23:12:11 +00:00
kernel.c kernel: Allow queue_wait_w_tmo() to be called with TIMEOUT_BLOCK. 2012-09-28 19:40:17 +02:00
load_code.c load_code: Get rid of win32 specific code in favor SDL_LoadFunction & friends APIs. 2012-05-26 22:46:56 +02:00
logf.c Remove copy/pasted preprocessor defines that shouldn't have been included. 2012-08-06 19:20:47 -04:00
lru.c Revert r30818 2011-10-22 08:02:38 +00:00
panic.c panicf(): fix wrong font and colors being displayed. 2012-03-30 11:23:07 +02:00
pcm.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pcm_mixer.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pcm_sampr.c
pcm_sw_volume.c Provide high resolution volume and prescaler to hosted targets. 2013-04-27 06:59:27 +02:00
powermgmt.c Add set_sleeptimer_duration function in minutes 2012-10-06 11:59:13 +02:00
profile.c Remove last traces of sprintf.h 2010-05-07 02:13:47 +00:00
README
rolo.c Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
rom.lds Fix path to PP crt0 2012-01-03 04:44:27 +00:00
screendump.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
scroll_engine.c Commit FS#12454 - Faster line scroll speed by Martin Sagmuller. 2012-01-09 03:26:03 +00:00
sdmmc.c Various minor cleanups 2010-08-01 10:07:05 +00:00
sound.c Add DAC's oversampling filter roll-off selection to sound settings. 2013-05-24 11:18:16 +04:00
SOURCES Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
storage.c Remove ata_removable() and ata_present() from multidriver code. 2012-01-25 20:08:51 +01:00
system.c Fix reds. 2011-12-24 12:21:16 +00:00
thread.c Use commit_dcache() instead of commit_discard_idcache() where possible 2012-02-04 22:27:42 -05:00
timer.c
tuner.c Add stub STFM1000 tuner driver 2012-05-19 16:10:52 +02:00
usb.c USB: Detect charging-only mode upon cable insert, not host detect. 2013-05-22 02:28:31 -04:00

See docs/README