Re: Side chains in Logic
Re: Side chains in Logic
- Subject: Re: Side chains in Logic
- From: William Stewart <email@hidden>
- Date: Thu, 21 Dec 2006 19:40:35 -0800
On 21/12/2006, at 9:34 AM, Stefan Gretscher wrote:
Hi Floris,
IsActive() does return true because Logic sets the render callback
in the setup phase. It does so because changing the callbacks
requires an uninitialize/initalize cycle which could break playback
if adjusting the sidechain while in playback.
No it doesn't. There is a threading issue that you have to take care
of (you can't reconnect an AU while it is rendering on another
thread), but as long as the format is set correctly, then you could
very easily just add the callback when the side chain is requested.
Bill
I don't think there is a way for you to reliably get this setting
from Logic - why are you interested in this?
Best,
Stefan
Am 21.12.2006 um 13:17 schrieb Floris Klinkert - FabFilter Software
Instruments:
Hi all,
We're currently building a stereo AU effect plugin with a side
chain. Everything seems to work fine; the plug-in has two input
busses and one output bus, reports the correct channel info and
passes AU Validation as expected.
To check whether the second input put (the side chain) is actually
being used, we use IsActive():
if (HasInput(1)) {
sideChain = GetInput(1);
if (sideChain->IsActive()) {
result = theSideChain->PullInput(ioActionFlags, inTimeStamp, 1,
nFrames);
...
...
}
}
Now here's our problem: when opening the plug-in in Logic Pro 7.2,
the side chain option is shown correctly and it set to 'none'.
However, even when set to 'none', IsActive() returns true, while I
would expect in to be false...
Any clues on why this happens? Is this normal behaviour, a bug in
Logic or should I be checking other things to test whether the
side chain is being used?
Thanks!
Floris Klinkert
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden