mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Added missing rawmidi functions. Cleaned PCM use of masks
This commit is contained in:
parent
a7561a9c7e
commit
4c9fd35a60
14 changed files with 159 additions and 135 deletions
|
|
@ -38,13 +38,21 @@ typedef struct {
|
|||
ssize_t (*read)(snd_rawmidi_t *rawmidi, void *buffer, size_t size);
|
||||
} snd_rawmidi_ops_t;
|
||||
|
||||
typedef struct _snd_rawmidi_str {
|
||||
size_t buffer_size;
|
||||
size_t avail_min;
|
||||
unsigned int no_active_sensing: 1;
|
||||
} snd_rawmidi_str_t;
|
||||
|
||||
struct _snd_rawmidi {
|
||||
char *name;
|
||||
snd_rawmidi_type_t type;
|
||||
int streams;
|
||||
int mode;
|
||||
int poll_fd;
|
||||
snd_rawmidi_str_t stream[2];
|
||||
snd_rawmidi_ops_t *ops;
|
||||
|
||||
void *private;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue