Re: Custom HIViews and AudioUnits
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.