path: root/firmware/target/arm/imx233
diff options
authorAmaury Pouly <>2016-08-20 21:28:50 +0100
committerAmaury Pouly <>2016-12-12 12:15:24 +0100
commitaf81cc4a935753d3ba6c692b7e928691f0155355 (patch)
tree8fcfa1c0f27545256a7c305d4fb73d6f9ef7feac /firmware/target/arm/imx233
parentbfd3b0831268b24a1f3e54fbc1d5978409882a91 (diff)
imx233: slightly rework 3D audio setting
The old code made the setting appear as 0dB, 1.5dB, 3dB and 4.5dB when in fact it is 0dB, 3dB, 4.5dB and 6dB. This commit clarifies the code and also fix this at the same time. This imx233 3D enhancement is complete crap anyway but now you can satisfy yourself with 6 dB of pure crap, clearly an enhancement. Change-Id: Ia3e088987c1ff0cdde228905ff70f46476a499a2
Diffstat (limited to 'firmware/target/arm/imx233')
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/audioout-imx233.h b/firmware/target/arm/imx233/audioout-imx233.h
index c819fdb294..4c27ae2375 100644
--- a/firmware/target/arm/imx233/audioout-imx233.h
+++ b/firmware/target/arm/imx233/audioout-imx233.h
@@ -60,7 +60,7 @@ void imx233_audioout_set_hp_vol(int vol_l, int vol_r);
void imx233_audioout_set_freq(int fsel);
/* select between DAC and Line1 */
void imx233_audioout_select_hp_input(bool line1);
-/* value in 1.5dB steps, from 0dB to 6dB */
+/* value is uses register encoding: 0=Off, 1=3dB, 2=4.5dB, 3=6dB */
void imx233_audioout_set_3d_effect(int val);
/* enable/disable speaker amplifier */
void imx233_audioout_enable_spkr(bool en);