Re: Interleaving confusion...
Re: Interleaving confusion...
- Subject: Re: Interleaving confusion...
- From: William Stewart <email@hidden>
- Date: Thu, 3 Jun 2004 11:55:58 -0700
Have a look at CAStreamBasicDescription - it has a SetCanonical method
for a number of channels and a bool for either interleaved or not...
If you are using V2 audio units (which you should be), then you need to
be using non-interleaved buffers
Bill
On 02/06/2004, at 5:00 PM, Ethan Funk wrote:
>
When rendering to the HALOutput Audio unit, via an AUGraph, I always
>
get two buffers passed to my RenderCallback function, one for each
>
channel. The stream format for the output unit reports
>
mChannelsPerFrame equal to 2. It was my understanding that this
>
indicates that the output AU wanted two interleaved channels in a
>
single buffer. Why then, do I get two buffer passed into my render
>
callback? Fill only one buffer results in only one channel of audio
>
output from the hardware.
>
>
All the obvious stuff... setting up and running the AUGraph ,
>
configuring the device for the HALOutput, etc. seems to be working. I
>
am assigning the Built-in output device to the HALOutput AU.
>
>
I _WANT_ to pass the output AU interleaved data, not two discrete
>
buffers. What am I missing here?
>
>
Thanks,
>
>
Ethan Funk
>
_______________________________________________
>
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
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.