mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
make JACK backend report Midi-Through ports in physical port lists to make testing easier (it is arguably right anyway)
This commit is contained in:
parent
f0f8b239ef
commit
b0eed6c537
1 changed files with 4 additions and 4 deletions
|
|
@ -295,7 +295,7 @@ JACKAudioBackend::get_ports (const string& port_name_pattern, DataType type, Por
|
|||
for (uint32_t i = 0; ports[i]; ++i) {
|
||||
s.push_back (ports[i]);
|
||||
}
|
||||
|
||||
|
||||
jack_free (ports);
|
||||
|
||||
return s.size();
|
||||
|
|
@ -325,9 +325,9 @@ JACKAudioBackend::get_physical (DataType type, unsigned long flags, vector<strin
|
|||
|
||||
if (ports) {
|
||||
for (uint32_t i = 0; ports[i]; ++i) {
|
||||
if (strstr (ports[i], "Midi-Through")) {
|
||||
continue;
|
||||
}
|
||||
// if (strstr (ports[i], "Midi-Through")) {
|
||||
// continue;
|
||||
// }
|
||||
phy.push_back (ports[i]);
|
||||
}
|
||||
jack_free (ports);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue