Browse Source

Fix typo and a warning

Signed-off-by: falkTX <falktx@falktx.com>
pull/1775/head
falkTX 2 years ago
parent
commit
f782294135
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      source/backend/engine/CarlaEngineBridge.cpp
  2. +1
    -1
      source/backend/plugin/CarlaPluginLV2.cpp

+ 1
- 1
source/backend/engine/CarlaEngineBridge.cpp View File

@@ -1207,7 +1207,7 @@ public:
const CarlaMutexLocker _cml(fShmNonRtServerControl.mutex);

fShmNonRtServerControl.writeOpcode(kPluginBridgeNonRtServerRespEmbedUI);
fShmNonRtServerControl.writeULong(reinterpret_cast<uint64_t>(resp));
fShmNonRtServerControl.writeULong(resp);
fShmNonRtServerControl.commitWrite();
break;
}


+ 1
- 1
source/backend/plugin/CarlaPluginLV2.cpp View File

@@ -3418,7 +3418,7 @@ public:

for (uint32_t j=0; j < cvOuts; ++i, ++j)
{
tmpIn[i] = new float[bufferSize];
tmpOut[i] = new float[bufferSize];
carla_zeroFloats(tmpOut[i], bufferSize);

try {


Loading…
Cancel
Save