CocoaAUHost example - another crasch
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