]> git.lizzy.rs Git - plan9front.git/commit - sys/src/9/pc/audiohda.c
audioac97: fix inverted recgain control, init to zero recgain
authorcinap_lenrek <cinap_lenrek@gmx.de>
Sun, 27 Jan 2013 16:20:42 +0000 (17:20 +0100)
committercinap_lenrek <cinap_lenrek@gmx.de>
Sun, 27 Jan 2013 16:20:42 +0000 (17:20 +0100)
commitc1cb685a327b180cce47a453b221e050ebff4f9e
tree41f422e1e30b19db24dd3c96c522d3c8e026bdb8
parent866ee3ab5d0818194cca8c04d1f3ec2ff1d148c9
audioac97: fix inverted recgain control, init to zero recgain

some controls are inverted. we reflect this by specifying
negative range in the volume table now and let genaudiovolread()
and genaudiovolwrite() do the conversion.
sys/src/9/pc/audioac97mix.c
sys/src/9/pc/audiohda.c
sys/src/9/port/devaudio.c