From ff0df5ecf9523fcc6b837adc22f985cb211975eb Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 16 Feb 2014 16:42:59 +0000 Subject: [PATCH] Misc --- source/carla_skin.py | 4 ++-- source/carla_widgets.py | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/carla_skin.py b/source/carla_skin.py index 92f5daaa7..0d3f97a52 100644 --- a/source/carla_skin.py +++ b/source/carla_skin.py @@ -1158,7 +1158,7 @@ class PluginSlot_ZynFX(AbstractPluginSlot): continue paramName = charPtrToString(paramInfo['name']) - paramLow = paramName.lower() + #paramLow = paramName.lower() # real zyn fx plugins if self.fPluginInfo['label'] == "zynalienwah": @@ -1322,7 +1322,7 @@ def createPluginSlot(parent, pluginId): return PluginSlot_Calf(parent, pluginId) return PluginSlot_BasicFX(parent, pluginId) - return PluginSlot_Default(parent, pluginId) + #return PluginSlot_Default(parent, pluginId) # ------------------------------------------------------------------------------------------------------------ # Main Testing diff --git a/source/carla_widgets.py b/source/carla_widgets.py index f81af5e80..21d3e9404 100755 --- a/source/carla_widgets.py +++ b/source/carla_widgets.py @@ -540,14 +540,14 @@ class PluginEdit(QDialog): def reloadInfo(self): if gCarla.host is not None: pluginName = gCarla.host.get_real_plugin_name(self.fPluginId) - audioCountInfo = gCarla.host.get_audio_port_count_info(self.fPluginId) + #audioCountInfo = gCarla.host.get_audio_port_count_info(self.fPluginId) midiCountInfo = gCarla.host.get_midi_port_count_info(self.fPluginId) - paramCountInfo = gCarla.host.get_parameter_count_info(self.fPluginId) + #paramCountInfo = gCarla.host.get_parameter_count_info(self.fPluginId) else: pluginName = "" - audioCountInfo = gFakePortCountInfo + #audioCountInfo = gFakePortCountInfo midiCountInfo = gFakePortCountInfo - paramCountInfo = gFakePortCountInfo + #paramCountInfo = gFakePortCountInfo pluginHints = self.fPluginInfo['hints'] @@ -1385,7 +1385,7 @@ class PluginEdit(QDialog): # Main if __name__ == '__main__': - from carla_style import * + from carla_style import CarlaApplication app = CarlaApplication()