• 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: auval problems (channels)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auval problems (channels)


  • Subject: Re: auval problems (channels)
  • From: William Stewart <email@hidden>
  • Date: Wed, 1 Nov 2006 11:27:28 -0800

I think the bug in your AU is that you are allowing a stream format to be changed when your AU is initialised?

You are probably missing this:

bool		AUEffectBase::StreamFormatWritable(	AudioUnitScope					scope,
												AudioUnitElement				element)
{
	return IsInitialized() ? false : true;
}

Bill

On 31/10/2006, at 11:41 PM, john smith wrote:


Bill,

Thanks for the reply.

Hi,

I have a problem getting a plug-in to pass in auval. As far as I understand the message, auval claims that the plug-in accepted a 3- in, 1-out channel configuration, even though it's only supposed to accept 1/1, 1/2 and 2/2 configurations.

Yes, this is one of the tests auval runs. In your AU's init call (Have a look at the implementation of Initialise in AUEffectBase), you are required to validate that the I/O configuration for your AU is one that you can support.

Well, I'm doing that. Maybe I should spell out the facts:

A: There's no test for 3-in/1-out when I debug.

B: If there were, I would return with an error. The code only returns with no error when the channel configuration is supported.


Thanks,

Michael Olsen
KeyToSound



Bill

However, I debugged, and it seems to me that 3/1 is not even tested. Right before the "fail" message is shown, a 2/2 configuration is tested (which obviously passes).

Here's the error message:

Input/Output Channel Handling:
1-1 1-2 1-4 1-5 2-2 2-4 2-5 4-4 4-5 5-5 5-2 6-6 8-8
X X X
ERROR: Unit incorrectly set to InputChans:3 OutputChans:1



What could be wrong?


Thanks,

Michael Olsen
KeyToSound

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http:// search.msn.click-url.com/go/onm00200636ave/direct/01/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


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
_____________________________________________________________________ ___ __



_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



--
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


  • Prev by Date: CAAudioFile.h and SDK 10.3.9
  • Next by Date: Re: Reading the contents of an Audio file
  • Previous by thread: CAAudioFile.h and SDK 10.3.9
  • Next by thread: Re: auval problems (channels)
  • Index(es):
    • Date
    • Thread