2005-06-24 13:05:07 +08:00
|
|
|
/*
|
|
|
|
*/
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#ifndef AUDIOCHIP_H
|
|
|
|
#define AUDIOCHIP_H
|
|
|
|
|
2005-11-09 13:36:56 +08:00
|
|
|
enum audiochip {
|
|
|
|
AUDIO_CHIP_NONE,
|
|
|
|
AUDIO_CHIP_UNKNOWN,
|
|
|
|
/* Provided by video chip */
|
|
|
|
AUDIO_CHIP_INTERNAL,
|
|
|
|
/* Provided by tvaudio.c */
|
2005-11-09 13:37:43 +08:00
|
|
|
AUDIO_CHIP_TDA8425,
|
|
|
|
AUDIO_CHIP_TEA6300,
|
|
|
|
AUDIO_CHIP_TEA6420,
|
|
|
|
AUDIO_CHIP_TDA9840,
|
|
|
|
AUDIO_CHIP_TDA985X,
|
|
|
|
AUDIO_CHIP_TDA9874,
|
|
|
|
AUDIO_CHIP_PIC16C54,
|
2005-11-09 13:36:56 +08:00
|
|
|
/* Provided by msp3400.c */
|
|
|
|
AUDIO_CHIP_MSP34XX
|
|
|
|
};
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* ---------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
|
|
|
#endif /* AUDIOCHIP_H */
|