tlv320: document audiohw setting based on tlv320.c
Change-Id: I7cf354cb948444595ca541a4bf70dfbcf01147f2
This commit is contained in:
parent
4d526df7ac
commit
4304d47d3b
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@
|
|||
|
||||
AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -74, 6, -20)
|
||||
#ifdef HAVE_RECORDING
|
||||
/* (x - 23)/1.5 *10 */
|
||||
/* Line in : 0 .. 31 => Volume -34.5 .. +12 dB
|
||||
* Mic (left): 0 .. 1 => Volume +0, +20 dB */
|
||||
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)
|
||||
/* 0 or 20 dB */
|
||||
|
|
Loading…
Reference in a new issue