swesterfeld / spectmorph

SpectMorph: spectral audio morphing
http://www.spectmorph.org
GNU Lesser General Public License v2.1
67 stars 6 forks source link

Fix CLAP's get_factory implementation #30

Closed messmerd closed 2 weeks ago

messmerd commented 2 weeks ago

CLAP plugins need to return NULL for factories that aren't supported, otherwise a crash will likely occur when the host tries to use a clap_plugin_factory as a clap_preset_discovery_factory or other such factory.

swesterfeld commented 2 weeks ago

Thanks, this was a SpectMorph bug, so I merged your PR. Related: we may want to support real preset discovery for 1.0.0 (see also #26).