Re: Channels and frames
Re: Channels and frames
- Subject: Re: Channels and frames
- From: Marc Poirier <email@hidden>
- Date: Tue, 25 Oct 2005 10:35:47 -0400
On Oct 25, 2005, at 10:28 AM, john smith wrote:
Hi,
I'm creating some AU's, based on the XCode template (using Carbon).
My current problems are that I need to do the following:
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
B: Be notified about the max buffer size I may receive.
Override SetMaxFramesPerSlice() like so:
void YourPluginClass::SetMaxFramesPerSlice(UInt32 nFrames)
{
AUBase::SetMaxFramesPerSlice(nFrames);
// now do whatever you want to be aware of the change
}
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