Browse Source

Misc

tags/1.9.5
falkTX falkTX <falktx@gmail.com> 10 years ago
parent
commit
3ed767db8f
3 changed files with 3 additions and 2 deletions
  1. +1
    -0
      source/backend/plugin/VstPlugin.cpp
  2. +1
    -1
      source/plugin/carla-native-lv2.cpp
  3. +1
    -1
      source/utils/CarlaPluginUI.cpp

+ 1
- 0
source/backend/plugin/VstPlugin.cpp View File

@@ -445,6 +445,7 @@ public:
fUI.window = CarlaPluginUI::newX11(this, frontendWinId, false); fUI.window = CarlaPluginUI::newX11(this, frontendWinId, false);
# else # else
msg = "UI is only for systems with X11"; msg = "UI is only for systems with X11";
(void)frontendWinId; // unused
# endif # endif
#elif defined(CARLA_OS_MAC) #elif defined(CARLA_OS_MAC)
# ifdef __LP64__ # ifdef __LP64__


+ 1
- 1
source/plugin/carla-native-lv2.cpp View File

@@ -428,7 +428,7 @@ public:
fBufferSize = static_cast<uint32_t>(value); fBufferSize = static_cast<uint32_t>(value);


if (fDescriptor->dispatcher != nullptr) 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);
} }
else else
carla_stderr("Host changed maxBlockLength but with wrong value type"); carla_stderr("Host changed maxBlockLength but with wrong value type");


+ 1
- 1
source/utils/CarlaPluginUI.cpp View File

@@ -595,7 +595,7 @@ bool CarlaPluginUI::tryTransientWinIdMatch(const uintptr_t pid, const char* cons
return true; return true;
#else #else
return true; return true;
(void)pid;
(void)pid; (void)centerUI;
#endif #endif
} }




Loading…
Cancel
Save