Re: Multichannel audio and sharing data between channels of an audio unit?
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