diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-08-21 20:31:55 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-12-12 13:13:13 +0100 |
commit | 4d526df7ac7132afe91292f3821ae46853fa9984 (patch) | |
tree | 628f484814189ddd023f405cfd26bd2c82e7a8c5 /firmware/drivers/audio/wm8975.c | |
parent | 69ea311398ed26797aec837f26b18c2e3e50744c (diff) | |
download | rockbox-4d526df7ac7132afe91292f3821ae46853fa9984.tar.gz rockbox-4d526df7ac7132afe91292f3821ae46853fa9984.zip |
wm8975: document audiohw settings
Change-Id: I0456f85e4ebc821c23e25026fbee3d8cf7526ee7
Diffstat (limited to 'firmware/drivers/audio/wm8975.c')
-rw-r--r-- | firmware/drivers/audio/wm8975.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/wm8975.c b/firmware/drivers/audio/wm8975.c index 88be2cf5ce..a1af1331f2 100644 --- a/firmware/drivers/audio/wm8975.c +++ b/firmware/drivers/audio/wm8975.c | |||
@@ -296,6 +296,8 @@ void audiohw_disable_recording(void) | |||
296 | wm8975_write(PWRMGMT1, wm8975_regs[PWRMGMT1]); | 296 | wm8975_write(PWRMGMT1, wm8975_regs[PWRMGMT1]); |
297 | } | 297 | } |
298 | 298 | ||
299 | /* volume in 0 .. 63, corresponds to -17.25dB .. 30dB in steps of 0.75dB | ||
300 | * microphone has an extra 20dB boost so 0 .. 63 corresponds to 2.75dB .. 50dB */ | ||
299 | void audiohw_set_recvol(int left, int right, int type) | 301 | void audiohw_set_recvol(int left, int right, int type) |
300 | { | 302 | { |
301 | switch (type) | 303 | switch (type) |