[pulseaudio-discuss] Tap sound from one process
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Sun Aug 4 22:43:38 PDT 2013
On Sun, 2013-08-04 at 10:09 +0200, Magnus Ekhall wrote:
> Hello,
>
> I want to record the output of one program but at the same time being able
> to hear the sound normally. Basically I want some sort of T-connection
> before the mixer (I do not want to tap the sound at the mixer as that would
> give me the sound output of all applications).
>
> I've been trying to get something like that set up using pactl and parec
> but with no success.
>
> I guess I need to write a module or something. Does anyone have a rough
> idea on how it could be done? (I'm new to this)
If you're willing to write a module, then you might be willing to
implement this[1] small feature request instead? Adding the feature to
parecord should be much easier than implementing a module.
(I'm not sure if I should mention this, because it may cause you to not
write any code for us, but not mentioning would probably be unfair: you
don't necessarily have to write any code. Just load module-virtual-sink
on top of the alsa sink, and play that one program to the virtual sink.
Then record from the virtual sink's monitor source. All other
applications play to the alsa sink, so they won't be included in the
recorded audio.)
[1] https://bugs.freedesktop.org/show_bug.cgi?id=66326
--
Tanu
More information about the pulseaudio-discuss
mailing list