Interleaving and AudioBufferList woes
Interleaving and AudioBufferList woes
- Subject: Interleaving and AudioBufferList woes
- From: "Malcolm Haylock" <email@hidden>
- Date: Thu, 7 Oct 2004 07:24:21 +1000 (EST)
- Importance: Normal
Hi All,
I have a CoreAudio program and AudioUnit that have both run into the same
problem.
The core rendering engine of both the program and AU creates 8 interleaved
channels of signed 32-bit integer:
SInt32 intBuffer[bufferSize][8]
Both the program and AU in each of their rendering cycles (Render() in the
AU and an AudioDeviceIOProc() in the program) receive an AudioBufferList
to output the data.
My question is this: is there any consistency to how the buffers will be
organised in the AudioBufferList? Or do I have to allow for all possible
combinations e.g.
1) 1 buffer of 8 interleaved channels
2) 2 buffers of 4 interleaved channels
3) 4 buffers of 2 interleaved channels
4) 8 buffers of 1 channel
>From some experimentation it seems they will always be non-interleaved
(case 4 above) but is this always the case? Is it different for an AU and
a program?
Thanks,
Malcolm Haylock
_______________________________________________
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