Control panel for AudioServerPlugIn
Control panel for AudioServerPlugIn
- Subject: Control panel for AudioServerPlugIn
- From: Bertrand Van Kempen <email@hidden>
- Date: Thu, 20 Mar 2014 12:03:46 +0100
- Thread-topic: Control panel for AudioServerPlugIn
Hello Vyacheslav,
My PropertiesPane communicates to the AudioServerPlugIn through custom properties (see: kAudioObjectPropertyCustomPropertyInfoList).
The AudioDeviceNotify example (https://developer.apple.com/library/mac/samplecode/AudioDeviceNotify/Introduction/Intro.html) shows how to enumerate audio devices and so find your AudioServerPlugin and how set/get property.
Hope it helps,
Bertrand
________________________________
De: coreaudio-api-bounces+bvankempen=email@hidden de la part de Vyacheslav Matyushin
Date: mer. 3/19/2014 10:56
À: email@hidden
Objet : Control panel for AudioServerPlugIn
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