Add a SysExMessage type to Plugin

This is needed to enable sending and receiving SysEx #54. Because
associated type defaults still are not stable, this requires every
plugin that doesn't need this to set this to the unit type:

```rust
type SysExMessage = ();
```
This commit is contained in:
Robbert van der Helm
2023-01-31 17:58:54 +01:00
parent 978d466019
commit c8ed795524
20 changed files with 44 additions and 2 deletions

View File

@@ -155,6 +155,7 @@ impl Plugin for PolyModSynth {
const MIDI_INPUT: MidiConfig = MidiConfig::Basic;
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
type SysExMessage = ();
type BackgroundTask = ();
fn params(&self) -> Arc<dyn Params> {