• 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: basic output unit question - multichannel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: basic output unit question - multichannel


  • Subject: Re: basic output unit question - multichannel
  • From: Doug Wyatt <email@hidden>
  • Date: Mon, 25 Oct 2004 17:32:13 -0700

On Oct 25, 2004, at 17:25, Tom Erbe wrote:
Hi all,

This may seem pretty basic, but when I open the kAudioUnitSubType_DefaultOutput (or open the kAudioUnitSubType_HALOutput and connect it to a device), what is the best way to query for the maximum number of channels supported? That is, if the Digi 002r is the default output, can I query the default output AU, and find the maximum number of channels (which would be 10 for the 002r)? The kAudioUnitProperty_StreamFormat doesn't give me the maximum, just what seems to be the current settings for the output.

Thanks, Tom

If you ask for the stream format for element 0, *output* scope, you should get the total number of channels. If you ask for it on *input* scope, you'll get whatever you last set as your client format, or the default.


Best,
Doug

--
Doug Wyatt
Core Audio, Apple

_______________________________________________
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


  • Follow-Ups:
    • Re: basic output unit question - multichannel
      • From: Tom Erbe <email@hidden>
References: 
 >basic output unit question - multichannel (From: Tom Erbe <email@hidden>)

  • Prev by Date: basic output unit question - multichannel
  • Next by Date: Re: Crash on CloseComponent
  • Previous by thread: basic output unit question - multichannel
  • Next by thread: Re: basic output unit question - multichannel
  • Index(es):
    • Date
    • Thread