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 | |
parent | 66128bc540036343d81834ad66437fd4f16bc672 (diff) |
fix thinko in 2e4428b
perspective of Ardour: signal sinks are outputs
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/ardour/port_manager.h | 2 | ||||
-rw-r--r-- | libs/ardour/audioengine.cc | 2 | ||||
-rw-r--r-- | libs/ardour/port_manager.cc | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/ardour/port_manager.h b/libs/ardour/ardour/port_manager.h index 8c55b69022..71b18f2f78 100644 --- a/libs/ardour/ardour/port_manager.h +++ b/libs/ardour/ardour/port_manager.h @@ -149,7 +149,7 @@ class LIBARDOUR_API PortManager void fade_out (gain_t, gain_t, pframes_t); void silence (pframes_t nframes); - void silence_physical (pframes_t nframes); + void silence_outputs (pframes_t nframes); void check_monitoring (); /** Signal the start of an audio cycle. * This MUST be called before any reading/writing for this cycle. diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index a92e7d4524..c18b5dde38 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -210,7 +210,7 @@ AudioEngine::process_callback (pframes_t nframes) * before the process_callback. it may even be * jack/alsa only). but better safe than sorry. */ - PortManager::silence_physical (nframes); + PortManager::silence_outputs (nframes); return 0; } 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; |