summaryrefslogtreecommitdiff
path: root/libs/ardour/export_channel.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-04-12 22:35:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-04-12 22:35:06 +0000
commit981c8906fb9d2fc5b2071018a22947a87f6bd5db (patch)
tree4a7735cfb7d9fc1e4d94c5e3856d76894065b735 /libs/ardour/export_channel.cc
parentac8c7e427fd778201297469fb6ce189142e29ffa (diff)
alignment/capture/positioning changes ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@6886 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_channel.cc')
-rw-r--r--libs/ardour/export_channel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/export_channel.cc b/libs/ardour/export_channel.cc
index a09e6e21b6..f94ee13257 100644
--- a/libs/ardour/export_channel.cc
+++ b/libs/ardour/export_channel.cc
@@ -45,7 +45,7 @@ PortExportChannel::read (Sample * data, nframes_t frames) const
for (PortSet::const_iterator it = ports.begin(); it != ports.end(); ++it) {
if (*it != 0) {
- Sample* port_buffer = (*it)->get_audio_buffer(frames, 0).data();
+ Sample* port_buffer = (*it)->get_audio_buffer(frames).data();
for (uint32_t i = 0; i < frames; ++i) {
data[i] += (float) port_buffer[i];