Skip to content

Call prepare and release on main thread for VST3 - #204

Open
chrhaase wants to merge 1 commit into
Tracktion:developfrom
chrhaase:fix-vst3-thread-safety
Open

chrhaase wants to merge 1 commit into
Tracktion:developfrom
chrhaase:fix-vst3-thread-safety

Conversation

@chrhaase

Copy link
Copy Markdown

The prepare/release calls in ExtremeTests.cpp weren't using the callPrepareToPlayOnMainThreadIfVST3-helpers like the rest of the tests.
I had a dead simple synth plugin mysteriously fail the subnormals test and adding this fixed it.

ExtremeTests were calling prepareToPlay and releaseResources directly on the VST3 instances, which is not allowed by the VST3 spec.
Use the call[...]OnMessageThreadIfVST3 helpers like the rest of the tests do.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant