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:
Robbert van der Helm
2022-09-26 17:57:49 +02:00
parent 53c9fbb376
commit de028faf70
13 changed files with 91 additions and 29 deletions
+3 -1
View File
@@ -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);
}
};