Search found 130 matches

by howardantares
Fri Oct 23, 2020 4:39 pm
Forum: VST 3 SDK
Topic: projectTimeSamples not always as expected?
Replies: 2
Views: 74

Re: projectTimeSamples not always as expected?

The block size currently is 512 samples, and the sample rate is 44.1k. But this has happened for years, at various different settings, as far as I know. The new version I'm working on doesn't handle that difference as easily as the existing one in the field, and I'd like to keep it that way, if poss...
by howardantares
Wed Oct 14, 2020 4:57 pm
Forum: VST 3 SDK
Topic: projectTimeSamples not always as expected?
Replies: 2
Views: 74

projectTimeSamples not always as expected?

We keep track of the current sample position during playback, to correctly align a graph and corrections made by the user with the audio. For this, we need to detect if there is a jump or loop-back, so that we cease working with the data we were using and fetch the data for the new location instead....
by howardantares
Wed Feb 26, 2020 10:29 pm
Forum: VSTGUI
Topic: Centering a CView inside a parent container that stretches?
Replies: 2
Views: 2212

Re: Centering a CView inside a parent container that stretches?

I found a way around it, by overriding setViewSize in the parent container (which I already had a custom-derived class for), and moving the child view myself. Strange that such a thing is not needed for another view whose parent is simply the editor. I thought that was the purpose of those flags in ...
by howardantares
Wed Feb 26, 2020 7:43 pm
Forum: VSTGUI
Topic: Centering a CView inside a parent container that stretches?
Replies: 2
Views: 2212

Centering a CView inside a parent container that stretches?

I have a CViewContainer which auto-sizes to keep attached to the window borders when resizing the window. Inside this container, I have added a new CView that I want to stay centered horizontally as the parent stretches, but stay the same distance from the top. To do this, in the child CView's defin...
by howardantares
Tue Aug 13, 2019 7:54 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 2747

Re: StudioOne and HiDPI under v4.8?

We decided to roll back to 3.6.6, since this is just a minor release of our plug-in, and we've had a couple of other strange issues with the new SDK and our (very) old code. Doing so fixed several issues, and will allow us to release asap. We'll update to the new SDKs when we do a complete rewrite (...
by howardantares
Mon Aug 12, 2019 9:26 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 2747

Re: StudioOne and HiDPI under v4.8?

I haven't tried that yet. It will need to be AGainSimple, since I am using the SingleComponentEffect class. I'll try to get that one up and running and see.
by howardantares
Fri Aug 09, 2019 3:05 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 2747

Re: StudioOne and HiDPI under v4.8?

I sent an email to someone at PreSonus, to see if they have any insight into this. If there is no resolution available, then I'll have to revert back to VST GUI 4.3. Is anyone else seeing this happen with 4.8 in Studio One?
by howardantares
Fri Aug 02, 2019 7:34 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 2747

Re: StudioOne and HiDPI under v4.8?

Shoot. That doesn't work, because setZoom() checks if setSize() returns true before applying the new scale factor, but setSize() returns false because the size isn't seen as changing at this point. That causes setZoom() to not apply the new scale factor, so my window still shows up twice as big as i...
by howardantares
Fri Aug 02, 2019 6:52 pm
Forum: VSTGUI
Topic: StudioOne and HiDPI under v4.8?
Replies: 8
Views: 2747

Re: StudioOne and HiDPI under v4.8?

It looks like open() has not been called yet when setContentScaleFactor() is called, so getFrame() returns NULL, and the scale factor is not passed on to the frame. I assume that is why this is not working as expected. Which is unfortunate, because we tell users to use the VST3 version in StudioOne ...
by howardantares
Fri Aug 02, 2019 6:10 pm
Forum: VSTGUI
Topic: AAX problem with VSTGUI 4.8: CFrame is "final"
Replies: 3
Views: 1549

Re: AAX problem with VSTGUI 4.8: CFrame is "final"

I had a number of problems trying to modify CFrame to work like it used to in AAX, and just gave up. (The main problem was that removing the instance and then creating a new one always caused a crash because of something not being destroyed properly, apparently.) So I've gone back to VST 3.6.6 and i...