• 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: William Stewart <email@hidden>
  • Date: Tue, 25 Oct 2005 12:53:08 -0700

John,


On 25/10/2005, at 7: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.


I'm not sure what you are trying to tell the host. AUs have a default format - this is the format of each of the input and output elements that they have when they are created. auval prints this out for each AU.


In the AUBase implementation, the format is set on these input and output elements using the Get and Set StreamFormat APIs of these element classes

The SupportedNumChannels property is used to tell a host what channel capabilities your AU has - this is described in some detail in the IOConfigurations document. The host parses this information and then uses it to guide its configuration choices that it presents to the user for this AU (can it do mono-stereo for instance).

If you look at the implementatation of AUEffectBase::Initialise you will see how this property interacts with the formats on the different input and output bus(es) - In this call, the aim is for the AU to validate that it is being initialised to a set of channel counts that are legal (i.e. that it is able to deal with).

auval is a tool that will try to stress test this implementation/ feature. You could run this tool with either the SampleEffect or the DebugDispatcher AUs from the SDK to see exactly what it does...

Bill


Thanks,


Michael Olsen KeyToSound / PhonoXone

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http:// search.msn.com/


_______________________________________________
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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: "john smith" <email@hidden>
References: 
 >Channels and frames (From: "john smith" <email@hidden>)

  • Prev by Date: Error -1501 after playing system sound
  • Next by Date: Any VSTGUI-AU examples out there other than drawtest?
  • Previous by thread: Re: Channels and frames
  • Next by thread: Re: Channels and frames
  • Index(es):
    • Date
    • Thread