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:
parent
56edd3767c
commit
37eb68e817
@ -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 */
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user