as3514: document hardware setting based on as3514.c

Change-Id: Ifc3c4cf75f7091da0b4c4ce5b0c291b373cf9a3a
This commit is contained in:
Amaury Pouly 2016-08-21 20:26:37 +01:00
parent 9ca8bd64cd
commit b55adf1ca2

View file

@ -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)