Browse Source

Misc fixing

tags/1.9.4
falkTX 11 years ago
parent
commit
04f0d964a1
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      source/backend/native/audiofile.c
  2. +1
    -1
      source/carla.py

+ 2
- 1
source/backend/native/audiofile.c View File

@@ -370,7 +370,8 @@ static void audiofile_cleanup(PluginHandle handle)


static uint32_t audiofile_get_parameter_count(PluginHandle handle) static uint32_t audiofile_get_parameter_count(PluginHandle handle)
{ {
return 1;
// FIXME - loop mode needs fixing
return 0;


// unused // unused
(void)handle; (void)handle;


+ 1
- 1
source/carla.py View File

@@ -740,7 +740,7 @@ class CarlaMainW(QMainWindow):


elif extension in ("mid", "midi"): elif extension in ("mid", "midi"):
self.fLastLoadedPluginId = -2 self.fLastLoadedPluginId = -2
if Carla.host.add_plugin(BINARY_NATIVE, PLUGIN_INTERNAL, None, basename, "midiFile", None):
if Carla.host.add_plugin(BINARY_NATIVE, PLUGIN_INTERNAL, None, basename, "midifile", None):
while (self.fLastLoadedPluginId == -2): sleep(0.2) while (self.fLastLoadedPluginId == -2): sleep(0.2)
idx = self.fLastLoadedPluginId idx = self.fLastLoadedPluginId
self.fLastLoadedPluginId = -1 self.fLastLoadedPluginId = -1


Loading…
Cancel
Save