summaryrefslogtreecommitdiff
path: root/firmware/export/ak4537.h
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2014-06-17 23:13:15 +0000
committerSzymon Dziok <b0hoon@o2.pl>2014-06-18 18:06:17 +0000
commiteacd76cb80db12adcce74980e69d116911a8cde7 (patch)
tree239344e3f9053a75eeab4253f39f6b1dae749aa6 /firmware/export/ak4537.h
parent0c3dca1f33596cb10345601de32d681ed6ece972 (diff)
downloadrockbox-eacd76cb80db12adcce74980e69d116911a8cde7.tar.gz
rockbox-eacd76cb80db12adcce74980e69d116911a8cde7.zip
Radio and radio recording for Samsung YH-920.
There is no simple method to detect radio through the 3-wire interface, so it's not implemented for the YH-925 for now. YH-920 always has a radio. Change-Id: Iea484d752915fcd40dbbbd7dbbf13e81aaf548db
Diffstat (limited to 'firmware/export/ak4537.h')
-rw-r--r--firmware/export/ak4537.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/ak4537.h b/firmware/export/ak4537.h
index 1c09b5aa2f..0ab0ca1594 100644
--- a/firmware/export/ak4537.h
+++ b/firmware/export/ak4537.h
@@ -34,6 +34,8 @@ AUDIOHW_SETTING(RIGHT_GAIN, "dB", 0, 1, -23, 12, 0)
34/* mic gain: +15dB fixed +20dB switchable mic preamp gain 34/* mic gain: +15dB fixed +20dB switchable mic preamp gain
35 and the line stage of -23..+12dB make a total range of -8..+47dB */ 35 and the line stage of -23..+12dB make a total range of -8..+47dB */
36AUDIOHW_SETTING(MIC_GAIN, "dB", 0, 1, -8, 47, 20) 36AUDIOHW_SETTING(MIC_GAIN, "dB", 0, 1, -8, 47, 20)
37
38void audiohw_set_recsrc(int source);
37#endif /* HAVE_RECORDING */ 39#endif /* HAVE_RECORDING */
38 40
39#define AKC_NUM_REGS 0x11 41#define AKC_NUM_REGS 0x11