summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/audioout-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-02-03 19:58:25 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2012-02-03 20:04:39 +0100
commit1a083cdaccb3598de834c3643c5bc02716af804d (patch)
tree05536822b84d48e1d5d71954646b7ae52e03f04a /firmware/target/arm/imx233/audioout-imx233.h
parent7d54ff069ba36702b58d1dd6bb8a8ab03297f9e2 (diff)
downloadrockbox-1a083cdaccb3598de834c3643c5bc02716af804d.tar.gz
rockbox-1a083cdaccb3598de834c3643c5bc02716af804d.tar.bz2
rockbox-1a083cdaccb3598de834c3643c5bc02716af804d.zip
imx233/fuze+: fix a typo, handle volume differently because of the line1/dac mode difference.
The headphone volume register value reads differently in Line1 and DAC mode. Since the volume is not set again when switching between playback and radio, we need to remember the hp volume and reapply setting when changing the mode. Change-Id: I8fbd344f78653c19d81a39dd3f680ec6885cb1ec
Diffstat (limited to 'firmware/target/arm/imx233/audioout-imx233.h')
-rw-r--r--firmware/target/arm/imx233/audioout-imx233.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/audioout-imx233.h b/firmware/target/arm/imx233/audioout-imx233.h
index cd997e7d31..acfb56138f 100644
--- a/firmware/target/arm/imx233/audioout-imx233.h
+++ b/firmware/target/arm/imx233/audioout-imx233.h
@@ -112,11 +112,10 @@ void imx233_audioout_preinit(void);
void imx233_audioout_postinit(void);
void imx233_audioout_close(void);
/* volume in half dB */
-void imx233_audioout_set_dac_vol(int vol_l, int vol_r);
void imx233_audioout_set_hp_vol(int vol_l, int vol_r);
/* frequency index, NOT the frequency itself */
void imx233_audioout_set_freq(int fsel);
/* select between DAC and Line1 */
-void imx233_audiout_select_hp_input(bool line1);
+void imx233_audioout_select_hp_input(bool line1);
#endif /* __audioout_imx233__ */