• 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: AU Process/View relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU Process/View relationship


  • Subject: Re: AU Process/View relationship
  • From: William Stewart <email@hidden>
  • Date: Wed, 5 Oct 2005 12:38:36 -0700


On 05/10/2005, at 11:56 AM, john smith wrote:



This is where the AudioUnitEventListener API is used - to notify changes to the AU's parameters, etc...


Well, I seem to miss something. When listening to changes in the properties, how can I see from where the change originated (i.e. if it's from the same view)?

You don't - all that you know is that something changed. The EventListener uses the "object" argument though as a way to not notify the originator of the change. Typically for instance, we'd use the "self" or "this" object as the object argument for the event listener associated with a given view



When I set a property I give it a buffer, but the listener doesn't seem to get that buffer.

No - it just gets notified that the property changed, its then got to go and get the new property value (if that is what it wants)


So, I guess I should call ...GetProperty() to get it.

yes

Now, the question is, will that automatically give me the buffer, or do I need to make code in the process which caches this buffer?

that's totally dependent on how this is implemented by the AU


Also, what property ID's are safe to use (is not used by Apple)?

See the AUFilter example in the latest SDK (http:// developer.apple.com/audio) it does this private property stuff, so you can use that as a guide


Bill



Thanks,

Michael Olsen
KeyToSound / PhonoXone

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




--
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


  • Follow-Ups:
    • Re: AU Process/View relationship
      • From: "john smith" <email@hidden>
References: 
 >Re: AU Process/View relationship (From: "john smith" <email@hidden>)

  • Prev by Date: Logic automatically bypassing an effect?
  • Next by Date: Re: AU Process/View relationship
  • Previous by thread: Re: AU Process/View relationship
  • Next by thread: Re: AU Process/View relationship
  • Index(es):
    • Date
    • Thread