summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-18 16:09:07 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-18 16:09:07 +0200
commitd8368d58b0bd073ef6bed6a7b7d51c671b8ea4ae (patch)
treeefde4bae3aa10379e8f489a0026602dea8c27ed1 /firmware/export
parent7fb0b893f9b6d167d4849e90fa923e76a68d72ce (diff)
downloadrockbox-d8368d58b0bd073ef6bed6a7b7d51c671b8ea4ae.zip
rockbox-d8368d58b0bd073ef6bed6a7b7d51c671b8ea4ae.tar.gz
rockbox-d8368d58b0bd073ef6bed6a7b7d51c671b8ea4ae.tar.bz2
rockbox-d8368d58b0bd073ef6bed6a7b7d51c671b8ea4ae.tar.xz
imx233: add recording side and 3d to codec driver
Change-Id: I3587434749c401a28c6e77bd30395e7df15f2e8a
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/imx233-codec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/imx233-codec.h b/firmware/export/imx233-codec.h
index a02ef22..2bd6cba 100644
--- a/firmware/export/imx233-codec.h
+++ b/firmware/export/imx233-codec.h
@@ -37,6 +37,7 @@ AUDIOHW_SETTING(LEFT_GAIN, "dB", 1, 1, 0, 31, 23)
AUDIOHW_SETTING(RIGHT_GAIN, "dB", 1, 1, 0, 31, 23)
AUDIOHW_SETTING(MIC_GAIN, "dB", 1, 1, 0, 1, 1)
#endif /* HAVE_RECORDING */
-AUDIOHW_SETTING(DEPTH_3D, "%", 0, 1, 0, 15, 0)
+/* i.MX233 has four settings: 0dB, 3dB, 4.5dB, 6dB so fake 1.5dB steps */
+AUDIOHW_SETTING(DEPTH_3D, "dB", 1, 15, 0, 60, 0)
#endif /* __IMX233_CODEC_H_ */