<div dir="ltr"><div dir="auto"><div>Hi <span style="font-family:sans-serif">Zoltán,</span></div><div dir="auto"><font face="sans-serif"><br></font></div><div dir="auto"><font face="sans-serif">Since years now I successfully use the way you mentioned in "P.S.". I play to a null sink and record from its monitor.</font></div><div dir="auto"><font face="sans-serif"><br></font></div><div dir="auto"><font face="sans-serif">I'm not sure why app02 should not be able to connect to this monitor. </font><span style="font-family:sans-serif">If app02 is recording from PA in general, independent of "from where", then it should show in pavucontrol in the "recording" tab. There you can set it's input source to the null sink monitor where app01 plays to.</span></div><div dir="auto"><font face="sans-serif"><br></font></div><div dir="auto"><font face="sans-serif">Regards,</font></div><div dir="auto"><font face="sans-serif">Daniel<br></font><br><div class="gmail_quote" dir="auto"><div dir="ltr">Am Do., 8. Nov. 2018, 19:50 hat Zoltán Szabó <<a href="mailto:zoell@zoell.us" target="_blank">zoell@zoell.us</a>> geschrieben:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I would like to connect my app01's audio output to my app02's microphone.</div><div><br></div><div>Here is what I have tried so far:</div><div><br></div><div>I create a file pipe sink for my app01:</div><div>load-module module-pipe-sink sink_name=pa_speaker_app01 file=/home/pulseaudio/pa_speaker_app01 format=ulaw rate=8000 channels=1</div><div><br></div><div>I create a file pipe sink for my app02:</div><div>load-module module-pipe-sink sink_name=pa_speaker_app02 file=/home/pulseaudio/pa_speaker_app02 format=ulaw rate=8000 channels=1</div><div><br></div><div>This way both of my apps have an available output device.</div><div><br></div><div>I create a virtual source as a mic for my other app01 and 02:</div><div>load-module module-virtual-source source_name=pa_virtual_source_app01 uplink_sink=pa_speaker_app02</div><div>load-module module-virtual-source source_name=pa_virtual_source_app02 uplink_sink=pa_speaker_app01</div><div><br></div><div>This way anything played on pa_speaker_app02 should be routed to the app01's microphone pa_virtual_source_app01, right? Also should be true for app01 to app02.</div><div><br></div><div>So I start my app01 and 2:</div><div>PULSE_SOURCE=pa_virtual_source_app01 PULSE_SINK=pa_speaker_app01 ./startapp01</div><div>PULSE_SOURCE=pa_virtual_source_app02 PULSE_SINK=pa_speaker_app02 ./startapp01</div><div><br></div><div>But this is not working at all. Is this not the right approach? I can see in the PA logs that the apps are connected successfully to PA.</div><div><br></div><div>PS: I also tried to crate a null sink, but app01 (it is actually chrome) is not able to open the null sink's monitor as a mic.</div><div><br></div><div>Thanks</div><div>zoell</div><div><br></div></div></div>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" rel="noreferrer" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div></div></div>
</div>