• 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: Audio Units: sharing variable values between multiple channels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Units: sharing variable values between multiple channels


  • Subject: Re: Audio Units: sharing variable values between multiple channels
  • From: "Sophia Poirier [dfx]" <email@hidden>
  • Date: Wed, 6 Sep 2006 09:44:41 -0400

Aside from what other people have mentioned, you can also override ProcessBufferLists() from AUEffectBase rather than AUKernelBase / NewKernel() / etc.

Sophia



On Sep 4, 2006, at 3:46 PM, Artemiy Pavlov wrote:

Hello list!

My question may be simple but I cannot find it in the guide.

When a host uses an Audio Unit to process multiple channels of audio, it calls Process() one time per channel per each slice/ buffer. But I wonder, how can you make some variable have the same value across all channels? E.g. let's say I want to pre-calculate an envelope which will be the same for all channels.


Thanks for any help,

Artemiy.

_______________________________________________ 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: 
 >Audio Units: sharing variable values between multiple channels (From: Artemiy Pavlov <email@hidden>)

  • Prev by Date: how to balance channels without affecting the master volume
  • Next by Date: NSTabView
  • Previous by thread: Audio Units: sharing variable values between multiple channels
  • Next by thread: Broadcast wave AudioFileComponent
  • Index(es):
    • Date
    • Thread