• 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: audiounit instrument with cocoa view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: audiounit instrument with cocoa view


  • Subject: Re: audiounit instrument with cocoa view
  • From: ben kamen <email@hidden>
  • Date: Sat, 18 Jun 2011 16:09:45 -0700

ok, so it seems like my problem is actually in getting it to load the bundle in the first place.  what am i missing? 

the bundle identifier in the plist is set to : com.olympia-noise-co.RO_CocoaViewFactory

and in the main cpp file i have this, which prints the "bundle didn't load" error :

OSStatus Rainbow_Oscillator::GetProperty( AudioUnitPropertyID inID,
                                                          AudioUnitScope inScope,
                                                          AudioUnitElement inElement,
                                                          void * outData )
{
if (inScope == kAudioUnitScope_Global) 
{
switch (inID) 
{
case kAudioUnitProperty_CocoaUI:
{
// Look for a resource in the main bundle by name and type.
CFBundleRef bundle = CFBundleGetBundleWithIdentifier( CFSTR("com.olympia-noise-co.RO_CocoaViewFactory") );


if (bundle == NULL) {
                    printf("bundle didn't load");
                    return fnfErr;

   

                }                
 
 _______________________________________________
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: audiounit instrument with cocoa view
      • From: Stephen Blinkhorn <email@hidden>
  • Prev by Date: Re: audiounit instrument with cocoa view
  • Next by Date: MatrixMixer - handling a lot of inputs
  • Previous by thread: Re: audiounit instrument with cocoa view
  • Next by thread: Re: audiounit instrument with cocoa view
  • Index(es):
    • Date
    • Thread