From cc031d41ab89daa06789fb28c0c1992a7928847a Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 21 Aug 2016 20:27:17 +0100 Subject: wm8731: document audiohw settings Change-Id: I78ec26a00a3e14a95c591ac81d96e1b480b9138e --- firmware/export/wm8731.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export/wm8731.h') diff --git a/firmware/export/wm8731.h b/firmware/export/wm8731.h index 10925880c3..a725a87484 100644 --- a/firmware/export/wm8731.h +++ b/firmware/export/wm8731.h @@ -28,10 +28,10 @@ AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -74, 6, -25) #if defined(HAVE_WM8731) && defined(HAVE_RECORDING) -/* (x - 23)/1.5 *10 */ +/* Line in: 0 .. 31 => Volume -34.5 .. +12 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 */ +/* Microphone: 0 or 20 dB */ AUDIOHW_SETTING(MIC_GAIN, "dB", 1, 1, 0, 1, 0, val * 200) #endif /* defined(HAVE_WM8731) && defined(HAVE_RECORDING) */ -- cgit v1.2.3