• 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: Record System Built-in Output with HAL unit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Record System Built-in Output with HAL unit


  • Subject: Re: Record System Built-in Output with HAL unit
  • From: Daniel Vollmer <email@hidden>
  • Date: Thu, 18 Feb 2016 18:42:58 +0100

> On 18 Feb 2016, at 17:45, Nikita Kardakov <email@hidden> wrote:
>
> Good day!
>
> I was wondering if it’s possible to capture "System Built-in Output" device output using HAL unit on Mac?

AFAIK, there is no way to tap audio output from the HAL. What you can do is write an audio driver that captures any output sent to it, and provides some way of obtaining that. I’ve done this by creating a LoopbackAudio device from the NullAudio-sample so that it mirrors the output it receives and provides it back as an input stream and use that as a part of my virtual 5.1 sound card.

This works fine (and can thankfully be done as a user-space driver), but is a fair bit of effort. The latency depends on the timing between the writer and any readers, but can be kept very low.

There’s also pre-made apps that do this (SoundFlower, Loopback), but they’re either using kexts or code-injection AFAIK and not a user-space CoreAudio HAL plug-in.

	Daniel.
 _______________________________________________
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: Record System Built-in Output with HAL unit
      • From: Ed Wynne <email@hidden>
    • Re: Record System Built-in Output with HAL unit
      • From: Paul Davis <email@hidden>
References: 
 >Record System Built-in Output with HAL unit (From: Nikita Kardakov <email@hidden>)

  • Prev by Date: Record System Built-in Output with HAL unit
  • Next by Date: Re: Record System Built-in Output with HAL unit
  • Previous by thread: Record System Built-in Output with HAL unit
  • Next by thread: Re: Record System Built-in Output with HAL unit
  • Index(es):
    • Date
    • Thread