• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: HAL user-land plugin / SampleHardwarePlugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >HAL user-land plugin / SampleHardwarePlugin (From: Shawn Erickson <email@hidden>)
 >Re: HAL user-land plugin / SampleHardwarePlugin (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: HAL user-land plugin / SampleHardwarePlugin
  • Next by Date: Re: AU Presets for multiple plugins
  • Previous by thread: Re: HAL user-land plugin / SampleHardwarePlugin
  • Next by thread: Re: HAL user-land plugin / SampleHardwarePlugin
  • Index(es):
    • Date
    • Thread