Browse Source

Really fix 32bit plugin bridges

tags/1.9.4
falkTX 10 years ago
parent
commit
cfb93dc2af
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      source/backend/plugin/BridgePlugin.cpp
  2. +1
    -1
      source/utils/CarlaBridgeUtils.hpp

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

@@ -579,7 +579,7 @@ public:
{
const CarlaMutexLocker _cml(fShmNonRtControl.mutex);

fShmNonRtControl.writeOpcode(kPluginBridgeNonRtSetParameterValue);
fShmNonRtControl.writeOpcode(kPluginBridgeNonRtSetParameterMidiChannel);
fShmNonRtControl.writeUInt(parameterId);
fShmNonRtControl.writeByte(channel);
fShmNonRtControl.commitWrite();


+ 1
- 1
source/utils/CarlaBridgeUtils.hpp View File

@@ -115,7 +115,7 @@ struct BridgeSemaphore {

// needs to be 64bit aligned
struct BridgeTimeInfo {
bool playing : 8;
bool playing : 64; // 8 bytes
uint64_t frame;
uint64_t usecs;
uint32_t valid;


Loading…
Cancel
Save