AnClark Liu
AnClark Liu
把具体的环境信息贴出来吧,比如说是用什么版本的Chrome,Flv.js版本,视频编码。还有贴一下可能的日志。不然会被大佬怼的。。。
So when and how `DISTRHO::Plugin::initProgramName()` and `DISTRHO::Plugin::loadProgram()` work, according to your original design? I haven't seen those two methods invoked in VST2 implementation. Seems that they have no effect in...
Thanks for your patient and detailed explanations! According to your instruction, the only way conforms to VST2 specification is to cache all the states of programs. The specification is somewhat...
Why I want to implement program for VST2 is that many VST2 plugins supports it. For example, [Memorymoon](http://www.memorymoon.com/) series, MixCraft's Classic Effects. But they are old plugins (maybe were born...
> can you show in pics how these are different?  This is the VST3 version of Dexed. It's built with JUCE. Perhaps JUCE handles VST3 programs in another way....
I tried `getScaleFactor()` but still in vain. Here's my code, in UI constructor ([source file](https://github.com/AnClark/synthv1-universal/blob/554bb6603452f3bf5705ac200effbdfc0aa97465/plugin/synthv1_dpfui.cpp#L48)): ```c++ const QSize& hint = fWidget->sizeHint(); UI::setWidth(hint.width() * getScaleFactor()); UI::setHeight(hint.height() * getScaleFactor()); ``` The host...
> did you log it to see if the scale factor is not 1?  I've checked the scale factor. It's 1.2500.
But the problem is: the "initial" window size is not fit with scale factors larger than 100%. (I have `DISTRHO_UI_DEFAULT_WIDTH` and `DISTRHO_UI_DEFAULT_HEIGHT` configured.) In my plugin, Qt UI is clipped...
Seems that APIs like `sizeChanged()` is triggered from host side. But my problem is stll unsolved. The Qt window itself is created in the right scale factor. But the host...
> t is not the host that creates the window, we are. the UI size is defined on the plugin side, So how should I create the window with the...