• 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: One Cocoa view for multiple AUs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One Cocoa view for multiple AUs?


  • Subject: Re: One Cocoa view for multiple AUs?
  • From: ipmlists <email@hidden>
  • Date: Tue, 10 Nov 2009 10:06:44 +0000

2009/11/10 Brian Willoughby <email@hidden>:
>
> On Nov 9, 2009, at 13:45, ipmlists wrote:
>>
>> 2009/11/7 Brian Willoughby <email@hidden>:
>>>
>>> I believe that what you will have to do is make a map at run time from
>>> the
>>> parameters of each of the embedded AUs, and then fold them into your
>>> wrapper
>>> AU.
>>>
>>> <snip>
>>>
>>> Once you have the map, your wrapper AU would report the combined list of
>>> parameters as its own.  Then you need to rewrite the parameter functions
>>> to
>>> detect whether a given parameter change is local or intended for an
>>> embedded
>>> AU, passing the parameter change on when necessary.
>>
>> Ok, this is where I'm having problems: there's no way (is there?) to
>> override AUParameterSet or AudioUnitSetParameter, so how can the
>> wrapper AU intercept param change requests coming from the view?
>
> You don't override the system API AUParameterSet or AudioUnitSetParameter -
> those are intended for dealing with AudioUnits from the "outside."  Instead,
> when working "inside" the AudioUnit itself, you override
> AUBase::GetParameter() in your subclass.  Look around at the AudioUnit
> examples, including the ones which derive from AUEffectBase or
> AUInlineEffectBase.

Aggh - of course! Sorry - brain not fully engaged. Thanks.

Iain
 _______________________________________________
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: 
 >Re: One Cocoa view for multiple AUs? (From: ipmlists <email@hidden>)
 >Re: One Cocoa view for multiple AUs? (From: Brian Willoughby <email@hidden>)
 >Re: One Cocoa view for multiple AUs? (From: ipmlists <email@hidden>)
 >Re: One Cocoa view for multiple AUs? (From: Brian Willoughby <email@hidden>)

  • Prev by Date: Using BigTop
  • Next by Date: Re: Issues in ExtAudioFileSeek and ExtAudioFileTell
  • Previous by thread: Re: One Cocoa view for multiple AUs?
  • Next by thread: au property listeners and RT
  • Index(es):
    • Date
    • Thread