• 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: Sidechain notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sidechain notification


  • Subject: Re: Sidechain notification
  • From: William Stewart <email@hidden>
  • Date: Tue, 6 Oct 2009 12:39:23 -0700

A connection (or input callback) is made through SetProperty calls. If you have a look at the DispatchSetProperty implementation in AUBase, you can see how the AU would know of state changes here, so yes, you can know when the host actually does make a connection to you. As I think this gives you all of the information that you need to determine the current state of your inputs and outputs, I wouldn't characterise this as primitive.

However, I would agree that some of the host implementations of this are poor. As Tahome says, some hosts will establish connections to your AU regardless of whether those connections are actually in use in or not. This then makes it difficult for the AU, as you have to behave as if you have a connection there, and process the "silence" as if it was a real signal (or play the games that Tahome describes). So, I would share his concerns about this.

It would help if you could write a bug report to complain about this behaviour to all/any of the host apps that implement side-chains this way (whether these are apple or other companies).

Thanks

Bill

On Oct 6, 2009, at 4:18 AM, tahome izwah wrote:

Nope.

Be prepared to suffer through some nightmares when dealing with AUs and sidechains... the implementation is rudimentary at best. Also, some hosts (like Logic) report a connection even if there isn't one so you have to resort to nasty hacks to determine how to handle your inputs (comparing buffer pointers and the like)...

--th


2009/10/6 Dany Golubitsky <email@hidden>

Hello!


I would like to ask you if there is an option in AudioUnits to be notify when the sidechain is connected, meaning the moment we actually connect sidechain to plugin.


it will be somehow notified.

Is there any SDK function where I can catch it?


Thanks!



_______________________________________________
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

_______________________________________________ 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
References: 
 >Sidechain notification (From: Dany Golubitsky <email@hidden>)
 >Re: Sidechain notification (From: tahome izwah <email@hidden>)

  • Prev by Date: Re: AudioDevice init problem
  • Next by Date: Re: AudioDevice init problem
  • Previous by thread: Re: Sidechain notification
  • Next by thread: Dragging audio files to Garageband
  • Index(es):
    • Date
    • Thread