Add program change to the LV2 plugin
This commit is contained in:
parent
ff0257dc07
commit
d1264e740a
1 changed files with 5 additions and 0 deletions
|
|
@ -911,6 +911,11 @@ sfizz_lv2_process_midi_event(sfizz_plugin_t *self, const LV2_Atom_Event *ev)
|
||||||
(int)ev->time.frames,
|
(int)ev->time.frames,
|
||||||
PITCH_BUILD_AND_CENTER(msg[1], msg[2]));
|
PITCH_BUILD_AND_CENTER(msg[1], msg[2]));
|
||||||
break;
|
break;
|
||||||
|
case LV2_MIDI_MSG_PGM_CHANGE:
|
||||||
|
sfizz_send_program_change(self->synth,
|
||||||
|
(int)ev->time.frames,
|
||||||
|
msg[1]);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue