Code snippet: Intercepting and Recording Linux Audio Streams with Pipewire
Let's say you're a Linux user. And let's say that you have valid, legitimate, one might even say ethical, reasons for capturing the audio that you're hearing through your speakers. Most modern Linux system are using Pipewire these days, so let'se discuss how you, on a Pipewire system, you can capture the audio being produced by some application you're currently running.
1 October 2024