Carla icon indicating copy to clipboard operation
Carla copied to clipboard

VST3 getBusCount invoked incorrectly

Open jpcima opened this issue 2 years ago • 2 comments

The host invokes the method getBusCount(kEvent, kInput) on the audio thread. According to the workflow diagram, it's incorrect: getBusCount is UI thread when the audio is Processing.

The problem happens from acceptsMidi in JUCE. This is called from associateWith, which in turn is from processAudio in the file juce_VST3PluginFormat.cpp.

Problem seems to exist in the upstream source as well.

jpcima avatar Jun 16 '22 11:06 jpcima

This issue has received a fix in branch develop. juce-framework/JUCE@0e33d45

jpcima avatar Jun 28 '22 12:06 jpcima

Can it be closed ?

luzpaz avatar Dec 10 '23 17:12 luzpaz