Don't try to process_input() if an IO has no ports; fixes
#4546. git-svn-id: svn://localhost/ardour2/branches/3.0@10965 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e02e25e3f3
commit
5344f5ca0f
@ -1554,6 +1554,11 @@ IO::process_input (boost::shared_ptr<Processor> proc, framepos_t start_frame, fr
|
||||
{
|
||||
/* 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_jack_port_addresses (_ports, nframes);
|
||||
proc->run (_buffers, start_frame, end_frame, nframes, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user