mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Don't filter any events
These events would cause crashes when the rest of the functionality wasn't implemented yet, but it's not needed anymore.
This commit is contained in:
@@ -268,21 +268,6 @@ class HostCallbackDataConverter : DefaultDataConverter {
|
|||||||
const intptr_t value,
|
const intptr_t value,
|
||||||
const void* data) {
|
const void* data) {
|
||||||
switch (opcode) {
|
switch (opcode) {
|
||||||
// Some hsots will outright crash if they receive this opcode, not
|
|
||||||
// sure why they don't just ignore it. Please let me know if there's
|
|
||||||
// a better way to handle this instead of just ignoring the event!
|
|
||||||
//
|
|
||||||
// TODO: Filtering these two events fixes crashes, but should this
|
|
||||||
// be needed? `audioMasterWantMidi` is deprecated though.
|
|
||||||
case audioMasterWantMidi:
|
|
||||||
case audioMasterUpdateDisplay:
|
|
||||||
std::cerr << "Got opcode "
|
|
||||||
<< opcode_to_string(false, opcode)
|
|
||||||
.value_or(std::to_string(opcode))
|
|
||||||
<< "(), ignoring..." << std::endl;
|
|
||||||
|
|
||||||
return std::nullopt;
|
|
||||||
break;
|
|
||||||
case audioMasterGetTime:
|
case audioMasterGetTime:
|
||||||
return WantsVstTimeInfo{};
|
return WantsVstTimeInfo{};
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user