jack: never try to autoconnect to MIDI ports

Original patch supplied by 'adi'

http://pulseaudio.org/ticket/669
This commit is contained in:
Lennart Poettering 2009-11-05 05:18:10 +01:00
parent 38a03c1e4f
commit 721e32b473
2 changed files with 2 additions and 2 deletions

View file

@ -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++)