Re: Getting name of AudioUnit host
Re: Getting name of AudioUnit host
- Subject: Re: Getting name of AudioUnit host
- From: Aulis Telle <email@hidden>
- Date: Mon, 26 Mar 2007 08:42:43 +0200
Here the CoreFoundation equivalent:
CFStringRef identifier;
CFBundleRef mainBundle = CFBundleGetMainBundle();
if (mainBundle)
{
identifier = CFBundleGetIdentifier(mainBundle);
mHostIsPlogue = (CFStringCompare(identifier,CFSTR
("com.plogue.bidule") , 0) == kCFCompareEqualTo);
}
Aulis
Am 26.03.2007 um 01:01 schrieb Antoine Missout:
NSBundle *mainBundle = [NSBundle mainBundle];
if (mainBundle)
mHostIsPlogue = [[mainBundle bundleIdentifier]
isEqual:@"com.plogue.bidule"];
I'm sure there is an equivalent in CoreFoundation.
On 24-Mar-07, at 12:33 PM, Michael Ljunggren wrote:
Hi,
My AU plug-in is working well in most AU hosts, but not all. The
GUI has a few problems
on some hosts. I am able to "workaround" the personalities of such
funny hosts but only
if I know which host it is. I.e I can't have The One Code that
works for all hosts.
I have come to the situation where I think knowing the AU host is
the only way for me
to go forward.
Is there a way to figure out which AU host I am currently running
under; Logic, Garageband, DP etc...?
Any API such as AUBase::getHostNameAndVersion() ;-) This is
available in the VST standard so I guess
it is available here too?
/Michael Ljunggren
Alien Connections
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40rwth-aachen.de
This email sent to email@hidden
--
Aulis Telle
email@hidden
_______________________________________________
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