3 ms·
Cool, I love more audio drivers… no joke. However how is this different than say loopback or soundflower? Other than it may actually work, I’d love to see a hyp
by wizardforhire 5y ago
Cool, I love more audio drivers… no joke. However how is this different than say loopback or soundflower? Other than it may actually work, I’d love to see a hyper nerdy deep dive into the intricacies, challenges and choices that led to this clump of code coming into existence.
- aaaaaaaaaaab 5y agoIt's a vanilla loopback Audio Server Plugin implementation, which is a userspace audio driver mechanism on macOS. Soundflower is an actual kernel-space driver using IOKit, which is the older (and deprecated) way of achieving the same thing. The actual work is done in a few dozen lines of code (see BlackHole_DoIOOperation at https://github.com/ExistentialAudio/BlackHole/blob/master/BlackHole/BlackHole.c#L3753 https://github.com/ExistentialAudio/BlackHole/blob/master/Bl...). The rest is just setting up the object model for the OS to provide metadata about the device.