• 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: Trouble loading SampleEffect Cocoa UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble loading SampleEffect Cocoa UI


  • Subject: Re: Trouble loading SampleEffect Cocoa UI
  • From: Robert Grant <email@hidden>
  • Date: Thu, 20 May 2004 11:15:45 -0400

Thanks to Luke's leading me by the nose (:-)) and the sample code I've got Cocoa View hosting going in Rax. I'm going to tidy up my changes to Chris's AUEditController and then I'll post it on the Swiki.

Robert.

On May 20, 2004, at 10:49 AM, Luke Bellandi wrote:

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.


References: 
 >Trouble loading SampleEffect Cocoa UI (From: Robert Grant <email@hidden>)
 >Re: Trouble loading SampleEffect Cocoa UI (From: Luke Bellandi <email@hidden>)

  • Prev by Date: Re: Trouble loading SampleEffect Cocoa UI
  • Next by Date: MIDI App Compile G3/G4
  • Previous by thread: Re: Trouble loading SampleEffect Cocoa UI
  • Next by thread: MIDI App Compile G3/G4
  • Index(es):
    • Date
    • Thread