Small updates to follow new sequencer changes..

This commit is contained in:
Jaroslav Kysela 1999-08-26 12:01:18 +00:00
parent 928bbc4f10
commit 1b64948dd5
4 changed files with 5 additions and 3 deletions

View file

@ -442,6 +442,7 @@ void event_decoder(snd_seq_t *handle, int argc, char *argv[])
fprintf(stderr, "Cannot set nonblock mode: %s\n", snd_strerror(err));
bzero(&port, sizeof(port));
strcpy(port.name, "Input");
port.capability = SND_SEQ_PORT_CAP_WRITE;
if ((err = snd_seq_create_port(handle, &port)) < 0) {
fprintf(stderr, "Cannot create input port: %s\n", snd_strerror(err));
return;