mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 12:46:32 +01:00
Log warning if host does not support midnam/bankpatch extensions
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
parent
d6ed5c2080
commit
8fe978a8e5
1 changed files with 10 additions and 0 deletions
|
|
@ -310,6 +310,16 @@ instantiate (const LV2_Descriptor* descriptor,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef LV2_EXTENDED
|
||||||
|
if (!self->midnam) {
|
||||||
|
lv2_log_warning (&self->logger, "a-fluidsynth.lv2: Host does not support midnam:update\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!self->bankpatch) {
|
||||||
|
lv2_log_warning (&self->logger, "a-fluidsynth.lv2: Host does not support bankpatch:notify\n");
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* initialize fluid synth */
|
/* initialize fluid synth */
|
||||||
self->settings = new_fluid_settings ();
|
self->settings = new_fluid_settings ();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue