Browse Source

More VST work, now working but without custom UIs

tags/1.9.4
falkTX 11 years ago
parent
commit
548b547136
4 changed files with 537 additions and 536 deletions
  1. +535
    -534
      source/backend/plugin/VstPlugin.cpp
  2. +1
    -1
      source/carla.py
  3. +0
    -1
      source/utils/CarlaBackendUtils.hpp
  4. +1
    -0
      source/utils/CarlaStateUtils.hpp

+ 535
- 534
source/backend/plugin/VstPlugin.cpp
File diff suppressed because it is too large
View File


+ 1
- 1
source/carla.py View File

@@ -1188,7 +1188,7 @@ class CarlaMainW(QMainWindow):
if pwidget is None: if pwidget is None:
return return


pwidget.ui.edit_dialog.do_update()
pwidget.ui.edit_dialog.updateInfo()


@pyqtSlot(int) @pyqtSlot(int)
def slot_handleReloadInfoCallback(self, pluginId): def slot_handleReloadInfoCallback(self, pluginId):


+ 0
- 1
source/utils/CarlaBackendUtils.hpp View File

@@ -367,7 +367,6 @@ const char* ProcessMode2Str(const ProcessMode& mode)
static inline static inline
uintptr_t getAddressFromPointer(void* ptr) uintptr_t getAddressFromPointer(void* ptr)
{ {
carla_debug("CarlaBackend::getAddressFromPointer(%p)", ptr);
CARLA_ASSERT(ptr != nullptr); CARLA_ASSERT(ptr != nullptr);


uintptr_t* addr = (uintptr_t*)&ptr; uintptr_t* addr = (uintptr_t*)&ptr;


+ 1
- 0
source/utils/CarlaStateUtils.hpp View File

@@ -479,6 +479,7 @@ QString getXMLFromSaveState(const SaveState& saveState)
case PLUGIN_VST: case PLUGIN_VST:
info += QString(" <Binary>%1</Binary>\n").arg(xmlSafeString(saveState.binary, true)); info += QString(" <Binary>%1</Binary>\n").arg(xmlSafeString(saveState.binary, true));
info += QString(" <UniqueID>%1</UniqueID>\n").arg(saveState.uniqueID); info += QString(" <UniqueID>%1</UniqueID>\n").arg(saveState.uniqueID);
break;
case PLUGIN_VST3: case PLUGIN_VST3:
// TODO? // TODO?
info += QString(" <Binary>%1</Binary>\n").arg(xmlSafeString(saveState.binary, true)); info += QString(" <Binary>%1</Binary>\n").arg(xmlSafeString(saveState.binary, true));


Loading…
Cancel
Save