Recently, I have been experimenting with real-time visualization of audio that I play on my computer (through any arbitrary program like Spotify), but I used SoundFlower to connect the audio output to a fake line.
I am wondering if there is a method that is native to C / C ++ or Java that will allow me to record any sound sent to my computer (I use a Mac), in the same way as I can capture a string in (IE sample buffer, which is constantly populated with PCM data).
I have no desire to emulate other SoundFlower functions other than reading line output data.
source share