From 01650b8bc9e400d3b90ebfba403033c7a87bc35e Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 30 Sep 2020 18:21:38 -0400 Subject: 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 --- firmware/export/config/xduoox3ii.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'firmware/export/config/xduoox3ii.h') 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 @@ #define CONFIG_PLATFORM (PLATFORM_HOSTED) #endif - - - /* define this if you have a colour LCD */ #define HAVE_LCD_COLOR @@ -72,9 +69,6 @@ /* The number of bytes reserved for loadable plugins */ #define PLUGIN_BUFFER_SIZE 0x100000 - - - #define HAVE_HEADPHONE_DETECTION /* KeyPad configuration for plugins */ @@ -123,8 +117,7 @@ #define HAVE_SW_TONE_CONTROLS /* HW codec is flexible */ -#define HW_SAMPR_CAPS SAMPR_CAP_ALL -#define HAVE_PLAY_FREQ +#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192 /* Battery */ #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ -- cgit v1.2.3