Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
How to write cross-platform code in your RAFX plugins (eg. specific to VST or AU for MacOS)
Avatar
W Pirkle
Admin
November 18, 2015 - 8:19 pm
Member Since: January 28, 2017
Forum Posts: 555
sp_UserOfflineSmall Offline

You can write cross-platform code in your RAFX plugin by using #define statements as follows:

#if defined WINDOWS || defined _WINDOWS || defined _WINDLL

... write your Windows-specific code here for RAFX and VST2/3 ...

#elif defined AUPLUGIN

... write your MacOS-specific code for AU Plugins here ...

#else

--- write your MacOS-specific code for VST2/3 here...

#endif

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 51

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

jim: 34

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 684

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 747

Posts: 2853

Newest Members:

duo.dirtykidz, Paul, Reakenzo, jflo, dan_1, phlub, josh, bmarx, Tom Helvey, Ludovic

Moderators: W Pirkle: 555

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 555, VariableCook: 3