diff options
Diffstat (limited to 'linux/drivers/media/video/mxb.h')
-rw-r--r-- | linux/drivers/media/video/mxb.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/linux/drivers/media/video/mxb.h b/linux/drivers/media/video/mxb.h new file mode 100644 index 000000000..3f73ea7ca --- /dev/null +++ b/linux/drivers/media/video/mxb.h @@ -0,0 +1,22 @@ +#ifndef __MXB__ +#define __MXB__ + +#define BASE_VIDIOC_MXB 10 + +#define MXB_S_AUDIO_CD _IOW ('V', BASE_VIDIOC_PRIVATE+BASE_VIDIOC_MXB+00, int) +#define MXB_S_AUDIO_LINE _IOW ('V', BASE_VIDIOC_PRIVATE+BASE_VIDIOC_MXB+01, int) + +#define MXB_IDENTIFIER "Multimedia eXtension Board" + +#define MXB_AUDIOS 6 + +/* these are the available audio sources, which can switched + to the line- and cd-output individually */ +struct v4l2_audio mxb_audios[MXB_AUDIOS] = + { { 0, "Tuner", 0}, + { 1, "AUX1", 0}, + { 2, "AUX2", 0}, + { 3, "AUX3", 0}, + { 4, "Radio (X9)", 0}, + { 5, "CD-ROM (X10)", 0} }; +#endif |