mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
midifile: remove MIDI1 message requirement
We can transparently convert to MIDI1 so there is not need for the assert.
This commit is contained in:
parent
63afe65e3f
commit
d9bd2628d9
1 changed files with 0 additions and 1 deletions
|
|
@ -435,7 +435,6 @@ int midi_file_write_event(struct midi_file *mf, const struct midi_event *event)
|
|||
spa_return_val_if_fail(mf != NULL, -EINVAL);
|
||||
spa_return_val_if_fail(event->track == 0, -EINVAL);
|
||||
spa_return_val_if_fail(event->size > 1, -EINVAL);
|
||||
spa_return_val_if_fail(event->type == MIDI_EVENT_TYPE_MIDI1, -EINVAL);
|
||||
|
||||
switch (event->type) {
|
||||
case MIDI_EVENT_TYPE_MIDI1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue