• 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 hosting: automation, presets and GUI updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU hosting: automation, presets and GUI updating


  • Subject: Re: AU hosting: automation, presets and GUI updating
  • From: Paul Davis <email@hidden>
  • Date: Wed, 4 Nov 2009 15:31:20 -0500

On Wed, Nov 4, 2009 at 3:08 PM, William Stewart <email@hidden> wrote:
> There are two things that the host needs to do that I think you aren't
> doing.

thanks a lot.

> (1) AudioUnitSetParameter is not sufficient when you change the value of a
> parameter with views around.

actually, i am using the apple utility library's
CAAudioUnit::SetParameter method, and just noted what it does
internally. it appears to ask the plugin if it has a "fast dispatch"
method for setting parameters, and uses it; otherwise it just calls
AudioUnitSetParameter(). could it be that this changed since Tiger, or
was it never doing the right thing?

> (2) When you set a preset on and audio unit, you have to also send a
> notification that parameters have been changed.

any particular reason that this is not the job of the plugin?

> The background to this is that we separate the direct implementation of
> changing the state of the model (the audio unit with its parameter values)
> from the notion of control and views updating their state, etc.

sure, MVC. isn't it the job of the Model to notify all Views when a
Controller changes some model state? i've never seen a version of MVC
before where the controllers where responsible for notifying views,
hence my confusion.

> Any audio unit that responding "correctly" when your host is NOT doing the
> above is actually doing more work than it needs too and ends up causing
> unnecessary thrashing on the system as the AU event notification system is
> being pinged twice (probably more if the code is not really tight)

might be good to make sure that Waves, WaveArts, PSP and others all
know this - their plugins work fine with the current ardour
implementation :)
 _______________________________________________
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 hosting: automation, presets and GUI updating
      • From: William Stewart <email@hidden>
References: 
 >AU hosting: automation, presets and GUI updating (From: Paul Davis <email@hidden>)
 >Re: AU hosting: automation, presets and GUI updating (From: Olivier Tristan <email@hidden>)
 >Re: AU hosting: automation, presets and GUI updating (From: Paul Davis <email@hidden>)
 >Re: AU hosting: automation, presets and GUI updating (From: William Stewart <email@hidden>)

  • Prev by Date: Re: AU hosting: automation, presets and GUI updating
  • Next by Date: Re: AU hosting: automation, presets and GUI updating
  • Previous by thread: Re: AU hosting: automation, presets and GUI updating
  • Next by thread: Re: AU hosting: automation, presets and GUI updating
  • Index(es):
    • Date
    • Thread