mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
jack: never try to autoconnect to MIDI ports
Original patch supplied by 'adi' http://pulseaudio.org/ticket/669
This commit is contained in:
parent
38a03c1e4f
commit
721e32b473
2 changed files with 2 additions and 2 deletions
|
|
@ -334,7 +334,7 @@ int pa__init(pa_module*m) {
|
||||||
goto fail;
|
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;
|
channels = 0;
|
||||||
for (p = ports; *p; p++)
|
for (p = ports; *p; p++)
|
||||||
|
|
|
||||||
|
|
@ -286,7 +286,7 @@ int pa__init(pa_module*m) {
|
||||||
goto fail;
|
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;
|
channels = 0;
|
||||||
for (p = ports; *p; p++)
|
for (p = ports; *p; p++)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue