13
0

give copy_vector() another chance.

last arguments in nsamples, not bytes
This commit is contained in:
Robin Gareus 2015-08-07 21:00:35 +02:00
parent aabcbf7bad
commit 69ac138bf2

View File

@ -600,7 +600,7 @@ VSTPlugin::connect_and_run (BufferSet& bufs,
if (!valid) {
continue;
}
memcpy (bufs.get_audio(index).data(offset), outs[i], nframes * sizeof(float));
copy_vector (bufs.get_audio(index).data(offset), outs[i], nframes);
}
return 0;
}