Re: Structure of Data inside an AudioBuffer
Re: Structure of Data inside an AudioBuffer
- Subject: Re: Structure of Data inside an AudioBuffer
- From: Bill Stewart <email@hidden>
- Date: Mon, 24 Jun 2002 23:18:24 -0700
The stream format of a device will descirbe to you the format of the device.
If a stream of a device (one of the AUBuffers in the AUBufferList) has more
than one channel, then the channels are interleaved in that AUBuffer.
A device presents mono channels as separate AudioBuffers in the
AudioBufferList that the device hands to you. So, in the case of a
multi-channel device of n mono channels, there will be n AudioBuffers in the
AudioBufferList
Some devices may potentially present some mono and some n channel buffers).
So, you should get the array of stream descriptions from the device that
will tell you the format of each of the streams that the device presents.
Bill
on 24/6/02 11:01 PM, Daniel Staudigel wrote:
>
What is the structure of data in an AudioBuffer? Is it sort of a:
>
>
<L channel><R channel> etc...
>
>
or sort of a :
>
>
<L channel for full duration><R channel for full duration>
>
>
The docs hint towards the former, but experience seems to tend towards
>
the latter.
>
>
Erik
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Thousands of years ago, cats were worshipped as gods. We have never
forgotten this."
__________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.