• 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
CocoaAUHost example - another crasch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CocoaAUHost example - another crasch


  • Subject: CocoaAUHost example - another crasch
  • From: Roni Music <email@hidden>
  • Date: Mon, 29 Jan 2007 10:17:14 +0100


Hi,

If an Cocoa AudioUnit plugin is crashing the CocoaAuHost example but works fine in AULab, would that be a bug in the AudioUnit plugin or in the CocoaAuHost example?


The following plugin http://www.musicunfolding.com/downloads/F8.dmg from http://www.musicunfolding.com/f8.html

crasches the CocoaAUHost example when deselecting it and selecting another AU.

The crash goes away if retaining the view as below:

			AUView = [factoryInstance	uiViewForAudioUnit:inAU
										withSize:[[mScrollView contentView] bounds].size];

			[AUView retain];

This prevents the crash but creates a resource leak .

The plugin works OK in AULab.

I'm just about to add support for Cocoa AU plugins into my own application and I intend to base it on the CocoaAUHost example but a crasch like this worries me.

Any ideas?

Thanks,
Rolf


_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Macbook and Macbook por Audio loss when plugged into a specific usb port
  • Next by Date: RE: Coreaudio-api Digest, Vol 4, Issue 24
  • Previous by thread: Re: CocoaAUHost example crasches
  • Next by thread: disappearing MIDI control events...
  • Index(es):
    • Date
    • Thread