]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (5053): Pvrusb2: Change default volume to something sane
authorMike Isely <isely@pobox.com>
Thu, 28 Dec 2006 02:36:33 +0000 (23:36 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:34 +0000 (13:34 -0200)
The default volume of 65535 is too high.  Make is something smaller.
Note that this _only_ changes the default value.  Specifically, there
are no scaling or other more intrusive changes here.  I'm just sick of
constantly having to reduce the volume every time I plug in and test
the device!  (And unfortunately we can't do a better fix like scaling
the volume so that 65535 makes sense because doing so will screw up
any app - like MythTV - which expects the old scaling.)  Too bad V4L
controls don't have better defined ranges.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-hdw.c

index 38e165913dd60f7284c37dd20bac587b627b0e13..bb4c5150a4df93d71b859e75263f2d3696a57156 100644 (file)
@@ -770,7 +770,7 @@ static const struct pvr2_ctl_info control_defs[] = {
                .v4l_id = V4L2_CID_AUDIO_VOLUME,
                .desc = "Volume",
                .name = "volume",
-               .default_value = 65535,
+               .default_value = 62000,
                DEFREF(volume),
                DEFINT(0,65535),
        },{