summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-09 14:55:52 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-09 17:00:27 -0400
commitae18cac2a995151abadb060feb820f2679c337fa (patch)
tree1afb6b28aee17a7ffe1a63d360ef59c0ca3cd93b
parent491b69666960356d965e6d5dbcba89faba0f9080 (diff)
downloadrockbox-ae18cac2a9.tar.gz
rockbox-ae18cac2a9.tar.bz2
rockbox-ae18cac2a9.zip
Enable full sample rate sets for X3ii, X20, and Rocker
Change-Id: I89e139efb8a7662afaaabec360e6579907f8d025
-rw-r--r--firmware/export/config/agptekrocker.h4
-rw-r--r--firmware/export/config/xduoox20.h4
-rw-r--r--firmware/export/config/xduoox3ii.h4
3 files changed, 12 insertions, 0 deletions
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 */