Fix: do not activate the timer while UI is closed
This commit is contained in:
parent
36672546bc
commit
660dcb01d1
1 changed files with 3 additions and 0 deletions
|
|
@ -451,6 +451,9 @@ void Editor::Impl::uiReceiveMessage(const char* path, const char* sig, const sfi
|
|||
|
||||
void Editor::Impl::sendQueuedOSC(const char* path, const char* sig, const sfizz_arg_t* args)
|
||||
{
|
||||
if (!frame_)
|
||||
return;
|
||||
|
||||
uint32_t oscSize = sfizz_prepare_message(nullptr, 0, path, sig, args);
|
||||
std::string oscData(oscSize, '\0');
|
||||
sfizz_prepare_message(&oscData[0], oscSize, path, sig, args);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue