Re: how to set up to process one channel interleaved sample?
Re: how to set up to process one channel interleaved sample?
- Subject: Re: how to set up to process one channel interleaved sample?
- From: tahome izwah <email@hidden>
- Date: Mon, 20 Apr 2009 14:07:01 +0200
Override:
OSStatus ProcessBufferLists (AudioUnitRenderActionFlags& iFlags,
const AudioBufferList&
inBufferList,
AudioBufferList& outBufferList,
UInt32 iFrames)
This gives you access to the buffers with all channel data.
HTH,
--th
2009/4/20 Tony Sheng <email@hidden>:
> Hi, Everyone:
>
> I want to take any stereo wav files and add each samples from left
> channel and right channel up. I am not sure how should I implement
> this.
>
> from the sample code of filter demo, it said the 'inNumChannels'
> parameter is always 1. This would cause the two buffers each
> containing left and right channels and it would process the left and
> right channel separately. However I want to access both left and right
> channel samples in one frame loop, should I change it into 2, if so,
> what function should I called to apply the change?
>
> Many thanks
> Tony Sheng
_______________________________________________
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