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/drivers/audio/wm8731.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/drivers/audio/wm8731.c') diff --git a/firmware/drivers/audio/wm8731.c b/firmware/drivers/audio/wm8731.c index 18e04618bf..98155a71eb 100644 --- a/firmware/drivers/audio/wm8731.c +++ b/firmware/drivers/audio/wm8731.c @@ -268,6 +268,8 @@ void audiohw_disable_recording(void) codec_set_active(true); } +/* Line in: 0 .. 31 => Volume -34.5 .. +12 dB + * Microphone: 0 or 20 dB */ void audiohw_set_recvol(int left, int right, int type) { switch (type) -- cgit v1.2.3