diff options
author | Gerd Knorr <devnull@localhost> | 2004-02-22 01:59:34 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-02-22 01:59:34 +0000 |
commit | 229b130306c830b9f1c410ccd6060b65aa68dcec (patch) | |
tree | 0ad687a6c45ad1481a208419b017f2c7cf6c520c /linux/include/media/audiochip.h | |
parent | 0f99a89ea0a04d80bd283fdfd2c8141a763e2de3 (diff) | |
download | mediapointer-dvb-s2-229b130306c830b9f1c410ccd6060b65aa68dcec.tar.gz mediapointer-dvb-s2-229b130306c830b9f1c410ccd6060b65aa68dcec.tar.bz2 |
Initial revision
Diffstat (limited to 'linux/include/media/audiochip.h')
-rw-r--r-- | linux/include/media/audiochip.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/linux/include/media/audiochip.h b/linux/include/media/audiochip.h new file mode 100644 index 000000000..fadc32dab --- /dev/null +++ b/linux/include/media/audiochip.h @@ -0,0 +1,35 @@ +#ifndef AUDIOCHIP_H +#define AUDIOCHIP_H + +/* ---------------------------------------------------------------------- */ + +/* v4l device was opened in Radio mode */ +#define AUDC_SET_RADIO _IO('m',2) +/* select from TV,radio,extern,MUTE */ +#define AUDC_SET_INPUT _IOW('m',17,int) + +/* audio inputs */ +#define AUDIO_TUNER 0x00 +#define AUDIO_RADIO 0x01 +#define AUDIO_EXTERN 0x02 +#define AUDIO_INTERN 0x03 +#define AUDIO_OFF 0x04 +#define AUDIO_ON 0x05 +#define AUDIO_EXTERN_1 AUDIO_EXTERN +#define AUDIO_EXTERN_2 0x06 +#define AUDIO_MUTE 0x80 +#define AUDIO_UNMUTE 0x81 + +/* all the stuff below is obsolete and just here for reference. I'll + * remove it once the driver is tested and works fine. + * + * Instead creating alot of tiny API's for all kinds of different + * chips, we'll just pass throuth the v4l ioctl structs (v4l2 not + * yet...). It is a bit less flexible, but most/all used i2c chips + * make sense in v4l context only. So I think that's acceptable... + */ + +/* misc stuff to pass around config info to i2c chips */ +#define AUDC_CONFIG_PINNACLE _IOW('m',32,int) + +#endif /* AUDIOCHIP_H */ |