Skip to content

Commit

Permalink
Disable ALSA-MIDI integrations for now
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Aug 5, 2020
1 parent b54f8b3 commit bb2bb2d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/catia.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
print("Using experimental ALSA-MIDI support")
break

haveALSA = False

# ------------------------------------------------------------------------------------------------------------
# Global Variables

Expand Down Expand Up @@ -437,7 +439,7 @@ def canvasCallback(self, action, value1, value2, valueStr):
"Rename functions rely on JACK aliases and cannot be done in ALSA ports"))
return

if portNameR.split(":", 1)[0] == gA2JClientName:
if False and portNameR.split(":", 1)[0] == gA2JClientName:
a2jSplit = portNameR.split(":", 3)
portName = "%s:%s: %s" % (a2jSplit[0], a2jSplit[1], portShortName)
else:
Expand Down Expand Up @@ -582,7 +584,7 @@ def initJackPorts(self):

h = 0
for i in range(len(portNameList)):
if portNameList[i - h].split(":")[0] == gA2JClientName:
if False and portNameList[i - h].split(":")[0] == gA2JClientName:
portName = portNameList.pop(i - h)
a2jNameList.append(portName)
h += 1
Expand Down Expand Up @@ -877,7 +879,7 @@ def canvas_addJackPort(self, portPtr, portName):
else:
portMode = patchcanvas.PORT_MODE_NULL

if groupName == gA2JClientName:
if False and groupName == gA2JClientName:
portType = patchcanvas.PORT_TYPE_MIDI_JACK
groupName = portName.replace("%s:" % gA2JClientName, "", 1).split(" [", 1)[0]
portShortName = portName.split("): ", 1)[1]
Expand Down

0 comments on commit bb2bb2d

Please sign in to comment.