summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-02-19 04:27:36 +0000
committerTim E. Real <termtech@rogers.com>2010-02-19 04:27:36 +0000
commita278b34a6c2a47d6cf0c9b5ebfc696f5bf2c984d (patch)
tree22ed0962af699592b10e7f90b224c781f828560d
parent8225442c1aa4b8d9c618188184c1e86202b663fe (diff)
See ChangeLog
-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];