/**************************************************************************** * * * rawmidi.h * * RawMIDI interface * * * ****************************************************************************/ typedef struct _snd_rawmidi_info snd_rawmidi_info_t; typedef struct _snd_rawmidi_params snd_rawmidi_params_t; typedef struct _snd_rawmidi_status snd_rawmidi_status_t; #ifdef SND_ENUM_TYPECHECK typedef struct __snd_rawmidi_stream *snd_rawmidi_stream_t; #else typedef enum sndrv_rawmidi_stream snd_rawmidi_stream_t; #endif #define SND_RAWMIDI_STREAM_OUTPUT ((snd_rawmidi_stream_t) SNDRV_RAWMIDI_STREAM_OUTPUT) #define SND_RAWMIDI_STREAM_INPUT ((snd_rawmidi_stream_t) SNDRV_RAWMIDI_STREAM_INPUT) #define SND_RAWMIDI_STREAM_LAST ((snd_rawmidi_stream_t) SNDRV_RAWMIDI_STREAM_LAST) #define SND_RAWMIDI_INFO_OUTPUT SNDRV_RAWMIDI_INFO_OUTPUT #define SND_RAWMIDI_INFO_INPUT SNDRV_RAWMIDI_INFO_INPUT #define SND_RAWMIDI_INFO_DUPLEX SNDRV_RAWMIDI_INFO_DUPLEX #define SND_RAWMIDI_OPEN_OUTPUT (1<