RE: kAudioUnitProperty_AUHostIdentifier
RE: kAudioUnitProperty_AUHostIdentifier
- Subject: RE: kAudioUnitProperty_AUHostIdentifier
- From: Nathaniel Perez <email@hidden>
- Date: Wed, 10 Sep 2014 07:08:54 +0000
- Thread-topic: kAudioUnitProperty_AUHostIdentifier
Hi,
We realized that our Instruments running under logic are given the possibility to be opened as Multi output, though they are not supposed to support this.
We found into our code, that we are calling AUMonotimbralInstrumentBase constructor with arguments numInputs and numOutputs set to 2 and 2.
When trying to set numOutputs to 1, it seems to be fine (we are only proposed to open the instrument in Stereo).
Still, the fact is we did not fully understand what the meaning of those 2 arguments is, since MonoTimbral seems enough self-explained, and is supposed to output one timber only.
I would be pleased to get some more details about how to call this constructor, since we could not find any details in the apple developer site.
Thank you,
Nathaniel Perez
-----Original Message-----
From: Kyle Sluder [mailto:email@hidden]
Sent: Wednesday, April 30, 2014 9:06 PM
To: Nathaniel Perez; email@hidden
Cc: Oron Cherry
Subject: Re: kAudioUnitProperty_AUHostIdentifier
On Wed, Apr 30, 2014, at 07:29 AM, Nathaniel Perez wrote:
> Hi,
>
> We have a crash in an audio-unit plug-in failing Auval validation.
>
> After some investigation we have found out that there is a need to
> know if the plug-in is in Auval 'test' mode in order to perform tests
> such as Set Bypass immediately, and not run them in a low priority
> thread as we do when running under AU hosts.
>
> Do you know of a way to identify if an AudioUnit is running in 'test'
> mode?
> If not, is it possible to know we are running in Auval?
If you're changing your behavior based on whether you're being tested, then you're not testing that behavior.
I quite hope that there is no way to detect whether you are running inside auval.
--Kyle Sluder
_______________________________________________
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