summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-09-30 18:56:54 +0200
committerRobin Gareus <robin@gareus.org>2017-09-30 18:56:54 +0200
commit37eb68e817830db1f2fae4bb3c9beecc5348e74f (patch)
tree5c1dcc40ece7d969122e65ea177c441c9cdc2377 /libs/ardour/io.cc
parent56edd3767c7e559711289858ded1afa3a5d74816 (diff)
Remove unused IO::process_input() API
This was only needed in order to run the meter on inputs when Ardour did no processing at all.
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r--libs/ardour/io.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index 426fca715c..a2a46270c8 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -1653,25 +1653,6 @@ IO::connected_to (const string& str) const
return false;
}
-/** Call a processor's ::run() method, giving it our buffers
- * Caller must hold process lock.
- */
-void
-IO::process_input (boost::shared_ptr<Processor> proc, samplepos_t start_sample, samplepos_t end_sample, double speed, pframes_t nframes)
-{
- /* don't read the data into new buffers - just use the port buffers directly */
-
- if (n_ports().n_total() == 0) {
- /* We have no ports, so nothing to process */
- return;
- }
-
- _buffers.get_backend_port_addresses (_ports, nframes);
- if (proc) {
- proc->run (_buffers, start_sample, end_sample, speed, nframes, true);
- }
-}
-
void
IO::collect_input (BufferSet& bufs, pframes_t nframes, ChanCount offset)
{