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:
parent
815ffcd567
commit
249dadd08c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user