• 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: tahome izwah <email@hidden>
  • Date: Tue, 29 Jun 2010 16:49:55 +0200

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


2010/6/29 Alex Weiss <email@hidden>:
> Hello,
> for my panner plug-in, I need to restrict the possible input/output
> combinations, which I thought is done by overriding
> SupportedNumChannels. Here's my code:
>
> UInt32 SurroundPanner::SupportedNumChannels (const AUChannelInfo** outInfo)
> {
> static AUChannelInfo channelInfo = {1, 2};
> if (outInfo)
> *outInfo = &channelInfo;
> return 1;
> }
>
> The code compiles without errors, but whenever I try to load the AU in
> AULab, I get the following error: "AULab cannot load the effect
> "MyPanner" because an error has occurred. Result Code: -10868." To
> test this a bit further, I tried various combinations for channelInfo
> - none of them worked. What am I doing wrong?
>
> Thanks,
> Alex
 _______________________________________________
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

References: 
 >Overriding SupportedNumChannels (From: Alex Weiss <email@hidden>)

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