Mauro Carvalho Chehab | 56fc08c | 2005-06-23 22:05:07 -0700 | [diff] [blame] | 1 | /* |
Mauro Carvalho Chehab | 56fc08c | 2005-06-23 22:05:07 -0700 | [diff] [blame] | 2 | */ |
| 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #ifndef AUDIOCHIP_H |
| 5 | #define AUDIOCHIP_H |
| 6 | |
Mauro Carvalho Chehab | 90a7ed4 | 2005-11-08 21:36:56 -0800 | [diff] [blame] | 7 | enum audiochip { |
| 8 | AUDIO_CHIP_NONE, |
| 9 | AUDIO_CHIP_UNKNOWN, |
| 10 | /* Provided by video chip */ |
| 11 | AUDIO_CHIP_INTERNAL, |
| 12 | /* Provided by tvaudio.c */ |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 13 | AUDIO_CHIP_TDA8425, |
| 14 | AUDIO_CHIP_TEA6300, |
| 15 | AUDIO_CHIP_TEA6420, |
| 16 | AUDIO_CHIP_TDA9840, |
| 17 | AUDIO_CHIP_TDA985X, |
| 18 | AUDIO_CHIP_TDA9874, |
| 19 | AUDIO_CHIP_PIC16C54, |
Mauro Carvalho Chehab | 90a7ed4 | 2005-11-08 21:36:56 -0800 | [diff] [blame] | 20 | /* Provided by msp3400.c */ |
| 21 | AUDIO_CHIP_MSP34XX |
| 22 | }; |
| 23 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | /* ---------------------------------------------------------------------- */ |
| 25 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | /* audio inputs */ |
| 27 | #define AUDIO_TUNER 0x00 |
| 28 | #define AUDIO_RADIO 0x01 |
| 29 | #define AUDIO_EXTERN 0x02 |
| 30 | #define AUDIO_INTERN 0x03 |
| 31 | #define AUDIO_OFF 0x04 |
| 32 | #define AUDIO_ON 0x05 |
| 33 | #define AUDIO_EXTERN_1 AUDIO_EXTERN |
| 34 | #define AUDIO_EXTERN_2 0x06 |
| 35 | #define AUDIO_MUTE 0x80 |
| 36 | #define AUDIO_UNMUTE 0x81 |
| 37 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | #endif /* AUDIOCHIP_H */ |