diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-09-06 23:02:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 22:08:31 -0300 |
commit | 82896f29d47d945e331873c7295da9e3a47d709d (patch) | |
tree | 7c237b70408049f5cf8ae0073ce1a33a5adb1e7f /scripts | |
parent | 6fcecce7e1a5223be450031fa446323b08d1ec41 (diff) |
V4L/DVB (6184): cx88-alsa: Make volume control stereo
Use the balance control to make the mono volume control stereo.
Note that full range isn't supported. The balance control attenuates one
channel by 0 to -63 dB, and the volume control provides additional attenuation
to both channels by another 0 to -63 dB.
So the channel with the most attenuation has a range of 0 to -126 dB, while
the other channel only has a range of 0 to -63 dB. ALSA volume controls don't
appear to support this concept. I just limited the range to 0 to -63 total.
Once you get to -63 dB, you're already at silence, so additional attenuation
is pretty much pointless anyway.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions