Remove assertion failure on polymod voice mismatch

This commit is contained in:
Robbert van der Helm
2022-07-06 19:30:48 +02:00
parent 35e584b3c8
commit 1510cbb884

View File

@@ -255,13 +255,12 @@ impl Plugin for PolyModSynth {
), ),
} }
} }
// TODO: Bitwig sends the polyphonic modulation event before the // The host will probably send a modulation event every N
// NoteOn, and there will also be some more events after // samples. This will happen before the voice is active, and of
// the voice has been terminated // course also after it has been terminated (because the host
None => nih_debug_assert_failure!( // doesn't know that it will be). Because of that, we won't
"Polyphonic modulation sent for unknown voice {}", // print any assertion failures here.
voice_id None => (),
),
} }
} }
NoteEvent::MonoAutomation { NoteEvent::MonoAutomation {