mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Filter out unsupported aduioMaster* events
Not sure if this is the correct approach, but these seem to not really do anything and they sometimes crash the host.
This commit is contained in:
@@ -142,7 +142,7 @@ class DispatchDataConverter : DefaultDataConverter {
|
||||
DispatchDataConverter(std::vector<uint8_t>& chunk_data)
|
||||
: chunk(chunk_data) {}
|
||||
|
||||
EventPayload read(const int opcode, const intptr_t value, const void* data) {
|
||||
std::optional<EventPayload> read(const int opcode, const intptr_t value, const void* data) {
|
||||
// There are some events that need specific structs that we can't simply
|
||||
// serialize as a string because they might contain null bytes
|
||||
// TODO: More of these structs
|
||||
|
||||
Reference in New Issue
Block a user