• 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: Jeff Moore <email@hidden>
  • Date: Tue, 17 Nov 2009 15:34:25 -0800

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. 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.


On Nov 17, 2009, at 3:05 PM, Shawn Erickson wrote:

> I am playing around with the SampleHardwarePlugin with the end goal of
> implementing a synthetic audio output device for the purpose of
> allowing the user to loop audio into our software as generated by
> other processes on the system.
>
> Anyway... is it possible to get a HAL plugin such as
> SampleHardwarePlugin to be available as a system input/output device
> (available in system preference basically for the user to select). So
> far I cannot get the sample plugin to become available in system
> preferences but it is available to applications. Just wonder what the
> requirement / limitations are.



--

Jeff Moore
Core Audio
Apple



 _______________________________________________
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

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

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