Re: Channels and frames
Re: Channels and frames
- Subject: Re: Channels and frames
- From: Marc Poirier <email@hidden>
- Date: Wed, 26 Oct 2005 00:04:57 -0400
On Oct 25, 2005, at 1:59 PM, john smith wrote:
Thanks for the reply.
A: Tell the host my channel configuration (for instance mono ->
stereo, stereo -> stereo, no inputs -> 8 stereo outputs, etc.
etc.). The "no inputs" part can wait a bit if it's complicated,
at this point I'm concentrating on effect plug-ins.
Check the following documentation:
/Developer/Examples/CoreAudio/Documentation/AudioUnits/Topics/
au_properties.html#kAudioUnitProperty_SupportedNumChannels
/Developer/Examples/CoreAudio/Documentation/AudioUnits/SDK/
Classes/ AUBase.html#SupportedNumChannels
/Developer/Examples/CoreAudio/Documentation/AudioUnits/
IOChannelConfigurations.rtf
I read that, but honestly I didn't understand it.
Also, while reading it, it struck me that I was reading the wrong
documentation. This is about properties, but since I'm using the
base classes, surely there's some calls I should make, or methods I
should override(say, GetNrOfOutputChannels()). Am I wrong in
assuming that?
It's SupportedNumChannels() (covered in the 2nd and 3rd items I
listed above). Reading about the property is relevant too, since
SupportedNumChannels() is an implementation of the property data
exchange. Also, search the archives for SupportedNumChannels, as
this question has come up oodles of times and example code snippets
have been posted (which I don't say to blow you off, but really
answering the same question so many times does get tedious).
Marc
_______________________________________________
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