diff options
author | Robin Gareus <robin@gareus.org> | 2015-05-04 00:29:15 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-05-04 00:29:15 +0200 |
commit | 9ec3085d71269ab5c155db4284738da6ec7f38ae (patch) | |
tree | 3be771712a6ca2eb2d9f1822155eb2099155c268 /libs/ardour/port_manager.cc | |
parent | 66128bc540036343d81834ad66437fd4f16bc672 (diff) |
fix thinko in 2e4428b
perspective of Ardour: signal sinks are outputs
Diffstat (limited to 'libs/ardour/port_manager.cc')
-rw-r--r-- | libs/ardour/port_manager.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/port_manager.cc b/libs/ardour/port_manager.cc index 37970cc708..1557a6106c 100644 --- a/libs/ardour/port_manager.cc +++ b/libs/ardour/port_manager.cc @@ -639,10 +639,10 @@ PortManager::silence (pframes_t nframes) } void -PortManager::silence_physical (pframes_t nframes) +PortManager::silence_outputs (pframes_t nframes) { std::vector<std::string> port_names; - if (get_ports("", DataType::AUDIO, IsInput, port_names)) { + if (get_ports("", DataType::AUDIO, IsOutput, port_names)) { for (std::vector<std::string>::iterator p = port_names.begin(); p != port_names.end(); ++p) { if (!port_is_mine(*p)) { continue; @@ -659,7 +659,7 @@ PortManager::silence_physical (pframes_t nframes) } } - if (get_ports("", DataType::MIDI, IsInput, port_names)) { + if (get_ports("", DataType::MIDI, IsOutput, port_names)) { for (std::vector<std::string>::iterator p = port_names.begin(); p != port_names.end(); ++p) { if (!port_is_mine(*p)) { continue; |