Re: AudioUnit: channel layout
Re: AudioUnit: channel layout
- Subject: Re: AudioUnit: channel layout
- From: William Stewart <email@hidden>
- Date: Tue, 29 Nov 2005 11:39:38 -0800
On 28/11/2005, at 8:53 PM, email@hidden wrote:
Hello,
I'm developing my first audio unit and need some info on channel
layout.
My audio unit can accept a variable number of channels (up to six)
and put
out the same number of channels.
At some point, I need to know the number of channels, before
processing
starts, rather then waiting till processing and counting the number of
channels present.
You know this when the AU is initialized - you can't change the
format in general of an AU after its been initialized.
I'm using SupportedNumChannels but it is never called by
AudioUnitHosting
or GarageBand.
Try this in AU Lab - that is a more generic host app (though I'm
surprised that GB isn't calling this).
Also kAudioUnitProperty_SupportedChannelLayoutTags is not being
checked by
either AudioUnitHosting or GarageBand.
Its only really needed when doing surround. If you aren't doing
surround, I wouldn't expect this to be called.
Bill
What do I need to do to get these functions to be used?
Thanks,
Chuck
_______________________________________________
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