mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 04:19:59 +02:00
Fix VstTimeinfo responses and allow null responses
The host is allowed to return a null pointer if it doesn't support the query.
This commit is contained in:
@@ -295,6 +295,9 @@ struct Event {
|
||||
* - A specific struct in response to an event such as `audioMasterGetTime` or
|
||||
* `audioMasterIOChanged`.
|
||||
* - An X11 window pointer for the editor window.
|
||||
*
|
||||
* TODO: Replace `std::monostate` with `std::nullptr_t` as it's more expressive
|
||||
* in what it actually represents.
|
||||
*/
|
||||
using EventResposnePayload = std::variant<std::monostate,
|
||||
std::string,
|
||||
|
||||
Reference in New Issue
Block a user