diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-20 15:35:05 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-20 15:35:05 +0000 |
commit | aac6384c805c0867edcbc45270a63d4e4b366de8 (patch) | |
tree | 7de81377856686cc944f2b2c4a1ed18bf24aadb6 /linux/drivers/media/video/cx88/cx88-input.c | |
parent | 4e21c63b1bbee8b312500fa3d5ea141ecc9959e2 (diff) | |
download | mediapointer-dvb-s2-aac6384c805c0867edcbc45270a63d4e4b366de8.tar.gz mediapointer-dvb-s2-aac6384c805c0867edcbc45270a63d4e4b366de8.tar.bz2 |
This is some small changes on tuner-core.c to correct API behavior for stereo:
- v4l2_tuner has three fields for audio mode:
capability (bitmask, says what the hardware is able to do).
rxsubchans (bitmask, which channels are available).
audmode (enum, current mode).
For radio seeing a stereo signal but sending mono the driver
can simply set this:
rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO;
audmode = V4L2_TUNER_MODE_MONO;
- VIDIOCSTUNER should not allow turning stereo/mono. Code commented.
It will be removed soon.
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-input.c')
0 files changed, 0 insertions, 0 deletions