Re: Trouble loading SampleEffect Cocoa UI
Re: Trouble loading SampleEffect Cocoa UI
- Subject: Re: Trouble loading SampleEffect Cocoa UI
- From: Luke Bellandi <email@hidden>
- Date: Thu, 20 May 2004 07:49:01 -0700
This was covered on the list last week. The next rev of the SDK will
have the fix:
>
A couple things about using the cocoa UI:
>
>
1) You'll need to copy SampleEffectCocoaUI.bundle into
>
SampleEffectUnit.component/Contents/Resources and then install the
>
SampleEffectUnit.component into your
>
~/Library/Audio/Plug-Ins/Components/ directory.
>
2) AudioUnitHosting supports only carbon views. Use
>
/Developer/Examples/CoreAudio/Services/CocoaAUHost
>
>
Best.
>
Luke
On May 20, 2004, at 6:48 AM, Robert Grant wrote:
>
I'm trying to get the Cocoa UI view working and both my app and
>
CocoaAUHost are unable to load the UI. They both fail on this
>
assertion:
>
>
*** Assertion failure in -[AUEditController createCocoaUI]
>
AudioUnitGetProperty(kAudioUnitProperty_CocoaUI)
>
>
It's returning -43!
>
>
I'm successfully geting Info on the property and passing in a buffer
>
of the right dataSize.
>
>
I must admit that I'm confused about how SampleEffect is supposed to
>
contain its CocoaView. The target builds the two separately - the view
>
outside of the component. Shouldn't it be inside the component?
>
>
Thanks,
>
>
Robert.
>
_______________________________________________
>
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.