• 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: Audio Unit ioConfigs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Unit ioConfigs


  • Subject: Re: Audio Unit ioConfigs
  • From: tahome izwah <email@hidden>
  • Date: Tue, 15 Dec 2009 08:01:35 +0100

Like I said, if you support *both* [1,2] and [2,2] you won't have a
problem. It is when you support only [1,2] that you run into this.

While it doesn't crash in the current version of the SDK it can't be
loaded either (AULab cannot add the effect "SingleInput" because an
error has occurred. Result code: -10868). This is better, but still
the [1, 2]-only plug in is unusable in all hosts that I tried this
with, even though it passes auval and is displayed and selectable.

All you have to do is add

	UInt32 SupportedNumChannels(const AUChannelInfo** outInfo)
	{

			static const AUChannelInfo asChannelInfo[] = { { 1, 2 } };
			if ( outInfo )
				*outInfo = asChannelInfo;
			return 1;

	}

To a new Cocoa AU created from the template.

--th

2009/12/15 William Stewart <email@hidden>:
>
> On Dec 14, 2009, at 8:08 AM, tahome izwah wrote:
>
>> I don't think that you can prevent this from happening - at least I
>> never found a way to do it. Also, in order for a [1, 2] config to work
>> you need to support [2, 2] as well, otherwise your AU will crash on
>> init.
>
> huh? This is the first I've heard of this and there are a number of audio
> units that do [1,2] and [2,2] configs. Where is the crash? Have you filed a
> bug report on this? If you haven't please do with a reproducible case if
> possible. Thanks.
>
 _______________________________________________
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: Audio Unit ioConfigs
      • From: William Stewart <email@hidden>
References: 
 >Audio Unit ioConfigs (From: Chris Santoro <email@hidden>)
 >Re: Audio Unit ioConfigs (From: tahome izwah <email@hidden>)
 >Re: Audio Unit ioConfigs (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Enable matrix mixer inputs without ramping
  • Next by Date: Re: Audio Unit ioConfigs (Resolved)
  • Previous by thread: Re: Audio Unit ioConfigs
  • Next by thread: Re: Audio Unit ioConfigs
  • Index(es):
    • Date
    • Thread