mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +02:00
Fully implement the state extension
This commit is contained in:
@@ -118,13 +118,14 @@ struct SupportedPluginExtensions {
|
||||
bool supports_latency = false;
|
||||
bool supports_note_ports = false;
|
||||
bool supports_params = false;
|
||||
bool supports_state = 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*>, 5> list() const noexcept;
|
||||
std::array<std::pair<bool, const char*>, 6> list() const noexcept;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
@@ -132,6 +133,7 @@ struct SupportedPluginExtensions {
|
||||
s.value1b(supports_latency);
|
||||
s.value1b(supports_note_ports);
|
||||
s.value1b(supports_params);
|
||||
s.value1b(supports_state);
|
||||
s.value1b(supports_tail);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user