mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 12:30:00 +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:
@@ -49,6 +49,12 @@ struct ClapHostExtensions {
|
||||
*/
|
||||
ClapHostExtensions() noexcept;
|
||||
|
||||
/**
|
||||
* Get the supported extensions as boolean values for serialization
|
||||
* purposes.
|
||||
*/
|
||||
clap::host::SupportedHostExtensions supported() const noexcept;
|
||||
|
||||
const clap_host_audio_ports_t* audio_ports = nullptr;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user