Browse Source

Force carla-rack to really use rack mode

tags/1.9.4
falkTX 10 years ago
parent
commit
f6171941d9
4 changed files with 11 additions and 3 deletions
  1. +1
    -0
      source/carla-patchbay
  2. +1
    -0
      source/carla-rack
  3. +3
    -0
      source/carla_host.py
  4. +6
    -3
      source/carla_shared.py

+ 1
- 0
source/carla-patchbay View File

@@ -66,6 +66,7 @@ if __name__ == '__main__':
gCarla.isLocal = True
gCarla.isPlugin = False
gCarla.processMode = ENGINE_PROCESS_MODE_MULTIPLE_CLIENTS
gCarla.processModeForced = True

initHost(initName, libPrefix)



+ 1
- 0
source/carla-rack View File

@@ -66,6 +66,7 @@ if __name__ == '__main__':
gCarla.isLocal = True
gCarla.isPlugin = False
gCarla.processMode = ENGINE_PROCESS_MODE_CONTINUOUS_RACK
gCarla.processModeForced = True

initHost(initName, libPrefix)



+ 3
- 0
source/carla_host.py View File

@@ -498,6 +498,9 @@ class HostWindow(QMainWindow):
except:
audioSampleRate = CARLA_DEFAULT_AUDIO_SAMPLE_RATE

if gCarla.processModeForced:
processMode = gCarla.processMode

# -------------------------------------------------------------
# fix things if needed



+ 6
- 3
source/carla_shared.py View File

@@ -241,6 +241,8 @@ class CarlaObject(object):
'sampleRate',
# current process mode
'processMode',
# check if process mode is forced (rack/patchbay)
'processModeForced',
# current transport mode
'transportMode',
# current max parameters
@@ -272,9 +274,10 @@ gCarla.isLocal = True
gCarla.isPlugin = False
gCarla.bufferSize = 0
gCarla.sampleRate = 0.0
gCarla.processMode = ENGINE_PROCESS_MODE_MULTIPLE_CLIENTS if LINUX else ENGINE_PROCESS_MODE_CONTINUOUS_RACK
gCarla.transportMode = ENGINE_TRANSPORT_MODE_JACK if LINUX else ENGINE_TRANSPORT_MODE_INTERNAL
gCarla.maxParameters = MAX_DEFAULT_PARAMETERS
gCarla.processMode = ENGINE_PROCESS_MODE_MULTIPLE_CLIENTS if LINUX else ENGINE_PROCESS_MODE_CONTINUOUS_RACK
gCarla.processModeForced = False
gCarla.transportMode = ENGINE_TRANSPORT_MODE_JACK if LINUX else ENGINE_TRANSPORT_MODE_INTERNAL
gCarla.maxParameters = MAX_DEFAULT_PARAMETERS
gCarla.discovery_native = ""
gCarla.discovery_posix32 = ""
gCarla.discovery_posix64 = ""


Loading…
Cancel
Save