mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Small updates to follow new sequencer changes..
This commit is contained in:
parent
928bbc4f10
commit
1b64948dd5
4 changed files with 5 additions and 3 deletions
|
|
@ -170,6 +170,7 @@ void event_sender(snd_seq_t *handle, int argc, char *argv[])
|
|||
if ((err = snd_seq_block_mode(handle, 0))<0)
|
||||
fprintf(stderr, "Cannot set nonblock mode: %s\n", snd_strerror(err));
|
||||
bzero(&port, sizeof(port));
|
||||
port.capability = SND_SEQ_PORT_CAP_WRITE | SND_SEQ_PORT_CAP_READ;
|
||||
strcpy(port.name, "Output");
|
||||
if ((err = snd_seq_create_port(handle, &port)) < 0) {
|
||||
fprintf(stderr, "Cannot create output port: %s\n", snd_strerror(err));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue