Fix forwarding of output-buffers.
authorRobin Gareus <robin@gareus.org>
Fri, 25 Nov 2016 12:26:38 +0000 (13:26 +0100)
committerRobin Gareus <robin@gareus.org>
Fri, 25 Nov 2016 12:26:38 +0000 (13:26 +0100)
commitfa642e0e9d415be851f5b60ccd13a40a077d58b8
treefe1d75f88835f7cc6634bdd6fe5a8244279064eb
parente07f46551659a78233a88b23e1fec1e3f8613f21
Fix forwarding of output-buffers.

fbc8504f9eb74 swapped the iterators: Instead of iterating over output
buffers like BufferSet::read_from(), the new code iterates over
the current buffers. In case of 1 in -> 2 out, only the 1st channel
was be copied.  Also unlike BufferSet::read_from() the ChanCount was
not updated.

Processors after a Delivery e.g. out-meter, AFL processor did not see
all channels.
libs/ardour/delivery.cc