Browse Source

Misc fixes

tags/1.9.4
falkTX 11 years ago
parent
commit
bbff1a78c8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      source/backend/plugin/CarlaPlugin.cpp
  2. +1
    -1
      source/backend/plugin/VstPlugin.cpp

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

@@ -2024,7 +2024,7 @@ void* CarlaPluginGUI::getContainerWinId()
fContainer = container;
}

return (void*)winId();
return (void*)fContainer->winId();
}

void CarlaPluginGUI::closeContainer()


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

@@ -988,7 +988,7 @@ public:
fTimeInfo.samplePos = timeInfo.frame;
fTimeInfo.sampleRate = kData->engine->getSampleRate();

fTimeInfo.nanoSeconds = timeInfo.time;
fTimeInfo.nanoSeconds = timeInfo.time*1000;
fTimeInfo.flags |= kVstNanosValid;

if (timeInfo.valid & EngineTimeInfo::ValidBBT)


Loading…
Cancel
Save