alsa_seq pass system realtime messages

This commit is contained in:
Bill Peterson 2022-06-10 03:49:30 -05:00
parent b675a392ea
commit 1b4b7ddbfe

View file

@ -1339,13 +1339,33 @@ fluid_alsa_seq_run(void *d)
break;
case SND_SEQ_EVENT_PORT_START:
{
if(dev->autoconn_inputs)
{
fluid_alsa_seq_autoconnect_port(dev, seq_ev->data.addr.client, seq_ev->data.addr.port);
if(dev->autoconn_inputs)
{
fluid_alsa_seq_autoconnect_port(dev, seq_ev->data.addr.client, seq_ev->data.addr.port);
}
}
}
break;
break;
case SND_SEQ_EVENT_START:
evt.type = MIDI_START;
break;
case SND_SEQ_EVENT_CONTINUE:
evt.type = MIDI_CONTINUE;
break;
case SND_SEQ_EVENT_STOP:
evt.type = MIDI_STOP;
break;
case SND_SEQ_EVENT_CLOCK:
evt.type = MIDI_SYNC;
break;
case SND_SEQ_EVENT_RESET:
evt.type = MIDI_SYSTEM_RESET;
break;
default:
continue; /* unhandled event, next loop iteration */