Recording one app's audio on macOS without a virtual driver
How Tapelark records the sound of one Mac app with Core Audio process taps: a tap, a private aggregate device, an IOProc that only copies into a lock-free ring, and the 8-hour soak test that failed anyway.
victorantos.com