]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/media/audiochip.h
2 * $Id: audiochip.h,v 1.5 2005/06/16 22:59:16 hhackmann Exp $
8 /* ---------------------------------------------------------------------- */
10 /* v4l device was opened in Radio mode */
11 #define AUDC_SET_RADIO _IO('m',2)
12 /* select from TV,radio,extern,MUTE */
13 #define AUDC_SET_INPUT _IOW('m',17,int)
16 #define AUDIO_TUNER 0x00
17 #define AUDIO_RADIO 0x01
18 #define AUDIO_EXTERN 0x02
19 #define AUDIO_INTERN 0x03
20 #define AUDIO_OFF 0x04
22 #define AUDIO_EXTERN_1 AUDIO_EXTERN
23 #define AUDIO_EXTERN_2 0x06
24 #define AUDIO_MUTE 0x80
25 #define AUDIO_UNMUTE 0x81
27 /* all the stuff below is obsolete and just here for reference. I'll
28 * remove it once the driver is tested and works fine.
30 * Instead creating alot of tiny API's for all kinds of different
31 * chips, we'll just pass throuth the v4l ioctl structs (v4l2 not
32 * yet...). It is a bit less flexible, but most/all used i2c chips
33 * make sense in v4l context only. So I think that's acceptable...
36 /* misc stuff to pass around config info to i2c chips */
37 #define AUDC_CONFIG_PINNACLE _IOW('m',32,int)
38 #endif /* AUDIOCHIP_H */