mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
dummy-backend, fix physical ports in/out convention.
This commit is contained in:
parent
ea3918ba2d
commit
b800a01ea6
1 changed files with 2 additions and 2 deletions
|
|
@ -925,7 +925,7 @@ DummyAudioBackend::get_physical_outputs (DataType type, std::vector<std::string>
|
||||||
{
|
{
|
||||||
for (size_t i = 0; i < _ports.size (); ++i) {
|
for (size_t i = 0; i < _ports.size (); ++i) {
|
||||||
DummyPort* port = _ports[i];
|
DummyPort* port = _ports[i];
|
||||||
if ((port->type () == type) && port->is_output () && port->is_physical ()) {
|
if ((port->type () == type) && port->is_input () && port->is_physical ()) {
|
||||||
port_names.push_back (port->name ());
|
port_names.push_back (port->name ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -936,7 +936,7 @@ DummyAudioBackend::get_physical_inputs (DataType type, std::vector<std::string>&
|
||||||
{
|
{
|
||||||
for (size_t i = 0; i < _ports.size (); ++i) {
|
for (size_t i = 0; i < _ports.size (); ++i) {
|
||||||
DummyPort* port = _ports[i];
|
DummyPort* port = _ports[i];
|
||||||
if ((port->type () == type) && port->is_input () && port->is_physical ()) {
|
if ((port->type () == type) && port->is_output () && port->is_physical ()) {
|
||||||
port_names.push_back (port->name ());
|
port_names.push_back (port->name ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue