Search found 312 matches

by Arne Scheffler
Tue Apr 18, 2017 3:08 pm
Forum: VST 3 SDK
Topic: Host compatibility testing
Replies: 6
Views: 2627

Re: Host compatibility testing

Also I wanted to say the 'Unit test' feature in the VST3 Plugin Test Host is really great. However I haven't found a way to launch the unit test for a specific plug-in from the command line, which would allow using it inside an automated build/testing environment. Perhaps this could be put on the i...
by Arne Scheffler
Tue Apr 11, 2017 2:47 pm
Forum: VST 3 SDK
Topic: VST3PluginTestHost not calling destructor?
Replies: 2
Views: 1511

Re: VST3PluginTestHost not calling destructor?

Don't use the constructor and destructor. Use the initialize(..) and terminate(..) methods to allocate/deallocate system resources.
by Arne Scheffler
Tue Apr 11, 2017 2:45 pm
Forum: VST 3 SDK
Topic: Linux X11 windowing in a VST 3.6.7 plugin using JUCE components
Replies: 2
Views: 1552

Re: Linux X11 windowing in a VST 3.6.7 plugin using JUCE components

On Linux you need to embed a X11 window which supports the XEMBED protocol. I don't think that Juce supports this yet.
by Arne Scheffler
Fri Apr 07, 2017 3:09 pm
Forum: VSTGUI
Topic: Windows 64bits GUI very slow after updating to 4.3
Replies: 4
Views: 2335

Re: Windows 64bits GUI very slow after updating to 4.3

OK, not much I can see, but I guess that you are redrawing your whole editor all the time.This is much worse on Windows as on macOS as macOS throttles redraws to 60 or 30Hz, while Windows does not do this. Another thing you should do is eliminate every offscreen buffer you have introduced yourself t...
by Arne Scheffler
Thu Apr 06, 2017 1:25 pm
Forum: VSTGUI
Topic: Windows 64bits GUI very slow after updating to 4.3
Replies: 4
Views: 2335

Re: Windows 64bits GUI very slow after updating to 4.3

Hi,
normally there shouldn't be any differences between 32 and 64 bit. Can you explain what exactly is slow on 64 bit ? Can you make a video ?

Cheers
Arne
by Arne Scheffler
Thu Mar 30, 2017 11:41 am
Forum: VST 3 SDK
Topic: New vstscanner versions
Replies: 29
Views: 9876

Re: New vstscanner versions

I see... that the objc runtime internally increases open count on dylibs containing Objective-C to prevent them from unloading. Ehm, no, only if it has objective-c meta data other than image info. Otherwise as the cycle() function shows if a plug-in registers classes or protocols they should be abl...
by Arne Scheffler
Thu Mar 30, 2017 8:45 am
Forum: VST 3 SDK
Topic: New vstscanner versions
Replies: 29
Views: 9876

Re: New vstscanner versions

Thanks Arne, I understand that the crash happens when/after unloading a plugin, is that so? Some Apple documentation still says that unloading Objective-C is not possible, could be that it was not updated: Because of a limitation in the Objective-C runtime system, NSBundle cannot unload executable ...
by Arne Scheffler
Wed Mar 29, 2017 2:03 pm
Forum: VST 3 SDK
Topic: New vstscanner versions
Replies: 29
Views: 9876

Re: New vstscanner versions

Yes, the plug-in GUI and linked GUI framework use several Objective-C classes and at least one category method. But you don't add functionality to classes from Apple's frameworks ? If you do you need to put this into a separate framework or dylib so that this one is not unloaded when your plug-in i...
by Arne Scheffler
Wed Mar 29, 2017 2:01 pm
Forum: VST 3 SDK
Topic: New vstscanner versions
Replies: 29
Views: 9876

Re: New vstscanner versions

Hi Arne, thanks a lot for your reply. I just did another test - built with XCode on OS X 10.11, deployment target set to 10.11, "Implicitly Link Objective-C runtime Library" set to off, and calling "juce::MidiOuput::getChannels()" during construction. Still, this makes vst2xscanner crash, printing ...
by Arne Scheffler
Wed Mar 29, 2017 1:53 pm
Forum: VST 3 SDK
Topic: Bug in FUnknownPtr<>?
Replies: 2
Views: 1308

Re: Bug in FUnknownPtr<>?

No, the constructor of FUnknownPtr calls the default IPtr constructor, not the one with an FUnknown argument. The ptr is set to zero in the case of failure because the queryInterface function may have set the ptr to something.