use class-static method rather than pretend there is a per-member value for Port::port_offset()

This commit is contained in:
Paul Davis 2016-09-13 13:36:00 -05:00
parent 21b919c210
commit ab160ca748

View File

@ -301,7 +301,7 @@ Delivery::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, do
for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) {
if (*t != DataType::AUDIO && bufs.count().get(*t) > 0) {
_output->copy_to_outputs (bufs, *t, nframes, ports.port(0)->port_offset());
_output->copy_to_outputs (bufs, *t, nframes, Port::port_offset());
}
}