13
0

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.
This commit is contained in:
Robin Gareus 2017-09-30 18:56:54 +02:00
parent 56edd3767c
commit 37eb68e817
2 changed files with 0 additions and 20 deletions

View 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 */

View 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)
{