• 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: Channels and frames
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Channels and frames
      • From: William Stewart <email@hidden>
    • Re: Channels and frames
      • From: "john smith" <email@hidden>
References: 
 >Channels and frames (From: "john smith" <email@hidden>)

  • Prev by Date: Channels and frames
  • Next by Date: Quicktime Audio Extraction
  • Previous by thread: Channels and frames
  • Next by thread: Re: Channels and frames
  • Index(es):
    • Date
    • Thread