• 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: AU cocoaview template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU cocoaview template


  • Subject: Re: AU cocoaview template
  • From: Luke Bellandi <email@hidden>
  • Date: Fri, 28 Jan 2005 13:18:34 -0800

Hi Allan,

There's a bug in the Sample Cocoa View (as posted in the TEMPLATES, not in the CoreAudioSDK) that is likely the cause of this:

in "CocoaView.m"

the dealloc method needs to be changed from:

- (void)dealloc {
    [self _removeListeners];
    [self dealloc];
}

to:

- (void)dealloc {
    [self _removeListeners];
    [super dealloc];
}

the recursive [self dealloc] call causes bad things to happen and could be the cause of your crash. If that doesn't fix it, please send me the crash log (off list) and I'll see what else might be going on.

Best,
Luke




On Jan 28, 2005, at 12:38 PM, Allan Hoeltje wrote:

This is weird, I built an AU based on the Cocoa View template that can be
displayed in SynthTest but causes Garage Band to hang forever. The system
log says:
localhost crashdump: Started writing crash report to:
/Users/allan/Library/Logs/CrashReporter/GarageBand.crash.log
localhost /usr/libexec/crashreporterd: crashdump[810] exited due to signal 5
Actually, the view which is displayed in SynthTest is the plain carbon view,
not the Cocoa view I specified in the NIB. But is is strange that Garage
Band chokes on it.
-Allan
"Nicolas Dangy-Caye" <email@hidden> wrote on 1/28/05 7:37
AM:
Hi,
I've built an Audio Unit based on the cocoa view xcode template. The
cocoa view can be succesfully displayed in Garage Band but not within
Logic Pro 6.4.3 (and also synthtest).
As I'm new in audio unit programming, I wonder if I miss something in
my code or if Logic Pro does not support a cocoa view ?
Thanks in advance for your help...
Nicolas.
 _______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: AU cocoaview template
      • From: Allan Hoeltje <email@hidden>
References: 
 >Re: AU cocoaview template (From: Allan Hoeltje <email@hidden>)

  • Prev by Date: Re: AU cocoaview template
  • Next by Date: Re: AU cocoaview template
  • Previous by thread: Re: AU cocoaview template
  • Next by thread: Re: AU cocoaview template
  • Index(es):
    • Date
    • Thread