From be3f89c6d98152cfb9fd02e8fff70bc1bac4fdb5 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 10 Sep 2014 23:14:10 +0100 Subject: [PATCH] Misc --- source/backend/CarlaStandalone.cpp | 3 +-- source/plugin/carla-vst.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/backend/CarlaStandalone.cpp b/source/backend/CarlaStandalone.cpp index b0a0e70da..d13562473 100644 --- a/source/backend/CarlaStandalone.cpp +++ b/source/backend/CarlaStandalone.cpp @@ -172,8 +172,7 @@ public: try { if (lo_server_recv_noblock(fOscServer, 0) == 0) break; - } - CARLA_SAFE_EXCEPTION_CONTINUE("NSM OSC idle") + } CARLA_SAFE_EXCEPTION_CONTINUE("NSM OSC idle") } } diff --git a/source/plugin/carla-vst.cpp b/source/plugin/carla-vst.cpp index 613759699..d690d1711 100644 --- a/source/plugin/carla-vst.cpp +++ b/source/plugin/carla-vst.cpp @@ -180,7 +180,7 @@ public: fBufferSize = static_cast(value); if (fDescriptor->dispatcher != nullptr) - fDescriptor->dispatcher(fHandle, PLUGIN_OPCODE_BUFFER_SIZE_CHANGED, 0, fBufferSize, nullptr, 0.0f); + fDescriptor->dispatcher(fHandle, PLUGIN_OPCODE_BUFFER_SIZE_CHANGED, 0, value, nullptr, 0.0f); break; case effMainsChanged: