AHarker
07-19-2010, 05:22 AM
Hi,
Firstly Iplug seems great and is very straightforward to work with.
I've a plug-in up and running. It all behaves fine when running, but when I bypass the effect in Au Lab, or Sample Manager I don't get passthrough - in AU LAb I get nothing and in Sample Manager I get what sounds like the last output buffer looped...
Is there anything I should be doing here, or is this a bug in IPlug. I don't have an issue in DP 7, but I assume that it is handling the bypass in a different way.
As far as I can see from a glance at IPlugAU.cpp IPlug does nothing if the effect is bypassed. Looking in AUEFfectBase.cpp I see:
if (ShouldBypassEffect())
{
// leave silence bit alone
if(!ProcessesInPlace() )
{
theInput->CopyBufferContentsTo (theOutput->GetBufferList());
}
}
Which suggests that if the effect is bypassed and the inputs and outputs do not alias it is up to the effect to copy its inputs to its outputs.
I can probably recode the IPlugAU file, but if this is the case it'd be better for it to be fixed for everyone...
Thanks
Alex
Firstly Iplug seems great and is very straightforward to work with.
I've a plug-in up and running. It all behaves fine when running, but when I bypass the effect in Au Lab, or Sample Manager I don't get passthrough - in AU LAb I get nothing and in Sample Manager I get what sounds like the last output buffer looped...
Is there anything I should be doing here, or is this a bug in IPlug. I don't have an issue in DP 7, but I assume that it is handling the bypass in a different way.
As far as I can see from a glance at IPlugAU.cpp IPlug does nothing if the effect is bypassed. Looking in AUEFfectBase.cpp I see:
if (ShouldBypassEffect())
{
// leave silence bit alone
if(!ProcessesInPlace() )
{
theInput->CopyBufferContentsTo (theOutput->GetBufferList());
}
}
Which suggests that if the effect is bypassed and the inputs and outputs do not alias it is up to the effect to copy its inputs to its outputs.
I can probably recode the IPlugAU file, but if this is the case it'd be better for it to be fixed for everyone...
Thanks
Alex