Thread: WDL-OL
View Single Post
Old 04-01-2012, 11:01 AM   #61
tonhelm
Human being with feelings
 
Join Date: Feb 2008
Posts: 23
Default Sidechaining in a mono version in logic

Oli, your sidechaining hack for logic works great. But I can't get it to work in the mono version of my plugin. I have the following channel config in resource.h:
Code:
#else // AU & VST2
  #define PLUG_CHANNEL_IO "1-1 2-2 3-1 4-2"
  #define PLUG_SC_CHANS 2
#endif
in processreplacing I check
Code:
if (IsOutChannelConnected(1))
 //stereo processing loop
else
 // mono processing loop
the plugin passes AU validation. the stereo version loads and works just fine in logic. but when I try to open the (mono) plugin on a mono channel, logic tells me "cannot load the plugin. ask the dev. - or something like that :-))

I tried every possible IsInChannelConnected, IsOutChannelConnected check. No change in logic's complaints. Any ideas??

Last edited by tonhelm; 04-01-2012 at 11:08 AM.
tonhelm is offline   Reply With Quote