Re: HAL user-land plugin / SampleHardwarePlugin
Re: HAL user-land plugin / SampleHardwarePlugin
- Subject: Re: HAL user-land plugin / SampleHardwarePlugin
- From: Shawn Erickson <email@hidden>
- Date: Tue, 17 Nov 2009 16:11:00 -0800
On Tue, Nov 17, 2009 at 3:34 PM, Jeff Moore <email@hidden> wrote:
> The implementation of SampleHardwarePlugIn specifically does not allow itself to be the default device. If you want to change this, the first step is to override HP_Device::CanBeDefaultDevice() in your subclass of HP_Device.
Doh it was staring me in the face. Thanks.
> After that, the plug-in has to provide the same view on it's device(s) in each process the plug-in is initialized in, especially the coreaudiod process. This entails implementing enough IPC between the instances of your plug-in in each process to synchronize the state. The sample code doesn't do this which is why it prevented itself from being the default device in the first place.
Yeah understood.
Thanks,
-Shawn
_______________________________________________
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