diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-08-21 20:26:37 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-12-12 13:10:52 +0100 |
commit | b55adf1ca2a1f010b6ae25341919b1e78f506834 (patch) | |
tree | d937109f5291906b5a00938c513c92f0119d6ae8 /firmware/export/as3514.h | |
parent | 9ca8bd64cd8b9734a82116e0037f4555c6ec3582 (diff) |
as3514: document hardware setting based on as3514.c
Change-Id: Ifc3c4cf75f7091da0b4c4ce5b0c291b373cf9a3a
Diffstat (limited to 'firmware/export/as3514.h')
-rw-r--r-- | firmware/export/as3514.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h index 7a617d469b..944d6109c2 100644 --- a/firmware/export/as3514.h +++ b/firmware/export/as3514.h @@ -38,6 +38,9 @@ AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -74, 6, -25) #endif /* HAVE_AS3543 */ #ifdef HAVE_RECORDING +/* Line in : 0 .. 23 .. 31 => Volume -34.5 .. +00.0 .. +12.0 dB + * Mic (left): 0 .. 23 .. 39 => Volume -34.5 .. +00.0 .. +24.0 dB + */ AUDIOHW_SETTING(MIC_GAIN, "dB", 1, 1, 0, 39, 23, (val - 23) * 15) AUDIOHW_SETTING(LEFT_GAIN, "dB", 1, 1, 0, 31, 23, (val - 23) * 15) AUDIOHW_SETTING(RIGHT_GAIN, "dB", 1, 1, 0, 31, 23, (val - 23) * 15) |