• 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: Multichannel audio and sharing data between channels of an audio unit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multichannel audio and sharing data between channels of an audio unit?


  • Subject: Re: Multichannel audio and sharing data between channels of an audio unit?
  • From: Marc Poirier <email@hidden>
  • Date: Mon, 9 May 2005 18:41:53 -0400

If you have inter-channel dependencies, then you override AUEffectBase's ProcessBufferLists() method instead of implementing kernels. Kernels are strictly a single-channel convenience abstraction.

Marc



On May 9, 2005, at 3:47 PM, Oli Donald wrote:

Hi,

I have another question that should be easy to answer - how exactly does multichannel audio work with AudioUnits? Searching the docs didn't turn up much info, but a Google search revealed that the 'inNumChannels' parameter of AUKernel::Process() is always '1'. In this case, how exactly is multichannel sound handled by AU's?

Are seperate instances of your AU created for each channel? If this is so, how can I synchronize data between two or more channels in my AudioUnit? At the moment, if my AU runs in stereo, the two channels get out of sync with certain parameters. For example, when I click the 'clear buffer' button in my GUI, I memset() my AU's buffer to 0's, but only one channel becomes silent.

I'm a good C and ObjC programmer, but my C++ knowledge is virtually non-existant, I think this might be the source of my problems ;) Any help appreciated though.

Thanks,
Oli

_______________________________________________ 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: 
 >Multichannel audio and sharing data between channels of an audio unit? (From: Oli Donald <email@hidden>)

  • Prev by Date: Re: Trouble compiling myMacheaders CW 9.5 OS 10.4
  • Next by Date: Re: Simple Core Audio program help
  • Previous by thread: Multichannel audio and sharing data between channels of an audio unit?
  • Next by thread: Re: Multichannel audio and sharing data between channels of an audio unit?
  • Index(es):
    • Date
    • Thread