mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 20:40:11 +02:00
Encapsulate our VST3 message handling pattern
Similarly to how how we do it in `EventHandler`.
This commit is contained in:
@@ -66,10 +66,11 @@ void serialize(S& s, ControlRequest& payload) {
|
||||
*/
|
||||
using ControlResponse = std::variant<>;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s, ControlResponse& payload) {
|
||||
s.ext(payload, bitsery::ext::StdVariant{});
|
||||
}
|
||||
// TODO: Uncomment when this is no longer empty
|
||||
// template <typename S>
|
||||
// void serialize(S& s, ControlResponse& payload) {
|
||||
// s.ext(payload, bitsery::ext::StdVariant{});
|
||||
// }
|
||||
|
||||
/**
|
||||
* When we do a callback from the Wine VST host to the plugin, this encodes the
|
||||
|
||||
Reference in New Issue
Block a user