Re: Simple HAL multichannel I/O question
Re: Simple HAL multichannel I/O question
- Subject: Re: Simple HAL multichannel I/O question
- From: Doug Wyatt <email@hidden>
- Date: Mon, 20 Sep 2010 09:11:17 -0700
On Sep 19, 2010, at 13:36 , Wayne wrote:
> I'm trying to output multichannel audio using pretty basic HAL calls. When I get the kAudioUnitProperty_StreamForamt, we can see the device supports 8 channels, however when our RenderProc is hit the AudioBufferList only contains two channels.
>
> What are we missing?
You've left bus 0's input format to the default format, which happens to have two channels and a sample rate of 44.1 kHz. If you want your engine's I/O format to match that of the hardware, you will want to match bus 0's input channel count and sample rate to that of the output format, and listen for changes to the output format.
Doug
_______________________________________________
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