d37bf24d90
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>
280 lines
4 KiB
Text
280 lines
4 KiB
Text
/* This file controls which strings are included when rockbox is built and
|
|
when the .lng and .voice files are built. That means that a change in this
|
|
file will break compatibility with older .lng and .voice files and that those
|
|
version numbers should be updated. It also means that changing defines in
|
|
the various config*.h files could also break back compatibility */
|
|
|
|
#if defined(HAVE_ACCESSORY_SUPPLY)
|
|
accessory_supply
|
|
#endif
|
|
|
|
#if defined(HAVE_AGC)
|
|
agc
|
|
#endif
|
|
|
|
#if defined(HAVE_RTC_ALARM)
|
|
alarm
|
|
#endif
|
|
|
|
#if defined(HAVE_BACKLIGHT_BRIGHTNESS)
|
|
backlight_brightness
|
|
#endif
|
|
|
|
#if BATTERY_TYPES_COUNT > 1
|
|
battery_types
|
|
#endif
|
|
|
|
#if defined(HAVE_BUTTON_LIGHT)
|
|
button_light
|
|
#endif
|
|
|
|
#if defined(HAVE_BUTTONLIGHT_BRIGHTNESS)
|
|
buttonlight_brightness
|
|
#endif
|
|
|
|
#if defined(HAVE_CROSSFADE)
|
|
crossfade
|
|
#endif
|
|
|
|
#if defined(HAVE_DIRCACHE)
|
|
dircache
|
|
#endif
|
|
|
|
#if defined(HAVE_FLASH_STORAGE)
|
|
flash_storage
|
|
#endif
|
|
|
|
#if defined(HAVE_HEADPHONE_DETECTION)
|
|
headphone_detection
|
|
#endif
|
|
|
|
#if defined(HAS_BUTTON_HOLD)
|
|
hold_button
|
|
#endif
|
|
|
|
#if defined(HAVE_HOTKEY)
|
|
hotkey
|
|
#endif
|
|
|
|
#if defined(HAVE_LCD_BITMAP)
|
|
lcd_bitmap
|
|
#endif
|
|
|
|
#if LCD_DEPTH > 1
|
|
lcd_non-mono
|
|
#endif
|
|
|
|
#if defined(HAVE_LCD_COLOR)
|
|
lcd_color
|
|
#endif
|
|
|
|
#if defined(HAVE_LCD_INVERT)
|
|
lcd_invert
|
|
#endif
|
|
|
|
#if defined(HAVE_LCD_SLEEP)
|
|
lcd_sleep
|
|
#endif
|
|
|
|
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
|
|
masf
|
|
#endif
|
|
|
|
#if (CONFIG_CODEC == MAS3507D)
|
|
masd
|
|
#endif
|
|
|
|
#if defined(HAVE_MORSE_INPUT)
|
|
morse_input
|
|
#endif
|
|
|
|
#if defined(HAVE_PITCHCONTROL)
|
|
pitchscreen
|
|
#endif
|
|
|
|
#if defined(HAVE_MULTIVOLUME)
|
|
multivolume
|
|
#endif
|
|
|
|
#if defined(HAVE_MULTIDRIVE) && defined(USB_ENABLE_STORAGE)
|
|
multidrive_usb
|
|
#endif
|
|
|
|
#if defined(HAVE_QUICKSCREEN)
|
|
quickscreen
|
|
#endif
|
|
|
|
#if CONFIG_TUNER != 0
|
|
radio
|
|
#ifdef HAVE_REMOTE_LCD
|
|
radio_remote
|
|
#endif
|
|
#endif
|
|
|
|
#if (CONFIG_KEYPAD == RECORDER_PAD)
|
|
recorder_pad
|
|
#if defined(CONFIG_TUNER)
|
|
radio_screen_button_bar
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(HAVE_RECORDING)
|
|
recording
|
|
#if CONFIG_CODEC == SWCODEC
|
|
recording_swcodec
|
|
#else
|
|
recording_hwcodec
|
|
#endif
|
|
#if defined(HAVE_LINE_IN)
|
|
recording_linein
|
|
#endif
|
|
#if defined(HAVE_MIC_IN)
|
|
recording_mic
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(HAVE_HISTOGRAM)
|
|
histogram
|
|
#endif
|
|
|
|
#if defined(HAVE_REMOTE_LCD)
|
|
remote
|
|
remote_lcd_invert
|
|
#endif
|
|
|
|
#if defined(HAVE_REMOTE_LCD_TICKING)
|
|
remote_ticking
|
|
#endif
|
|
|
|
#if CONFIG_RTC
|
|
rtc
|
|
#endif
|
|
|
|
#if defined(IPOD_ACCESSORY_PROTOCOL)
|
|
serial_port
|
|
#endif
|
|
|
|
#if defined(ARCHOS_RECORDER) || defined(ARCHOS_PLAYER)
|
|
soft_shutdown
|
|
#endif
|
|
|
|
#if defined(HAVE_SPDIF_POWER)
|
|
spdif_power
|
|
#endif
|
|
|
|
#if defined(HAVE_SPEAKER)
|
|
speaker
|
|
#endif
|
|
|
|
#if CONFIG_CODEC == SWCODEC
|
|
swcodec
|
|
#else
|
|
hwcodec
|
|
#endif
|
|
|
|
#if defined(HAVE_TAGCACHE)
|
|
tagcache
|
|
#endif
|
|
|
|
#if defined(HAVE_TC_RAMCACHE)
|
|
tc_ramcache
|
|
#endif
|
|
|
|
#if CONFIG_CHARGING
|
|
charging
|
|
#if defined(HAVE_USB_CHARGING_ENABLE)
|
|
usb_charging_enable
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(HAVE_WHEEL_ACCELERATION)
|
|
wheel_acceleration
|
|
#endif
|
|
|
|
#if defined(HAVE_LINEOUT_POWEROFF)
|
|
lineout_poweroff
|
|
#endif
|
|
|
|
#if defined(HAVE_TOUCHSCREEN)
|
|
touchscreen
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* These features are only used by the manual so they won't break binary
|
|
* compatibility
|
|
*/
|
|
|
|
#if (PLUGIN_BUFFER_SIZE >= 0x80000)
|
|
large_plugin_buffer
|
|
#endif
|
|
|
|
#if defined(AB_REPEAT_ENABLE) && !defined(ACTION_WPSAB_SINGLE)
|
|
ab_repeat_buttons
|
|
#endif
|
|
|
|
#if defined(HAVE_ALBUMART)
|
|
albumart
|
|
#endif
|
|
|
|
#if defined(HAVE_BACKLIGHT_FADING_INT_SETTING)
|
|
backlight_fade_int
|
|
#elif defined(HAVE_BACKLIGHT_FADING_BOOL_SETTING)
|
|
backlight_fade_bool
|
|
#endif
|
|
|
|
#if defined(HAVE_DISK_STORAGE)
|
|
disk_storage
|
|
#endif
|
|
|
|
#if defined(HAS_REMOTE_BUTTON_HOLD)
|
|
remote_button_hold
|
|
#endif
|
|
|
|
#if defined(HAVE_LCD_CHARCELLS)
|
|
lcd_charcell
|
|
#endif
|
|
|
|
#if defined(HAVE_LCD_FLIP)
|
|
lcd_flip
|
|
#endif
|
|
|
|
#if defined(HAVE_LCD_CONTRAST)
|
|
lcd_contrast
|
|
#endif
|
|
|
|
#if defined(HAVE_SCROLLWHEEL)
|
|
scrollwheel
|
|
#endif
|
|
|
|
#if defined(HAVE_USB_POWER)
|
|
usb_power
|
|
#endif
|
|
|
|
#if defined(HAVE_USBSTACK) && defined(USE_ROCKBOX_USB)
|
|
usbstack
|
|
#endif
|
|
|
|
#if defined(USB_ENABLE_HID)
|
|
usb_hid
|
|
#if defined(HAVE_USB_HID_MOUSE)
|
|
usb_hid_mouse
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(HAVE_SPDIF_IN)
|
|
recording_digital
|
|
#endif
|
|
|
|
#if MEMORYSIZE <= 2
|
|
lowmem
|
|
#endif
|
|
|
|
#if defined(HAVE_HARDWARE_CLICK)
|
|
hardware_click
|
|
#endif
|
|
|
|
#if defined(HAVE_PLAY_FREQ)
|
|
play_frequency
|
|
#endif
|