1# OBS-VST
2Use VST 2.x plugins as audio filters in OBS.
3
4![Plugin Preview](screenshot.png)
5
6## Research
7### Sites
8*  http://teragonaudio.com/article/How-to-make-your-own-VST-host.html
9*  http://www.reaper.fm/sdk/vst/vst_ext.php
10*  https://forum.juce.com/t/mac-64-bit/6295/5
11*  https://gist.github.com/t-mat/206e3e7dfc3f89421bc1
12*  https://github.com/audacity/audacity/blob/17afc51644b2b327e173a23d6066dde598838c03/src/effects/VST/aeffectx.h
13
14### Info
15> In general VST 2.4 is platform independent. There are only three platform
16  dependent opcodes :
17  effEditOpen
18  audioMasterGetDirectory
19  audioMasterOpenFileSelector
20>
21> Here are the required API changes for 64 bit Mac OS X:
22>
23> effEditOpen:
24  the [ptr] argument is a WindowRef on 32 bit Mac.
25  On 64 bit this is a NSView pointer. The plug-in needs to add its own NSView as
26  subview of it.
27>
28> audioMasterGetDirectory:
29  the [return value] is a FSSpec on 32 bit Mac.
30  On 64 bit this is a char pointer pointing to an UTF-8 encoded string.
31>
32> audioMasterOpenFileSelector:
33  the VstFileSelect struct uses FSSpec's on 32 bit Mac.
34  On 64 bit Mac these are char pointers pointing to UTF-8 encoded strings.
35