diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-09-30 18:21:38 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-09-30 21:37:11 -0400 |
commit | 01650b8bc9e400d3b90ebfba403033c7a87bc35e (patch) | |
tree | 573c00d9d652a8bb9da9ac5c3d606d819b676e9a /firmware/export/config/xduoox3ii.h | |
parent | c2c59457e132c1d296d23363d1fb3757cdbf2080 (diff) | |
download | rockbox-01650b8bc9e400d3b90ebfba403033c7a87bc35e.tar.gz rockbox-01650b8bc9e400d3b90ebfba403033c7a87bc35e.zip |
audio: Add support for 192 and 176KHz playback
* SAMPR_CAPS_ALL -> SAMPR_CAPS_ALL_48/96/192
* All targets claiming SAMPR_CAPS_ALL now get appropriate subset
* No need to explicitly define HAVE_PLAY_FREQ
* Rates that are a multiple of 44 or 48KHz can be used for playback
Inspired by a patch by Roman Stolyarov, but substantially rewritten by myself.
Change-Id: Iaca7363521b1cb9921e047ba1004d3cbe9c9c23e
Diffstat (limited to 'firmware/export/config/xduoox3ii.h')
-rw-r--r-- | firmware/export/config/xduoox3ii.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/firmware/export/config/xduoox3ii.h b/firmware/export/config/xduoox3ii.h index 42fb926697..13072ea3dc 100644 --- a/firmware/export/config/xduoox3ii.h +++ b/firmware/export/config/xduoox3ii.h | |||
@@ -17,9 +17,6 @@ | |||
17 | #define CONFIG_PLATFORM (PLATFORM_HOSTED) | 17 | #define CONFIG_PLATFORM (PLATFORM_HOSTED) |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | |||
21 | |||
22 | |||
23 | /* define this if you have a colour LCD */ | 20 | /* define this if you have a colour LCD */ |
24 | #define HAVE_LCD_COLOR | 21 | #define HAVE_LCD_COLOR |
25 | 22 | ||
@@ -72,9 +69,6 @@ | |||
72 | /* The number of bytes reserved for loadable plugins */ | 69 | /* The number of bytes reserved for loadable plugins */ |
73 | #define PLUGIN_BUFFER_SIZE 0x100000 | 70 | #define PLUGIN_BUFFER_SIZE 0x100000 |
74 | 71 | ||
75 | |||
76 | |||
77 | |||
78 | #define HAVE_HEADPHONE_DETECTION | 72 | #define HAVE_HEADPHONE_DETECTION |
79 | 73 | ||
80 | /* KeyPad configuration for plugins */ | 74 | /* KeyPad configuration for plugins */ |
@@ -123,8 +117,7 @@ | |||
123 | #define HAVE_SW_TONE_CONTROLS | 117 | #define HAVE_SW_TONE_CONTROLS |
124 | 118 | ||
125 | /* HW codec is flexible */ | 119 | /* HW codec is flexible */ |
126 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 120 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL_192 |
127 | #define HAVE_PLAY_FREQ | ||
128 | 121 | ||
129 | /* Battery */ | 122 | /* Battery */ |
130 | #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ | 123 | #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ |