Work with tuners that do not support V4L2_CID_AUDIO_VOLUME.
commite5a2c03089651659f1b4159a6d7f231b1969db0b
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Sep 2012 23:31:15 +0000 (1 16:31 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Sep 2012 23:31:15 +0000 (1 16:31 -0700)
treed7fdb1e6f92b15cd928b3d1e578fa47864011c38
parent284a1ce7e530a92632598f046c96846022dd2534
Work with tuners that do not support V4L2_CID_AUDIO_VOLUME.

Rajil Saraswat <rajil.s@gmail.com> reported that D-link/Gemtek tuners using
the dsbr100 driver do not support V4L2_CID_AUDIO_VOLUME and therefore fm
failed as follows:

    #fm -d /dev/radio0  -T forever on 106.20
    ioctl VIDIOCGAUDIO: Inappropriate ioctl for device

This commit should fix the problem.

Signed-off-by: Ben Pfaff <blp@cs.stanford.edu>
fm.c
fmlib.c