diff options
author | Robin Gareus <robin@gareus.org> | 2017-10-29 18:44:06 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-10-29 20:04:11 +0100 |
commit | db674ac8b676bb3412422bb784abd35ca9a19930 (patch) | |
tree | 5dc66652f363dff295730df9e0bcdeb6af14869c /libs/ardour/audio_port.cc | |
parent | 4f03b7c1012359c33161f62f3cddf860374be547 (diff) |
Remove unused per-port buffer offset
Diffstat (limited to 'libs/ardour/audio_port.cc')
-rw-r--r-- | libs/ardour/audio_port.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/audio_port.cc b/libs/ardour/audio_port.cc index a9d41afce2..797c8383ee 100644 --- a/libs/ardour/audio_port.cc +++ b/libs/ardour/audio_port.cc @@ -133,9 +133,9 @@ AudioPort::get_audio_buffer (pframes_t nframes) assert (_port_handle); if (!externally_connected ()) { _buffer->set_data ((Sample *) port_engine.get_buffer (_port_handle, _cycle_nframes) + - _global_port_buffer_offset + _port_buffer_offset, nframes); + _global_port_buffer_offset, nframes); } else { - _buffer->set_data (&_data[_global_port_buffer_offset + _port_buffer_offset], nframes); + _buffer->set_data (&_data[_global_port_buffer_offset], nframes); } return *_buffer; } |