This commit is contained in:
Abramo Bagnara 2001-02-05 15:45:33 +00:00
parent 5bf23ae9a1
commit 5b0d5f0a49

View file

@ -15,15 +15,15 @@ typedef struct sndrv_control snd_control_t;
typedef struct sndrv_ctl_event snd_ctl_event_t; typedef struct sndrv_ctl_event snd_ctl_event_t;
#ifdef SND_ENUM_TYPECHECK #ifdef SND_ENUM_TYPECHECK
typedef enum sndrv_card_type snd_card_type;
typedef enum sndrv_control_type snd_control_type_t;
typedef enum sndrv_control_iface snd_control_iface_t;
typedef enum sndrv_ctl_event_type snd_ctl_event_type_t;
#else
typedef struct __snd_card_type *snd_card_type; typedef struct __snd_card_type *snd_card_type;
typedef struct __snd_control_type *snd_control_type_t; typedef struct __snd_control_type *snd_control_type_t;
typedef struct __snd_control_iface *snd_control_iface_t; typedef struct __snd_control_iface *snd_control_iface_t;
typedef struct __snd_ctl_event_type *snd_ctl_event_type_t; typedef struct __snd_ctl_event_type *snd_ctl_event_type_t;
#else
typedef enum sndrv_card_type snd_card_type;
typedef enum sndrv_control_type snd_control_type_t;
typedef enum sndrv_control_iface snd_control_iface_t;
typedef enum sndrv_ctl_event_type snd_ctl_event_type_t;
#endif #endif
#define SND_CARD_TYPE_GUS_CLASSIC ((snd_card_type_t) SNDRV_CARD_TYPE_GUS_CLASSIC) #define SND_CARD_TYPE_GUS_CLASSIC ((snd_card_type_t) SNDRV_CARD_TYPE_GUS_CLASSIC)