mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-27 06:22:06 +00:00
alsa_seq pass system realtime messages
This commit is contained in:
parent
b675a392ea
commit
1b4b7ddbfe
1 changed files with 25 additions and 5 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue