diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-04-30 09:58:27 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 19:56:27 +0200 |
commit | 6680427791c94e611220a6cb34ae47dac9e3aa98 (patch) | |
tree | c1536c36314be55c08ed089049cc131becac039b /drivers/media/video/mxb.h | |
parent | [media] mxb: fix initial audio + ntsc/secam support (diff) | |
download | linux-6680427791c94e611220a6cb34ae47dac9e3aa98.tar.xz linux-6680427791c94e611220a6cb34ae47dac9e3aa98.zip |
[media] mxb: fix audio handling
Instead of using custom ioctls use the VIDIOC_ENUM/G/S/_AUDIO ioctls.
Also send the same audio to both CDROM-out and line-out.
This is what you would expect and anyway, the CDROM-out connector is unlikely
to be used these days as it is obsolete.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/mxb.h')
-rw-r--r-- | drivers/media/video/mxb.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/media/video/mxb.h b/drivers/media/video/mxb.h deleted file mode 100644 index dfa4b1cca23a..000000000000 --- a/drivers/media/video/mxb.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef __MXB__ -#define __MXB__ - -#define BASE_VIDIOC_MXB 10 - -#define MXB_S_AUDIO_CD _IOW ('V', BASE_VIDIOC_PRIVATE+BASE_VIDIOC_MXB+0, int) -#define MXB_S_AUDIO_LINE _IOW ('V', BASE_VIDIOC_PRIVATE+BASE_VIDIOC_MXB+1, int) - -#define MXB_IDENTIFIER "Multimedia eXtension Board" - -#define MXB_AUDIOS 6 - -#endif |