switch Evoral::Sequence debugging to use DEBUG_TRACE(); Sequence uses multiset<....
[ardour.git] / libs / ardour / export_channel.cc
index a09e6e21b6c2a6cfd388b011bc7256d3d2deeb86..f94ee1325792e787dd6eba39c6f0bb690c732e8a 100644 (file)
@@ -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];