[SCM] calf/master: Allow auto-connecting to any physical MIDI ports, not only 'alsa_pcm' or 'system'.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:18 UTC 2013


The following commit has been merged in the master branch:
commit 0564a09ae4bf0ecb1cb981cba05fb21c67feae16
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Thu Jul 1 23:23:11 2010 +0100

    Allow auto-connecting to any physical MIDI ports, not only 'alsa_pcm' or 'system'.

diff --git a/src/host_session.cpp b/src/host_session.cpp
index dadc143..d852b39 100644
--- a/src/host_session.cpp
+++ b/src/host_session.cpp
@@ -267,7 +267,7 @@ void host_session::connect()
         }
         else
         if (autoconnect_midi_index != -1) {
-            const char **ports = client.get_ports("(system|alsa_pcm):.*", JACK_DEFAULT_MIDI_TYPE, JackPortIsOutput);
+            const char **ports = client.get_ports(".*:.*", JACK_DEFAULT_MIDI_TYPE, JackPortIsOutput | JackPortIsPhysical);
             for (int j = 0; ports && ports[j]; j++)
             {
                 if (j + 1 == autoconnect_midi_index) {

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list