• 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: Notification of device insertion/removal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notification of device insertion/removal


  • Subject: Re: Notification of device insertion/removal
  • From: Chris Hanson <email@hidden>
  • Date: Sun, 12 Aug 2007 12:59:14 -0700

On Aug 12, 2007, at 12:34 PM, Lorenzo Thurman wrote:

Does such a thing exist in Cocoa?

I don't believe so.

Would I have to look at the IOKit? Right now, I'm using a callback with CoreAudio and it works just fine, just wondering if I might be missing other options.

You're best off sticking with Core Audio, unless you need something extremely low-level.


This kind of technology mixing is one of the great strengths of Objective-C and Cocoa. You can, for example, post and handle your own Cocoa-level notifications based on the callbacks you get from Core Audio.

 -- Chris

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Notification of device insertion/removal (From: Lorenzo Thurman <email@hidden>)

  • Prev by Date: Re: Need an alternative to Interface Builder for a good reason
  • Next by Date: Re: Need an alternative to Interface Builder for a good reason
  • Previous by thread: Notification of device insertion/removal
  • Next by thread: Synchronized scrollbars (NSScrollView and NSBrowser)
  • Index(es):
    • Date
    • Thread