diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-11-05 05:18:10 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-11-11 05:26:56 +0100 |
commit | 409a9d01cd545b5b9c030785d0c68fc3c69dfc9b (patch) | |
tree | 0d451e198b32bf2c3856220268bfa7e2bbc0e64d | |
parent | 75f3b195c3ff1682aa53449417d696bfe255b292 (diff) |
jack: never try to autoconnect to MIDI ports
Original patch supplied by 'adi'
http://pulseaudio.org/ticket/669
-rw-r--r-- | src/modules/jack/module-jack-sink.c | 2 | ||||
-rw-r--r-- | src/modules/jack/module-jack-source.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/jack/module-jack-sink.c b/src/modules/jack/module-jack-sink.c index fc976fa7..9f3e071f 100644 --- a/src/modules/jack/module-jack-sink.c +++ b/src/modules/jack/module-jack-sink.c @@ -334,7 +334,7 @@ int pa__init(pa_module*m) { goto fail; } - ports = jack_get_ports(u->client, NULL, NULL, JackPortIsPhysical|JackPortIsInput); + ports = jack_get_ports(u->client, NULL, JACK_DEFAULT_AUDIO_TYPE, JackPortIsPhysical|JackPortIsInput); channels = 0; for (p = ports; *p; p++) diff --git a/src/modules/jack/module-jack-source.c b/src/modules/jack/module-jack-source.c index a898e0e5..6c68527b 100644 --- a/src/modules/jack/module-jack-source.c +++ b/src/modules/jack/module-jack-source.c @@ -286,7 +286,7 @@ int pa__init(pa_module*m) { goto fail; } - ports = jack_get_ports(u->client, NULL, NULL, JackPortIsPhysical|JackPortIsOutput); + ports = jack_get_ports(u->client, NULL, JACK_DEFAULT_AUDIO_TYPE, JackPortIsPhysical|JackPortIsOutput); channels = 0; for (p = ports; *p; p++) |