linux/drivers/media
Trent Piepho 82896f29d4 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>
2007-10-09 22:08:31 -03:00
..
common V4L/DVB (6179): Clean up FusionHDTV ir code 2007-10-09 22:08:27 -03:00
dvb V4L/DVB (6169): Removed unused function mt2131_set_gpo() 2007-10-09 22:08:20 -03:00
radio V4L/DVB (6125): whitespace cleanup: replace leading spaces with tabs 2007-10-09 22:07:29 -03:00
video V4L/DVB (6184): cx88-alsa: Make volume control stereo 2007-10-09 22:08:31 -03:00
Kconfig V4L/DVB (6134): tuner: alter build to produce separate modules 2007-10-09 22:07:43 -03:00
Makefile V4L/DVB (5599): Use menuconfig objects II - DVB 2007-05-09 10:12:48 -03:00