mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-19 18:03:56 +02:00
Deduplicate CLAP extension support queries
They're only queried once now and the booleans are derived from the stored pointers.
This commit is contained in:
@@ -60,6 +60,12 @@ struct ClapPluginExtensions {
|
||||
*/
|
||||
ClapPluginExtensions() noexcept;
|
||||
|
||||
/**
|
||||
* Get the supported extensions as boolean values for serialization
|
||||
* purposes.
|
||||
*/
|
||||
clap::plugin::SupportedPluginExtensions supported() const noexcept;
|
||||
|
||||
const clap_plugin_audio_ports_t* audio_ports = nullptr;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user