13
0

fix VST plugin crash (from 35a9c63)

depending on offset, the audio-buffer may not be
memory aligned, use memcpy() not SSE copy_vector.
This commit is contained in:
Robin Gareus 2015-08-07 03:07:50 +02:00
parent 815ffcd567
commit 249dadd08c

View File

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