mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-16 13:40:05 +02:00
Fully implement the CLAP tail extension
Trivial extension, but this required us to be able to send audio thread callbacks first.
This commit is contained in:
@@ -84,18 +84,20 @@ struct SupportedHostExtensions {
|
||||
bool supports_audio_ports = false;
|
||||
bool supports_note_ports = false;
|
||||
bool supports_params = false;
|
||||
bool supports_tail = false;
|
||||
|
||||
/**
|
||||
* Get a list of `<bool, extension_name>` tuples for the supported
|
||||
* extensions. Used during logging.
|
||||
*/
|
||||
std::array<std::pair<bool, const char*>, 3> list() const noexcept;
|
||||
std::array<std::pair<bool, const char*>, 4> list() const noexcept;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.value1b(supports_audio_ports);
|
||||
s.value1b(supports_note_ports);
|
||||
s.value1b(supports_params);
|
||||
s.value1b(supports_tail);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user