• 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: Resource contexts and AUCarbonView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource contexts and AUCarbonView


  • Subject: Re: Resource contexts and AUCarbonView
  • From: "Angus F. Hewlett" <email@hidden>
  • Date: Thu, 14 Nov 2002 07:01:24 -0500 (EST)

Thanks, that worked nicely :)

=======================================================
Angus F. Hewlett, Technical Director
FXpansion Audio UK Ltd - http://www.fxpansion.com
=======================================================

On Wed, 13 Nov 2002, Art Gillespie wrote:

> Here's how I do it. See the 'Bundle Services' topic under 'Core Foundation'
> in the Carbon docs for better explanations.
>
> /*
> * Get a reference to our bundle using the unique identifier. (Set in
> ProjectBuilder->Targets->
> * Info.plist Entries->Expert View->Bundle Identifier
> */
> CFBundleRef bundle =
> CFBundleGetBundleWithIdentifier(CFSTR("com.bitshiftaudio.Instruments.phatmat
> ik"));
>
> ... Check for errors ...
>
> SInt16 tmp = CurResFile();
> CFBundleOpenBundleResourceMap(bundle); //this sets cur res file
>
> ... Do stuff ...
>
> UseResFile(tmp); //restore the original res file
>
> Best,
>
> Art
> >>0xBA
>
> On 11/13/02 9:16 AM, "Angus F. Hewlett" <email@hidden> wrote:
>
> > Hi,
> >
> > Apologies for the flood of questions... I'm porting some existing
> > CFM-based code (VST plugins) to AU. Under VST, the host sets the plug's
> > resource context (with UseResFile()) before calling in to the plug.
> > However, I can't seem to get this functionality working in AUCarbonView.
> >
> > What approach are others taking to this? Seems component bundles handle
> > these things a bit differently than in the past, but I've not quite got my
> > head around it yet.
> >
> > Regards,
> > Angus.
> >
> > =======================================================
> > Angus F. Hewlett, Technical Director
> > FXpansion Audio UK Ltd - http://www.fxpansion.com
> > =======================================================
> > _______________________________________________
> > coreaudio-api mailing list | email@hidden
> > Help/Unsubscribe/Archives:
> > http://www.lists.apple.com/mailman/listinfo/coreaudio-api
> > Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> coreaudio-api mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Resource contexts and AUCarbonView (From: Art Gillespie <email@hidden>)

  • Prev by Date: Re: attention AU host-makers -> MusicEffects
  • Next by Date: 10.2.2 & PB problems anyone?
  • Previous by thread: Re: Resource contexts and AUCarbonView
  • Next by thread: Re: Resource contexts and AUCarbonView
  • Index(es):
    • Date
    • Thread