diff options
author | Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> | 2022-08-19 12:33:59 +0000 |
---|---|---|
committer | Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> | 2022-08-19 12:33:59 +0000 |
commit | 21ae833386940c7414ecaaf1012c0ec87f0088e5 (patch) | |
tree | 50c323fb1b4916c477dec2f2452d1fc8d7c7d19d /sys/src/cmd/aux/depend.c | |
parent | c3a430e6824a8f1f08f28a8df24b4b64266b06f9 (diff) |
aux/wm8960: fix chopped audio on the speakers with high volume
Jack detect becomes extremely unstable when playing on spk and the
volume is very high - DAC start to switch back and forth between two
outputs. Solve this by always attenuating by -6dB and somewhat
limiting the volume on DAC ("master") - to 0xf9 instead of 0xff (max).
Also fix wrong output status reporting and remove "same volume - ignore"
optimization in setvol.
Diffstat (limited to 'sys/src/cmd/aux/depend.c')
0 files changed, 0 insertions, 0 deletions