Re: Cocoa IN AudioUnit
Re: Cocoa IN AudioUnit
- Subject: Re: Cocoa IN AudioUnit
- From: Stefan Werner <email@hidden>
- Date: Thu, 12 May 2005 14:21:49 +0200
Hi,
not having done that myself, let me just throw in a few ideas what might be causing that:
Does your AU have it's own AutoReleasePool? I wouldn't expect that CoreAudio provides that for AUs, so you would need to take care of that yourself.
Weird behaviour is a frequent problem in threaded environments - do you have shared Cocoa objects or shared objects that might cause race conditions? Are you making Cocoa calls that are not thread-safe?
If you're using XCode, try running it with Malloc Debug enabled: Random crashes can also be caused by corrupt memory or a corrupt stack, and Malloc Debug should help you to determine quickly if your code is safe in that regard.
-Stefan
On May 11, 2005, at 9:04 PM, email@hidden wrote:
It crashed for strange unknown reasons, It can't find category methods (sometimes) and overall behaves unpredictably. After removing my AU from the component folder and rebooting (relogining), the app runs fine again. Now I wonder what I am missing here? Does cocoa work ok with Audiounits?
<x-tad-smaller>--
Stefan Werner, Media Computing Group
Department of Computer Science 10, RWTH Aachen University
Ahornstrasse 55, 52074 Aachen, Room 2U11
Phone: +49 (241) 80-21055 Fax: +49 (241) 80-22050</x-tad-smaller>
_______________________________________________
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