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

Audio Units: sharing variable values between multiple channels


  • Subject: Audio Units: sharing variable values between multiple channels
  • From: Cynthia Bruyns <email@hidden>
  • Date: Tue, 5 Sep 2006 11:53:20 -0700

Hi,

Hmm, so you want to know how two or more objects can have access to the same data
 or can have two values that are the same across instantiation?

Well, there are several ways, globals, making the envelope a field of the Kernel class, 
making the envelope a parameter of the Effect class.. . . and so on.

Hope this helps.

C

On Sep 5, 2006, at 6:43 AM, email@hidden wrote:

Date: Mon, 4 Sep 2006 22:46:28 +0300

From: Artemiy Pavlov <email@hidden>

Subject: Audio Units: sharing variable values between multiple

channels

To: ML Core Audio <email@hidden>

Message-ID: <email@hidden">email@hidden>

Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


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

  • Follow-Ups:
    • Re: Audio Units: sharing variable values between multiple channels
      • From: Artemiy Pavlov <email@hidden>
  • Prev by Date: Re: (no subject)
  • Next by Date: Re: Broadcast wave AudioFileComponent
  • Previous by thread: Re: multiple methods found warnings (errors)
  • Next by thread: Re: Audio Units: sharing variable values between multiple channels
  • Index(es):
    • Date
    • Thread