summaryrefslogtreecommitdiff
path: root/firmware/export/as3514.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/as3514.h')
-rw-r--r--firmware/export/as3514.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index b5c9438786..783683e593 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -31,11 +31,11 @@
31#define AUDIOHW_CAPS (LIN_GAIN_CAP | MIC_GAIN_CAP) 31#define AUDIOHW_CAPS (LIN_GAIN_CAP | MIC_GAIN_CAP)
32 32
33/*different volume ranges for different AMS chips*/ 33/*different volume ranges for different AMS chips*/
34#if CONFIG_CPU == AS3525v2 34#ifdef HAVE_AS3543
35AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -82, 6, -25) 35AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -82, 6, -25)
36#else /* AS3525v1 */ 36#else /* !HAVE_AS3543 */
37AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -74, 6, -25) 37AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -74, 6, -25)
38#endif /* CONFIG_CPU == AS3525v2 */ 38#endif /* HAVE_AS3543 */
39 39
40#ifdef HAVE_RECORDING 40#ifdef HAVE_RECORDING
41AUDIOHW_SETTING(MIC_GAIN, "dB", 1, 1, 0, 39, 23, (val - 23) * 15) 41AUDIOHW_SETTING(MIC_GAIN, "dB", 1, 1, 0, 39, 23, (val - 23) * 15)