• 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
CocoaUI guidelines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CocoaUI guidelines


  • Subject: CocoaUI guidelines
  • From: "Mark's Studio" <email@hidden>
  • Date: Thu, 10 Jun 2004 21:19:09 +0200

Im trying to built a AU with a Cocoa UI, and every time there is a new
host things are different?


"Each call to uiViewForAudioUnit:withSize: is expected to return a
unique view.That is to say that the class implementing the
AUCocoaUIBase protocol shouldfunction as a view factory. Each returned
view should have a retain count of 1, and be returned autoreleased. It
is the hosts responsibility to retain the view asnecessary. See the
SampleEffectUnits Cocoa UI in the SDK for an example. "



GarageBand 1.1 does not retain the view (Filed a bug).

Rax 1.0 does not release the view.

CocoaAUHost seems to handle it right.


Who is right?



Peter Mark

Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.


  • Prev by Date: Re: Two same name audio device
  • Next by Date: Re: Two same name audio device
  • Previous by thread: Re: Undefined symbols
  • Next by thread: Re: CocoaUI guidelines
  • Index(es):
    • Date
    • Thread