summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/sonynwzlinux.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-10-01 16:13:54 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-10-01 17:23:43 +0200
commita82ebac53a23867452a62e3bd6c2516679ac95d8 (patch)
treea03b0986f141e882f12d66b0fc05825b2008e40b /firmware/export/config/sonynwzlinux.h
parent50e93d56874dec894b81fa6fcfecc6d46525ee2a (diff)
downloadrockbox-a82ebac53a23867452a62e3bd6c2516679ac95d8.tar.gz
rockbox-a82ebac53a23867452a62e3bd6c2516679ac95d8.tar.bz2
rockbox-a82ebac53a23867452a62e3bd6c2516679ac95d8.zip
sonynwza10/a20: enable pcm frequency selection
Change-Id: I335fcdbb652253e777d0d7406545d0d44d98f4f0
Diffstat (limited to 'firmware/export/config/sonynwzlinux.h')
-rw-r--r--firmware/export/config/sonynwzlinux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config/sonynwzlinux.h b/firmware/export/config/sonynwzlinux.h
index f32c75c8b9..3ca0e014cb 100644
--- a/firmware/export/config/sonynwzlinux.h
+++ b/firmware/export/config/sonynwzlinux.h
@@ -65,6 +65,12 @@
/* There is no hardware tone control */
#define HAVE_SW_TONE_CONTROLS
+/* The A15 and A25 support more sampling rates, in fact they support crazy high bit-rates such
+ * as 176.4 and 192 kHz but Rockbox does not support those */
+#if defined(SONY_NWZA10) || defined(SONY_NWA20)
+#define HW_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_48 | SAMPR_CAP_88 | SAMPR_CAP_96)
+#endif
+
/* KeyPad configuration for plugins */
#define CONFIG_KEYPAD SONY_NWZ_PAD
#define HAS_BUTTON_HOLD