• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quick question on configuring an AU for a certain channel config
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick question on configuring an AU for a certain channel config


  • Subject: Re: Quick question on configuring an AU for a certain channel config
  • From: William Stewart <email@hidden>
  • Date: Wed, 19 Dec 2007 13:15:47 -0800


On Dec 19, 2007, at 5:04 AM, tahome izwah wrote:

Thanks to Bill and Sophia I got the sidechain working. I am left with
one minor thing that I can't seem to figure out:

When I set up my plug in in Logic and choose an audio track as
sidechain everything works as expected. However, Logic always reports
that the sidechain is available, no matter if there's actually an
audio track routed to it or not...

So how am I supposed to figure out if the plug in should actually
*use* the sidechain or not? HasInput() and GetInput() are always valid
and I am getting ABLs through the sidechain when I pull the input, so
I guess there must be another way to determine if I am getting actual
audio track data through the sidechain or not...

That sounds like a bug in Logic? If your AU's input is not connected or in use, then the HasInput returns true:


(You can see this from AUBase):
bool HasInput( AudioUnitElement inElement) {
AUInputElement *in = static_cast<AUInputElement *>(Inputs().GetElement(inElement));
return in != NULL && in->IsActive();
}


You could try this in AULab 2.0 (in Leopard) - it allows you to connect audio inputs as side chains and will only connect you when you explicitly do this.




I don't want to process data when all I'm getting is silence because
there's nothing routed to the sidechain.

sure - you shouldn't be connected in this case.

Bill

_______________________________________________
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


  • Follow-Ups:
    • Re: Quick question on configuring an AU for a certain channel config
      • From: William Stewart <email@hidden>
References: 
 >Re: Quick question on configuring an AU for a certain channel config (From: "Sophia Poirier [dfx]" <email@hidden>)
 >Re: Quick question on configuring an AU for a certain channel config (From: "tahome izwah" <email@hidden>)
 >Re: Quick question on configuring an AU for a certain channel config (From: "tahome izwah" <email@hidden>)

  • Prev by Date: Re: MTCoreAudio
  • Next by Date: Re: tiger app fails on leopard
  • Previous by thread: Re: Quick question on configuring an AU for a certain channel config
  • Next by thread: Re: Quick question on configuring an AU for a certain channel config
  • Index(es):
    • Date
    • Thread