fix(bridge): noteId match noteOn (0) for noteOff; create VST GUI window on main thread, attach on worker
This commit is contained in:
@@ -41,6 +41,11 @@ public:
|
||||
// inside processAudioBlock on the same instance).
|
||||
virtual bool needsReload() const { return false; }
|
||||
virtual void setReloading(bool /*on*/) {}
|
||||
// VST3: split openGUI so instance teardown/reload runs on the owning
|
||||
// apartment thread while view->attached() may run on a temporary thread
|
||||
// with the channel worker pumping messages (see bridge main.cpp).
|
||||
virtual bool reloadForGUI() { return true; }
|
||||
virtual bool attachView(void* /*parentWindowHandle*/) { return false; }
|
||||
|
||||
// Real-time Audio PCM Float32 rendering loop
|
||||
virtual void processAudioBlock(float* outputL, float* outputR, uint32_t numSamples) = 0;
|
||||
|
||||
Reference in New Issue
Block a user