Re: Record System Built-in Output with HAL unit
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