[pulseaudio-discuss] How to `wire' output of a program as if it is microphone input

pl bossart bossart.nospam at gmail.com
Fri May 21 07:31:34 PDT 2010


> I want to do the following - I want to stream some audio that I generate
> via playback on my machine (Totem playing a clip) via programs supporting
> popular protocols like Empathy (jabber) or Skype to other people.
>
> There was a recent thread in the mailing list about loading loopback module
> (pactl load-module module-loopback) and then fiddling with pavucontrol.
>
> However I just cannot guess how/what to fiddle with.

If you want to mix your locally-generated audio with the mic input,
you want to use the 'virtual-source' module I contributed with the
'uplink-sink' option enabled. It creates a virtual sink, and all data
routed to this sink will be mixed with the mic input. However it
doesn't work if you don't have a mic input... You will either have to
play with pavucontrol to route your stream to this sink, or play the
same stream on all sinks. Let me know if this works for you.
-Pierre



More information about the pulseaudio-discuss mailing list