Hey y’all,
For those that don’t know, Mac has recently added the ability to create audio stream taps which lets you record and reroute audio from another process.
I’ve been spending the last week trying to get this implemented in a plugin and I am SOOO close.
The final hurdle I have is getting the permission to record system audio. This permission is very undocumented, no public API, and I think relatively new. This is the description key that goes into the plist for the app trying to use it
NSAudioCaptureUsageDescription
What I’ve come to realize though is that the plugin itself doesn’t need the permissions but rather the host. If I manually grant the permission to say Juce AudioPluginHost, it works. I know permission requesting from the plugin is possible as you can set things like microphone access etc. My worry though is every host has to implement this themselves, and as the permission is relatively new, no hosts support it yet.
But hoping anyone can clarify on how the permission granting from the plugin → host works. And would be nice to know if this is a dead end, in which case I will probably have to launch a separate process and do some IPC stuff
