Re: Notification of device insertion/removal
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