• 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: Overriding SupportedNumChannels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overriding SupportedNumChannels


  • Subject: Re: Overriding SupportedNumChannels
  • From: Alex Weiss <email@hidden>
  • Date: Tue, 29 Jun 2010 22:55:48 +0200

Hey,

I think I found the culprit. First of all, it seems that AULab expects
the same number of input and output channels. In my case, I need an
8-channel output and thus also need to declare 8 inputs.
AUPannerBase::GetChannelLayoutTags, however, only declares three
possible input tags: mono, stereo, and B-format. Overriding
GetChannelLayoutTags and adding kAudioChannelLayoutTag_AudioUnit_8
seems to do it.

It's still rather annoying that AULab expects the same number of input
and output channels. Is there no way to simulate an 1 --> 8 channel
situation?

Alex



On Tue, Jun 29, 2010 at 7:06 PM, tahome izwah <email@hidden> wrote:
> I'm afraid I don't know why it does this, I just noticed that a {1,2}
> config works if you offer a {2,2} config as well.
>
> Bill, any idea why this is the way it is?
> --th
>
>
> 2010/6/29 Alex Weiss <email@hidden>:
>> Hey Tahome,
>> thanks for your reply. The {2, 2}/{1, 2} combination does indeed work.
>> But if my plug-in is supposed to have a {1, 8} configuration? I tried
>> to add several second configurations to make AULab happy, but try as I
>> might, I can't get it to run. I always get the same error.
>> Interestingly enough, if I use a combination of {1,8} and {8, 8}, the
>> AULab at least displays the AU on the list of possible 8-channel
>> plug-ins. If I use {1,8} and {2, 8} instead, it doesn't even show up.
>>
>> Alex
>>
>>
>>>I think that's a long standing bug in AULab - if you add the {2, 2}
>>>configuration then {1, 2} works as well (IIRC, it's been a while).
>>>
>>>--th
>>
>  _______________________________________________
> 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
>
 _______________________________________________
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: Overriding SupportedNumChannels
      • From: William Stewart <email@hidden>
References: 
 >Overriding SupportedNumChannels (From: Alex Weiss <email@hidden>)
 >Re: Overriding SupportedNumChannels (From: Alex Weiss <email@hidden>)
 >Re: Overriding SupportedNumChannels (From: tahome izwah <email@hidden>)

  • Prev by Date: RE: New to CoreAudio
  • Next by Date: Re: Overriding SupportedNumChannels
  • Previous by thread: Re: Overriding SupportedNumChannels
  • Next by thread: Re: Overriding SupportedNumChannels
  • Index(es):
    • Date
    • Thread