Vst Plugin Crashes Obs

Posted on by

Crashes related to Open UI, on very slow PC happens more frequently. More over, if I disable plugin (the 'eye' icon left to the filter's name in OBS Filters) and then open UI of the loaded VST plugin (empty one of course, no processing) and then enable OBS Filter by clicking 'eye' icon again - the crash almost never happens. To get started, you’ll want to right-click the audio device you want to use and then select “Filters.” OBS has a few basic plugins of its own, mostly for noise control, but we’ll be using the “VST 2.x Plug-in” option. Here you can select the plugin you’d like to add. It usually crashes when I am messing with the vst plugin settings. This happens with any plugin I have used and I have messed around with like 7 or 8 different plugins. All of these same plugins worked flawlessly in FL studio, so I dont think there is an issue with the plugins themselves. Hello, I have a mac with Catalina 10.15.2 installed. OBS 24.0.5 (64 bit). Whenever I try to use an audio VST plugin, event from different authors, it crashes the program as soon as I select one from the dropdown list. Example ERA4DeClipper The log is attatched.

Use VST 2.x plugins as audio filters in OBS.

Research

Sites

Info

In general VST 2.4 is platform independent. There are only three platformdependent opcodes :
effEditOpen
audioMasterGetDirectory
audioMasterOpenFileSelector

Obs Plugin

Here are the required API changes for 64 bit Mac OS X:

Vst Plugin Crashes Obs Overlays

effEditOpen:
the [ptr] argument is a WindowRef on 32 bit Mac.
On 64 bit this is a NSView pointer. The plug-in needs to add its own NSView assubview of it.

audioMasterGetDirectory:
the [return value] is a FSSpec on 32 bit Mac.
On 64 bit this is a char pointer pointing to an UTF-8 encoded string.

audioMasterOpenFileSelector:
the VstFileSelect struct uses FSSpec's on 32 bit Mac.
On 64 bit Mac these are char pointers pointing to UTF-8 encoded strings.