Re: kAudioUnitProperty_AUHostIdentifier
Re: kAudioUnitProperty_AUHostIdentifier
- Subject: Re: kAudioUnitProperty_AUHostIdentifier
- From: Urs Heckmann <email@hidden>
- Date: Thu, 01 May 2014 20:36:57 +0200
Hi,
Well, if there's a valid reason to delay bypass, then maybe file a bug report or a feature request to get AUVal changed.
A few years ago, Bill Stewart spoke "don't workaround buggy hosts", which probably also means that bending the rules against AUVal isn't really an option.
However, we use AUVal to run some extra unit tests, and for that reason we identify it's existence with a simple block of code:
CFStringRef Host_ProcessName = NULL;
ProcessSerialNumber PSN;
MacGetCurrentProcess(&PSN);
CopyProcessName( &PSN, &Host_ProcessName);
Always comes in handy!
Cheers,
- Urs
On 30.04.2014, at 20:06, Kyle Sluder <email@hidden> wrote:
> 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
urs heckmann
email@hidden
www.u-he.com
_______________________________________________
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