• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple HAL multichannel I/O question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Simple HAL multichannel I/O question (From: Wayne <email@hidden>)

  • Prev by Date: Re: Simple HAL multichannel I/O question
  • Next by Date: kMultiChannelMixer Solo Function Best Practice
  • Previous by thread: Re: Simple HAL multichannel I/O question
  • Next by thread: AUAudioFilePlayer - stopping, resuming and playing from the start
  • Index(es):
    • Date
    • Thread