• 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: Custom HIViews and AudioUnits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom HIViews and AudioUnits


  • Subject: Re: Custom HIViews and AudioUnits
  • From: Franck Stauffer <email@hidden>
  • Date: Tue, 29 Oct 2002 03:56:05 +0100

It seems I found out what is wrong with me:

When I call
result = GetEventParameter(inEvent, kEventParamCGContextRef,
typeCGContextRef, NULL, sizeof(context), NULL, &context);
i get a -9874 error, which means that i can't receive a context to
draw...

Sorry this post is a little out-off topic...


Le mardi, 29 oct 2002, ` 01:59 Europe/Paris, Franck Stauffer a icrit :

> Hi,
>
> For another project (ogg player) I recently created a set of custom
> HIView's...now I'd like to include some of those controls in my
> audiounits and I don't seem to achieve that, I do something like this
> (in CreateUI):
>
> ....
>
> HIViewRef theSlider;
> HIRect frame = { {100.0, 100.0}, {64.0, 64.0} };
> OSStatus theStatus=HICreateCustomSlider(this->GetCarbonWindow(),
> &frame, NULL,&theSlider);
> AUCarbonViewBase::AddCarbonControl(AUCarbonViewControl::kTypeContinuous
> , tParam1, theSlider);
> HIViewSetVisible (ttheSlider, true);
>
> ...
>
> Note that my HIViews work perfectly in other applications, but they
> don't display anything at all in my audiounits...any thoughts,
> suggestions?
>
> Thanks
_______________________________________________
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: 
 >Custom HIViews and AudioUnits (From: Franck Stauffer <email@hidden>)

  • Prev by Date: Re: [OT] WTF is SIOUX?
  • Next by Date: Re: [OT] WTF is SIOUX?
  • Previous by thread: Custom HIViews and AudioUnits
  • Next by thread: [OT] WTF is SIOUX?
  • Index(es):
    • Date
    • Thread