projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
815ffcd
)
fix VST plugin crash (from 35a9c63)
author
Robin Gareus
<robin@gareus.org>
Fri, 7 Aug 2015 01:07:50 +0000
(
03:07
+0200)
committer
Robin Gareus
<robin@gareus.org>
Fri, 7 Aug 2015 01:07:50 +0000
(
03:07
+0200)
depending on offset, the audio-buffer may not be
memory aligned, use memcpy() not SSE copy_vector.
libs/ardour/vst_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/vst_plugin.cc
b/libs/ardour/vst_plugin.cc
index b32db6a6d309a3df4cc24d50bd21784f6c79a399..b62e18fed8993c7afd70e6db22337aa954e8caa4 100644
(file)
--- a/
libs/ardour/vst_plugin.cc
+++ b/
libs/ardour/vst_plugin.cc
@@
-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;