From ae18cac2a995151abadb060feb820f2679c337fa Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 9 Aug 2020 14:55:52 -0400 Subject: [PATCH] Enable full sample rate sets for X3ii, X20, and Rocker Change-Id: I89e139efb8a7662afaaabec360e6579907f8d025 --- firmware/export/config/agptekrocker.h | 4 ++++ firmware/export/config/xduoox20.h | 4 ++++ firmware/export/config/xduoox3ii.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/firmware/export/config/agptekrocker.h b/firmware/export/config/agptekrocker.h index b0ed88d113..049be7f767 100644 --- a/firmware/export/config/agptekrocker.h +++ b/firmware/export/config/agptekrocker.h @@ -123,6 +123,10 @@ /* We don't have hardware controls */ #define HAVE_SW_TONE_CONTROLS +/* HW codec is flexible */ +#define HW_SAMPR_CAPS SAMPR_CAP_ALL +#define HAVE_PLAY_FREQ + /* Battery */ #define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity */ #define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */ diff --git a/firmware/export/config/xduoox20.h b/firmware/export/config/xduoox20.h index 7d298112c6..59c9b86fc4 100644 --- a/firmware/export/config/xduoox20.h +++ b/firmware/export/config/xduoox20.h @@ -122,6 +122,10 @@ /* We don't have hardware controls */ #define HAVE_SW_TONE_CONTROLS +/* HW codec is flexible */ +#define HW_SAMPR_CAPS SAMPR_CAP_ALL +#define HAVE_PLAY_FREQ + /* Battery */ #define BATTERY_CAPACITY_DEFAULT 2400 /* default battery capacity */ #define BATTERY_CAPACITY_MIN 2400 /* min. capacity selectable */ diff --git a/firmware/export/config/xduoox3ii.h b/firmware/export/config/xduoox3ii.h index e9bf8ba51c..a02c14db8b 100644 --- a/firmware/export/config/xduoox3ii.h +++ b/firmware/export/config/xduoox3ii.h @@ -122,6 +122,10 @@ /* We don't have hardware controls */ #define HAVE_SW_TONE_CONTROLS +/* HW codec is flexible */ +#define HW_SAMPR_CAPS SAMPR_CAP_ALL +#define HAVE_PLAY_FREQ + /* Battery */ #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ #define BATTERY_CAPACITY_MIN 2000 /* min. capacity selectable */