• 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: Getting name of AudioUnit host
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Getting name of AudioUnit host
      • From: William Stewart <email@hidden>
References: 
 >Getting name of AudioUnit host (From: "Michael Ljunggren" <email@hidden>)
 >Re: Getting name of AudioUnit host (From: Antoine Missout <email@hidden>)

  • Prev by Date: RE: auval and you
  • Next by Date: Problem in SCAudioFillBuffer/OpenADefaultComponent
  • Previous by thread: Re: Getting name of AudioUnit host
  • Next by thread: Re: Getting name of AudioUnit host
  • Index(es):
    • Date
    • Thread