Remove unused IO::process_input() API
authorRobin Gareus <robin@gareus.org>
Sat, 30 Sep 2017 16:56:54 +0000 (18:56 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 30 Sep 2017 16:56:54 +0000 (18:56 +0200)
This was only needed in order to run the meter on inputs when Ardour did
no processing at all.

libs/ardour/ardour/io.h
libs/ardour/io.cc

index ed43341dbb9463c520586466292cf20d14afdf18..0eacaa973aacc29ddbd615586194740ee6710c25 100644 (file)
@@ -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 */
index 426fca715c760553c3e29a515d5057002b3c1ef8..a2a46270c8a80a80b948102002c08243e5a5479e 100644 (file)
@@ -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)
 {