RE: Wrapper class for Cocoa Audio Units in Carbon Hosts
RE: Wrapper class for Cocoa Audio Units in Carbon Hosts
- Subject: RE: Wrapper class for Cocoa Audio Units in Carbon Hosts
- From: Stéphane Beauchemin <email@hidden>
- Date: Fri, 7 Aug 2009 15:37:37 -0400
- Thread-topic: Wrapper class for Cocoa Audio Units in Carbon Hosts
I haven't had the time to look at the code. However, about a year ago, I have written a wrapper for Cocoa UI in Carbon host. I remember dropping it because of problems like the one you are describing. Specially the "idle" problem in some host. If someone has a fix I would be curious to see it.
Stephane
-----Original Message-----
From: coreaudio-api-bounces+sbeauchemin=email@hidden [mailto:coreaudio-api-bounces+sbeauchemin=email@hidden] On Behalf Of tahome izwah
Sent: August-07-09 5:20 AM
To: email@hidden
Subject: Re: Wrapper class for Cocoa Audio Units in Carbon Hosts
Hi Seth,
I just tried your wrapper (in 10.5.8) and the Cocoa view shows up ok
but I'm getting crashes in AULab (on quit) and in AudioHijack Pro when
opening up my AU... Also, the Carbon UI doesn't seem to get any idle
time, so the displays in my Cocoa (in-Carbon-)view won't update. Any
ideas?
Thanks
--th
This is the crash in AULab:
Thread 0 Crashed:
0 com.apple.HIToolbox 0x94dc7838
HIObjectIsAccessibilityIgnored + 24
1 com.apple.HIToolbox 0x94dc7716
AXNotificationAXUIElementNotifyForAXUIElement + 38
2 com.apple.HIToolbox 0x94dc762b
AXNotificationHIObjectNotifyForObject + 97
3 com.apple.HIToolbox 0x94dc75c8 AXNotificationHIObjectNotify + 50
4 com.apple.HIToolbox 0x94dc1bee
HIApplication::PossibleMainWindowChange() + 70
5 com.apple.HIToolbox 0x94dbadf7 _ShowHideWindows + 1341
6 com.apple.HIToolbox 0x94dba8b8 ShowHide + 38
7 com.apple.AppKit 0x93d6ad83 -[NSCarbonWindow
_reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] +
1774
8 com.apple.AppKit 0x93ba405c -[NSWindow
orderWindow:relativeTo:] + 105
9 com.apple.AppKit 0x93bb8809 -[NSWindow orderOut:] + 50
10 com.apple.AppKit 0x93bfa1ad -[NSWindow _close] + 435
11 com.apple.CoreFoundation 0x95d46b25 -[NSArray
makeObjectsPerformSelector:] + 565
12 com.apple.AppKit 0x93c985ef -[NSApplication
_deallocHardCore:] + 433
13 com.apple.AppKit 0x93c9730d -[NSApplication terminate:] + 742
14 com.apple.audio.aulab 0x000783cb 0x1000 + 488395
15 com.apple.AppKit 0x93bb7e8f -[NSApplication
sendAction:to:from:] + 112
16 com.apple.AppKit 0x93c66b64 -[NSMenu
performActionForItemAtIndex:] + 493
17 com.apple.AppKit 0x93c66869 -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:] + 220
18 com.apple.AppKit 0x93c664ef -[NSMenu
performKeyEquivalent:] + 866
19 com.apple.AppKit 0x93c64d94 -[NSApplication
_handleKeyEquivalent:] + 492
20 com.apple.AppKit 0x93b81ac7 -[NSApplication sendEvent:] + 3997
21 com.apple.AppKit 0x93adefe7 -[NSApplication run] + 867
22 com.apple.AppKit 0x93aac1d8 NSApplicationMain + 574
23 com.apple.audio.aulab 0x00002223 0x1000 + 4643
24 com.apple.audio.aulab 0x00002151 0x1000 + 4433
_______________________________________________
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