• 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
Digital Performer Cocoa support - wraps Carbon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Digital Performer Cocoa support - wraps Carbon?


  • Subject: Digital Performer Cocoa support - wraps Carbon?
  • From: Os <email@hidden>
  • Date: Thu, 11 Feb 2010 10:13:17 +0000

Hi,

I'm experiencing some odd behaviour with my AUs in Digital Performer
and I wondered if anyone could share any relevant wisdom.

I recently added Cocoa UIs to my plug-ins. These work perfectly in
Logic and Live. However in DP I'm getting crashes. Looking at the
stack traces, it looks like DP is actually a Carbon app still and is
wrapping Cocoa UIs somehow. I'm puzzled as to why it does this when
the plug-in has a perfectly good Carbon UI available.

What I'd like to do is detect if the application is actually Carbon
and not expose the Cocoa UI. If it comes to it I'll just check the
process names and detect if it's DP, but I'd really rather not have
to.

The specific problem I'm having is that my Cocoa UI is putting up a
dialog with NSApp runModalForWindow, and stopping it with NSApp
stopModal. In DP runModalForWindow looks like it's calling down to a
Carbon modal loop which is not terminated by stopModal, so the app
hangs and gets very confused about window states.

Any help appreciated.


cheers,
os.

--
email@hidden
http://twitter.com/expertsleepers
http://www.darkroomtheband.net/
http://www.expert-sleepers.co.uk/
 _______________________________________________
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: Digital Performer Cocoa support - wraps Carbon?
      • From: Stephen Blinkhorn <email@hidden>
  • Prev by Date: Re: Outputting multichannel sound through the optical link??
  • Next by Date: Re: Digital Performer Cocoa support - wraps Carbon?
  • Previous by thread: Re: AudioUnitInitialize returning -1 or -50 for remoteIO
  • Next by thread: Re: Digital Performer Cocoa support - wraps Carbon?
  • Index(es):
    • Date
    • Thread