Identical Audio Unit Channel Layout for Input and Output
Identical Audio Unit Channel Layout for Input and Output
- Subject: Identical Audio Unit Channel Layout for Input and Output
- From: Ian Kerr <email@hidden>
- Date: Mon, 30 Jan 2012 14:26:34 -0500
Hello,
I am developing a multichannel Audio Unit effect (a meter) that
requires knowledge of channel layouts in order to function properly.
I have overridden SupportedNumChannels() to return [1, 1], [2, 2], [3,
3], .. [6, 6], so that the number of input channels matches the number
of output channels. Now, I'd like to support as many channel layouts
as possible (that match the aforementioned channel counts); however,
I'd like the input layout to match the output layout. Is it possible
to force such a constraint?
For example, suppose I'd like to support two 4-channel layouts:
kAudioChannelLayoutTag_AC3_3_0_1 and kAudioChannelLayoutTag_AC3_2_1_1.
Is it possible for me to force the input and output elements' layouts
to match? Or, is it always possible that the host will set the input
to kAudioChannelLayoutTag_AC3_3_0_1 and the output to
kAudioChannelLayoutTag_AC3_2_1_1?
Thanks in advance,
--Ian
_______________________________________________
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