• 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
AUBase::GetSupportedNumChannels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUBase::GetSupportedNumChannels


  • Subject: AUBase::GetSupportedNumChannels
  • From: Marc Poirier <email@hidden>
  • Date: Tue, 23 Jul 2002 22:42:09 -0400

Hi. I can't find any documentation or examples for the Audio Unit GetSupportedNumChannels method.

I'm not sure what the third argument inListSize is supposed to indicate (the length of the numChannels array in the outList struct perhaps?).

I also can't figure out what valid flags are for the AudioUnitSupportedNumChannelsList struct.

Also, are the items in the outList.numChannels array interpretted as pairs (i.e. numOuts/numIns pairs) or is it assumed that you would always want the same number of inputs as outputs (a bad assumption, if you ask me).


I'm doing this:

void GetSupportedNumChannels(AudioUnitScope inScope, AudioUnitElement inElement, UInt32 inListSize, AudioUnitSupportedNumChannelsList &outList)
{
outList.numNumChannels = 2;
outList.numChannels[0] = 1;
outList.numChannels[0] = 2;
}

but my Audio Unit still shows up only as 2-in/2-out in Logic. Any hints on correct ways of implementing this method?


Thanks,
Marc

--
[ Destroy FX - http://www.smartelectronix.com/~destroyfx/ ]
_______________________________________________
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.

  • Prev by Date: Ouput of multiple audio stream.
  • Next by Date: Re: Audio Capture (Java)
  • Previous by thread: Re: Ouput of multiple audio stream.
  • Next by thread: Audio Midi Setup
  • Index(es):
    • Date
    • Thread