Control panel for AudioServerPlugIn
Control panel for AudioServerPlugIn
- Subject: Control panel for AudioServerPlugIn
- From: Vyacheslav Matyushin <email@hidden>
- Date: Wed, 19 Mar 2014 02:56:57 -0700 (PDT)
Hi. I want to make an audio driver in the form of AudioServerPlugIn and a control panel for it
but I can’t figure out how to make them cooperate.
AudioServerPlugIn.h says:
«An AudioServerPlugIn may communicate with other processes on the system. However, the plug-in
must list the name of the mach services to be accessed in the plug-in bundle's info.plist in a
key named "AudioServerPlugIn_MachServices". The value of this key is an array of the names of
the mach services that need to be accessed.»
But also «An XPC service is a bundle in the Contents/XPCServices directory of the main application bundle».
As I understand, when the AudioServerPlugIn opens an XPC connection,
launchd starts an XPC service inside the plugin directory, and they can communicate with each other.
But I don’t understand how the application (control panel) connects to this private XPC service of the AudioServerPlugIn.
Can anybody point me at any example?
Thanks!
Vyacheslav
_______________________________________________
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