mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added snd_ prefix to mask and interval. Divided header.h wrappers
This commit is contained in:
parent
9712a67778
commit
8712ffc6a5
28 changed files with 1122 additions and 1122 deletions
|
|
@ -5,6 +5,20 @@
|
|||
* *
|
||||
****************************************************************************/
|
||||
|
||||
typedef enum sndrv_rawmidi_stream snd_rawmidi_stream_t;
|
||||
typedef struct sndrv_rawmidi_info snd_rawmidi_info_t;
|
||||
typedef struct sndrv_rawmidi_params snd_rawmidi_params_t;
|
||||
typedef struct sndrv_rawmidi_status snd_rawmidi_status_t;
|
||||
#define SND_RAWMIDI_STREAM_OUTPUT SNDRV_RAWMIDI_STREAM_OUTPUT
|
||||
#define SND_RAWMIDI_STREAM_INPUT SNDRV_RAWMIDI_STREAM_INPUT
|
||||
#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_INFO_XXXX SNDRV_RAWMIDI_INFO_XXXX
|
||||
#define SND_RAWMIDI_PARBIT_STREAM SNDRV_RAWMIDI_PARBIT_STREAM
|
||||
#define SND_RAWMIDI_PARBIT_BUFFER_SIZE SNDRV_RAWMIDI_PARBIT_BUFFER_SIZE
|
||||
#define SND_RAWMIDI_PARBIT_AVAIL_MIN SNDRV_RAWMIDI_PARBIT_AVAIL_MIN
|
||||
|
||||
#define SND_RAWMIDI_OPEN_OUTPUT (1<<SND_RAWMIDI_STREAM_OUTPUT)
|
||||
#define SND_RAWMIDI_OPEN_INPUT (1<<SND_RAWMIDI_STREAM_INPUT)
|
||||
#define SND_RAWMIDI_OPEN_DUPLEX (SND_RAWMIDI_OPEN_OUTPUT|SND_RAWMIDI_OPEN_INPUT)
|
||||
|
|
@ -12,10 +26,6 @@
|
|||
#define SND_RAWMIDI_APPEND 1
|
||||
#define SND_RAWMIDI_NONBLOCK 2
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _snd_rawmidi snd_rawmidi_t;
|
||||
|
||||
typedef enum _snd_rawmidi_type {
|
||||
|
|
@ -24,6 +34,10 @@ typedef enum _snd_rawmidi_type {
|
|||
SND_RAWMIDI_TYPE_INET,
|
||||
} snd_rawmidi_type_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int snd_rawmidi_open(snd_rawmidi_t **handle, char *name, int streams, int mode);
|
||||
int snd_rawmidi_close(snd_rawmidi_t *handle);
|
||||
int snd_rawmidi_card(snd_rawmidi_t *handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue