forked from len0rd/rockbox
imx233: Enable 96/192K playback for all imx233 targets that have room
Change-Id: Ief00cc9243af3168f0c088520936137b64f3b581
This commit is contained in:
parent
c1d4bf290c
commit
1916aca7f3
11 changed files with 35 additions and 26 deletions
|
@ -11,12 +11,12 @@
|
|||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
|
||||
/* define this if you have recording possibility */
|
||||
#define HAVE_RECORDING
|
||||
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Default recording levels */
|
||||
#define DEFAULT_REC_MIC_GAIN 23
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
#define MODEL_NUMBER 87
|
||||
#define MODEL_NAME "Creative ZEN Mozaic"
|
||||
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
|
||||
/* define this if you have recording possibility */
|
||||
#define HAVE_RECORDING
|
||||
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Default recording levels */
|
||||
#define DEFAULT_REC_MIC_GAIN 23
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
#define MODEL_NUMBER 92
|
||||
#define MODEL_NAME "Creative ZEN V"
|
||||
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
|
||||
/* define this if you have recording possibility */
|
||||
#define HAVE_RECORDING
|
||||
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Default recording levels */
|
||||
#define DEFAULT_REC_MIC_GAIN 23
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
#define MODEL_NUMBER 86
|
||||
#define MODEL_NAME "Creative Zen X-Fi"
|
||||
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
|
||||
/* define this if you have recording possibility */
|
||||
#define HAVE_RECORDING
|
||||
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Default recording levels */
|
||||
#define DEFAULT_REC_MIC_GAIN 23
|
||||
|
|
|
@ -11,12 +11,14 @@
|
|||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
// HW supports it but our buffers don't fit.
|
||||
//#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
|
||||
/* define this if you have recording possibility */
|
||||
#define HAVE_RECORDING
|
||||
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Default recording levels */
|
||||
#define DEFAULT_REC_MIC_GAIN 23
|
||||
|
@ -27,8 +29,6 @@
|
|||
explicitly if different */
|
||||
#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
|
||||
|
||||
|
||||
|
||||
/* define this if you have a colour LCD */
|
||||
#define HAVE_LCD_COLOR
|
||||
|
||||
|
|
|
@ -11,12 +11,14 @@
|
|||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
// HW supports it but our buffers don't fit.
|
||||
//#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
|
||||
/* define this if you have recording possibility */
|
||||
#define HAVE_RECORDING
|
||||
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Default recording levels */
|
||||
#define DEFAULT_REC_MIC_GAIN 23
|
||||
|
@ -27,8 +29,6 @@
|
|||
explicitly if different */
|
||||
#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
|
||||
|
||||
|
||||
|
||||
/* define this if you have a colour LCD */
|
||||
#define HAVE_LCD_COLOR
|
||||
|
||||
|
|
|
@ -9,12 +9,14 @@
|
|||
#define MODEL_NUMBER 94
|
||||
#define MODEL_NAME "Creative Zen X-Fi Style"
|
||||
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
// HW can do it but we don't have the IRAM for mix buffers
|
||||
//#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* define this if you have recording possibility */
|
||||
#define HAVE_RECORDING
|
||||
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Default recording levels */
|
||||
#define DEFAULT_REC_MIC_GAIN 23
|
||||
|
|
|
@ -13,12 +13,14 @@
|
|||
/* define boot redirect file name allows booting from external drives */
|
||||
#define BOOT_REDIR "rockbox_main.fuze+"
|
||||
|
||||
// HW can do it but we don't have the IRAM for mix buffers
|
||||
//#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
|
||||
/* define this if you have recording possibility */
|
||||
#define HAVE_RECORDING
|
||||
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_48
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Default recording levels */
|
||||
#define DEFAULT_REC_MIC_GAIN 23
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
// HW can do it but we don't have the IRAM for mix buffers
|
||||
//#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Define bitmask of input sources - recordable bitmask can be defined
|
||||
explicitly if different */
|
||||
#define INPUT_SRC_CAPS SRC_CAP_FMRADIO
|
||||
|
||||
|
||||
|
||||
/* define this if you have a colour LCD */
|
||||
#define HAVE_LCD_COLOR
|
||||
|
||||
|
@ -83,9 +83,6 @@
|
|||
/* Define this to enable morse code input */
|
||||
#define HAVE_MORSE_INPUT
|
||||
|
||||
|
||||
|
||||
|
||||
/* LCD dimensions */
|
||||
#define LCD_WIDTH 240
|
||||
#define LCD_HEIGHT 320
|
||||
|
@ -190,4 +187,3 @@
|
|||
|
||||
#define INCLUDE_TIMEOUT_API
|
||||
|
||||
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
// HW can do it but we don't have the IRAM for mix buffers
|
||||
//#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_96
|
||||
|
||||
/* Define bitmask of input sources - recordable bitmask can be defined
|
||||
explicitly if different */
|
||||
#define INPUT_SRC_CAPS SRC_CAP_FMRADIO
|
||||
|
||||
|
||||
|
||||
/* define this if you have a colour LCD */
|
||||
#define HAVE_LCD_COLOR
|
||||
|
||||
|
|
9
firmware/export/fiiolinux_codec.h
Normal file
9
firmware/export/fiiolinux_codec.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef __FIIOLINUX_CODEC__
|
||||
#define __FIIOLINUX_CODEC__
|
||||
|
||||
#define AUDIOHW_CAPS (FILTER_ROLL_OFF_CAP)
|
||||
AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -100, 0, -30)
|
||||
AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0)
|
||||
#endif
|
||||
|
||||
void audiohw_mute(int mute);
|
Loading…
Add table
Add a link
Reference in a new issue