summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-08-07 11:14:15 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-08-07 11:18:19 -0400
commit39fff5cb5330c1b65ad49b094b54d60078e8a31e (patch)
tree9b492d8269ba0be76f11f516866df2b25cfd504a /firmware/export
parenteeb0aaf36f6d3a322e716d202efc2754735a6280 (diff)
downloadrockbox-39fff5cb5330c1b65ad49b094b54d60078e8a31e.tar.gz
rockbox-39fff5cb5330c1b65ad49b094b54d60078e8a31e.zip
move PCM_NATIVE_BITDEPTH definiton into global config code
Change-Id: I391bcffca670916c2c88426e2ba2603351326cee
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/audiohw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h
index 5a706da3b8..3f1bcb6feb 100644
--- a/firmware/export/audiohw.h
+++ b/firmware/export/audiohw.h
@@ -692,4 +692,9 @@ AUDIOHW_SETTING(BALANCE, "%", 0, 1, -100, 100, 0)
AUDIOHW_SETTING(CHANNELS, "", 0, 1, 0, 5, 0)
AUDIOHW_SETTING(STEREO_WIDTH, "%", 0, 5, 0, 250, 100)
+/* if not otherwise defined, set to 16 */
+#if !defined(PCM_NATIVE_BITDEPTH)
+# define PCM_NATIVE_BITDEPTH 16
+#endif
+
#endif /* _AUDIOHW_H_ */