Re: Accessing other audio devices from a user-land driver
Re: Accessing other audio devices from a user-land driver
- Subject: Re: Accessing other audio devices from a user-land driver
- From: Kyle Sluder <email@hidden>
- Date: Thu, 14 Mar 2013 01:10:45 -0700
On Wed, Mar 13, 2013, at 09:17 PM, Kyle Sluder wrote:
> Can I convince launchd to spawn an XPC service embedded in my CFPlugIn?
Sadly, I cannot. And I can't even write up a launchd plist to vend a
Mach-based XPC service, because coreaudiod's sandboxing rules are
extremely restrictive. The sandbox definition file
/usr/share/sandbox/com.apple.audio.coreaudiod.sb enumerates the specific
mach services coreaudiod—and by extension, user-space audio driver
plugins—are allowed to look up.
But! The sandbox definition file DOES grant a blanket permission for
Posix shared memory regions. Is it safe to assume this is permission is
intentional, and I can therefore use it to pass data between my
audio-playing app and my driver?
If not, it looks like I'm going to have to learn much more about I/O
Kit. Hopefully I can still avoid writing any kernel code.
--Kyle Sluder
_______________________________________________
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