
Originally Posted by
Richard Berg
I'm not sure exactly what you were told, but it sounds right to me. A VST plug in can't control which thread processReplacing () is called from. And the host can't control what the plugin does once it receives control (apart from threading its own routines beforehand). The SDK guidelines encourage the developer not to hold locks and other expensive objects on the caller thread, but the host can't do anything about it.
Of course, a plugin can spin off its own threads. While the API is not explicitly designed around multiprocessing, a plugin author is free to optimize for dual core within its contraints.
Bookmarks