mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
seq: Add snd_seq_{get|set}_ump_is_midi1() API functions
Implement the API function calls corresponding to the new sequencer port flag bit that has been added recently to the kernel. A UMP MIDI 2.0 device allow to have an optional MIDI 1.0 port while speaking in MIDI 2.0 protocol for other UMP Groups. The new seq port flag indicates that. This is rather a minor difference, and since ALSA sequencer core covers the all conversions, usually you don't have to worry about it at all. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
d969439813
commit
ddc4c668ba
4 changed files with 35 additions and 0 deletions
|
|
@ -318,6 +318,7 @@ int snd_seq_port_info_get_timestamp_real(const snd_seq_port_info_t *info);
|
|||
int snd_seq_port_info_get_timestamp_queue(const snd_seq_port_info_t *info);
|
||||
int snd_seq_port_info_get_direction(const snd_seq_port_info_t *info);
|
||||
int snd_seq_port_info_get_ump_group(const snd_seq_port_info_t *info);
|
||||
int snd_seq_port_info_get_ump_is_midi1(const snd_seq_port_info_t *info);
|
||||
|
||||
void snd_seq_port_info_set_client(snd_seq_port_info_t *info, int client);
|
||||
void snd_seq_port_info_set_port(snd_seq_port_info_t *info, int port);
|
||||
|
|
@ -334,6 +335,7 @@ void snd_seq_port_info_set_timestamp_real(snd_seq_port_info_t *info, int realtim
|
|||
void snd_seq_port_info_set_timestamp_queue(snd_seq_port_info_t *info, int queue);
|
||||
void snd_seq_port_info_set_direction(snd_seq_port_info_t *info, int direction);
|
||||
void snd_seq_port_info_set_ump_group(snd_seq_port_info_t *info, int ump_group);
|
||||
void snd_seq_port_info_set_ump_is_midi1(snd_seq_port_info_t *info, int is_midi1);
|
||||
|
||||
int snd_seq_create_port(snd_seq_t *handle, snd_seq_port_info_t *info);
|
||||
int snd_seq_delete_port(snd_seq_t *handle, int port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue