Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement VST3 zoom #406

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

baconpaul
Copy link
Collaborator

VST3 zoom is very similar to VST2 zoom since both rely on
VSTGUI (and the associated bugs therein), but differ on the approach
to notify the host. The primary difference in notifying the host
is requiring a reference to the Steinberg::IPlugFrame frame class,
which has to be publically exposed to allow the processor to see it.
(This may be indicative of issues still with us choosing to not have
a formal processor/editor split, as mentioned in #164). Regardless,
once the IPlugFrame is exposed, we can use the resizeView() API
in vst3 to inform hosts in our zoom callback, as implemented here.

Adresses issue #357

VST3 zoom is very similar to VST2 zoom since both rely on
VSTGUI (and the associated bugs therein), but differ on the approach
to notify the host. The primary difference in notifying the host
is requiring a reference to the Steinberg::IPlugFrame frame class,
which has to be publically exposed to allow the processor to see it.
(This may be indicative of issues still with us choosing to not have
a formal processor/editor split, as mentioned in surge-synthesizer#164). Regardless,
once the IPlugFrame is exposed, we can use the resizeView() API
in vst3 to inform hosts in our zoom callback, as implemented here.
@baconpaul baconpaul force-pushed the zoom-vst3-take2-357 branch from dec0772 to 3d241b8 Compare January 28, 2019 21:18
Copy link
Collaborator

@kzantow kzantow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yey!

@baconpaul
Copy link
Collaborator Author

Thanks @kzantow. I’ll merge this in now and then we will have zoom on all our working combos!! Yay.

And then to fix the rest of the zoom related issues...

@baconpaul baconpaul merged commit 8a7b5a7 into surge-synthesizer:master Jan 29, 2019
@baconpaul baconpaul deleted the zoom-vst3-take2-357 branch January 31, 2019 01:17
baconpaul added a commit to baconpaul/surge that referenced this pull request Jul 10, 2019
VST3 zoom is very similar to VST2 zoom since both rely on
VSTGUI (and the associated bugs therein), but differ on the approach
to notify the host. The primary difference in notifying the host
is requiring a reference to the Steinberg::IPlugFrame frame class,
which has to be publically exposed to allow the processor to see it.
(This may be indicative of issues still with us choosing to not have
a formal processor/editor split, as mentioned in surge-synthesizer#164). Regardless,
once the IPlugFrame is exposed, we can use the resizeView() API
in vst3 to inform hosts in our zoom callback, as implemented here.
Closes surge-synthesizer#357 

Former-commit-id: 1c7fac21cbd6c1835b8f9fbefa8908dc154fd26e [formerly 8a7b5a7]
Former-commit-id: 261ab8f8067137d2823d48074a3284cc8b8aa347
Former-commit-id: 368499d70341cbd99947f4fbd76c66bbc0d862bb
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.

2 participants