summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/muse/driver/jack.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/muse/muse/driver/jack.cpp b/muse/muse/driver/jack.cpp
index 53002edc..3329b73f 100644
--- a/muse/muse/driver/jack.cpp
+++ b/muse/muse/driver/jack.cpp
@@ -1676,6 +1676,8 @@ int JackAudioDevice::setMaster(bool f)
void JackAudioDevice::scanMidiPorts()
{
+ if(debugMsg)
+ printf("JackAudioDevice::scanMidiPorts:\n");
const char* type = JACK_DEFAULT_MIDI_TYPE;
const char** ports = jack_get_ports(_client, 0, type, 0);
for (const char** p = ports; p && *p; ++p)
@@ -1690,6 +1692,9 @@ void JackAudioDevice::scanMidiPorts()
if(strncmp(buffer, "MusE", 4) == 0)
continue;
+ if(debugMsg)
+ printf(" found port:%s\n", buffer);
+
// If there are aliases for this port, use the first one - much better for identifying.
//char a1[nsz];
char a2[nsz];