mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-23 13:47:24 +01:00
cleanup previous commit that would not compile on OS X
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6617 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
98b7b458fa
commit
026eff6d32
1 changed files with 3 additions and 2 deletions
|
|
@ -1202,8 +1202,9 @@ AUPlugin::connect_and_run (vector<Sample*>& bufs, uint32_t maxbuf, int32_t& in,
|
|||
cerr << name() << " gave back " << buffers->mNumberBuffers << " buffers as output, of " << maxbuf << endl;
|
||||
|
||||
uint32_t limit = min ((uint32_t) buffers->mNumberBuffers, maxbuf);
|
||||
uint32_t i;
|
||||
|
||||
for (uint32_t i = 0; i < limit; ++i) {
|
||||
for (i = 0; i < limit; ++i) {
|
||||
if (bufs[i] + offset != buffers->mBuffers[i].mData) {
|
||||
// cerr << "chn " << i << " rendered into " << bufs[i]+offset << endl;
|
||||
memcpy (bufs[i]+offset, buffers->mBuffers[i].mData, nframes * sizeof (Sample));
|
||||
|
|
@ -1214,7 +1215,7 @@ AUPlugin::connect_and_run (vector<Sample*>& bufs, uint32_t maxbuf, int32_t& in,
|
|||
did not fill/touch/use.
|
||||
*/
|
||||
|
||||
for (i < maxbuf) {
|
||||
for (;i < maxbuf; ++i) {
|
||||
memset (bufs[i]+offset, 0, nframes * sizeof (Sample));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue