summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-08-21 20:27:17 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-12-12 13:11:25 +0100
commitcc031d41ab89daa06789fb28c0c1992a7928847a (patch)
tree2201bed9c189a11437fd3683a75c402c09696330 /firmware/drivers
parentb55adf1ca2a1f010b6ae25341919b1e78f506834 (diff)
downloadrockbox-cc031d41ab89daa06789fb28c0c1992a7928847a.tar.gz
rockbox-cc031d41ab89daa06789fb28c0c1992a7928847a.zip
wm8731: document audiohw settings
Change-Id: I78ec26a00a3e14a95c591ac81d96e1b480b9138e
Diffstat (limited to 'firmware/drivers')
-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)
268 codec_set_active(true); 268 codec_set_active(true);
269} 269}
270 270
271/* Line in: 0 .. 31 => Volume -34.5 .. +12 dB
272 * Microphone: 0 or 20 dB */
271void audiohw_set_recvol(int left, int right, int type) 273void audiohw_set_recvol(int left, int right, int type)
272{ 274{
273 switch (type) 275 switch (type)