Implement the voice-info CLAP extension

This commit is contained in:
Robbert van der Helm
2022-10-09 23:19:53 +02:00
parent db5503c4b7
commit a4d5748c05
13 changed files with 113 additions and 13 deletions
+3 -1
View File
@@ -122,12 +122,13 @@ struct SupportedPluginExtensions {
bool supports_params = false;
bool supports_state = false;
bool supports_tail = false;
bool supports_voice_info = false;
/**
* Get a list of `<bool, extension_name>` tuples for the supported
* extensions. Used during logging.
*/
std::array<std::pair<bool, const char*>, 7> list() const noexcept;
std::array<std::pair<bool, const char*>, 8> list() const noexcept;
template <typename S>
void serialize(S& s) {
@@ -138,6 +139,7 @@ struct SupportedPluginExtensions {
s.value1b(supports_params);
s.value1b(supports_state);
s.value1b(supports_tail);
s.value1b(supports_voice_info);
}
};