Skip to content

Commit ad62e2a

Browse files
committed
Server - be more tolerant to unhandled OSC API replies
1 parent 5e71c04 commit ad62e2a

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎app/api/src/osc/osc_handler.cpp‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,17 @@ void OscHandler::oscMessage(std::vector<char> buffer)
508508
LOG(ERR, "Unhandled OSC msg /link-bpm");
509509
}
510510
}
511+
else if (msg->partialMatch("/n_").isOk()
512+
|| msg->partialMatch("/done").isOk()
513+
|| msg->partialMatch("/fail").isOk()
514+
|| msg->partialMatch("/synced").isOk())
515+
{
516+
// scsynth-protocol broadcasts that reach the GUI as a side
517+
// effect of /notify subscription; Spider consumes these.
518+
}
511519
else
512520
{
513-
LOG(ERR, "Unhandled OSC message: " << msg->addressPattern());
521+
LOG(DBG, "Unhandled OSC message: " << msg->addressPattern());
514522
}
515523
}
516524
std::cout << std::flush;

0 commit comments

Comments
 (0)