Re: AU Format Negotiation - State of Affairs
Re: AU Format Negotiation - State of Affairs
- Subject: Re: AU Format Negotiation - State of Affairs
- From: Marc Poirier <email@hidden>
- Date: Sun, 26 Oct 2003 14:07:39 -0600 (CST)
On Fri, 17 Oct 2003, Art Gillespie wrote:
>
- I don't think Digital Performer supports multi-output instruments
>
(please someone correct me if I'm mistaken), so the fact that it
>
doesn't inspect the bus count isn't surprising. However, if an audio
>
unit doesn't respond to SupportedNumChannels during validation, DP
>
lists stereo and mono configurations for that audio unit in its
>
instrument menu. If I try to load the mono version, it fails silently
>
(because SetProperty(kAudioUnitProperty_StreamFormat...) returns
>
kAudioUnitErr_FormatNotSupported.
>
>
Since kAudioUnitProperty_SupportedNumChannels isn't a required
>
property, I would humbly suggest that hosts that determine output
>
configurations at 'validation-time' and display them in this manner
>
also call SetProperty(kAudioUnitProperty_StreamFormat...) during
>
validation to ensure they are supported.
kAudioUnitProperty_SupportedNumChannels may not be required, but not
implementing it has a very specific meaning: it proclaims that your AU
can handle any N-to-N channel configuration. So if that's not the case,
then you do need to implement support for the property.
Marc
_______________________________________________
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.