summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/wm8731.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/wm8731.c')
-rw-r--r--firmware/drivers/audio/wm8731.c2
1 files changed, 2 insertions, 0 deletions
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)