diff options
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/ardour/io.h | 1 | ||||
-rw-r--r-- | libs/ardour/io.cc | 19 |
2 files changed, 0 insertions, 20 deletions
diff --git a/libs/ardour/ardour/io.h b/libs/ardour/ardour/io.h index ed43341dbb..0eacaa973a 100644 --- a/libs/ardour/ardour/io.h +++ b/libs/ardour/ardour/io.h @@ -199,7 +199,6 @@ class LIBARDOUR_API IO : public SessionObject, public Latent /* three utility functions - this just seems to be simplest place to put them */ void collect_input (BufferSet& bufs, pframes_t nframes, ChanCount offset); - void process_input (boost::shared_ptr<Processor>, samplepos_t start_sample, samplepos_t end_sample, double speed, pframes_t nframes); void copy_to_outputs (BufferSet& bufs, DataType type, pframes_t nframes, samplecnt_t offset); /* AudioTrack::deprecated_use_diskstream_connections() needs these */ 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) { |