Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting name of AudioUnit host



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:
http://lists.apple.com/mailman/options/coreaudio-api/ 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:
http://lists.apple.com/mailman/options/coreaudio-api/aulis.telle% 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: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Getting name of AudioUnit host (From: "Michael Ljunggren" <email@hidden>)
 >Re: Getting name of AudioUnit host (From: Antoine Missout <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.