<div dir="ltr">Hi Everyone,<div><br></div><div>I still could not figure out why the why app01 sink routed to app01 source and also cannot find any workaround for this.</div><div><br></div><div>Any idea? I am thinking to disable a program to access a specific source or sink.</div><div><br></div><div>Thanks,</div><div>Zoltan</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 13, 2018 at 12:20 AM Zoltán Szabó <<a href="mailto:zoell@zoell.us">zoell@zoell.us</a>> wrote:<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 dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Daniel,<div><br></div><div>Thanks for your advice but as I can see this move source etc works only after the device is opened and audio is flowing which I don't know when it will happen.</div><div><br></div><div>I made some progress. Now the solution works with one problem.</div><div><br></div><div>This is my configuration now:</div><font face="monospace, monospace" size="1">pactl load-module module-null-sink sink_name=pa_sink_app01<br>pactl load-module module-virtual-source source_name=pa_source_app01 uplink_sink=pa_sink_app02</font></div><div dir="ltr"><br>And I start my apps like this:</div><div dir="ltr"><font size="1"><span style="font-family:monospace,monospace">PULSE_SINK=pa_sink_app01 PULSE_SOURCE=pa_source_app01 ./app01</span><br></font><font face="monospace, monospace"><font size="1">PULSE_SINK=pa_sink_app02 PULSE_SOURCE=pa_sink_app01.monitor ./app02</font><br><br></font></div>The goal is to route app01 source to app02 sink. And route app02 source to app01 sink.<br>Note: for app02, I can use the sink monitor as a source, but app01 (chrome browser) won't be able to open the app02's sink's monitor, no idea why. Need to work around it so I added a virtual source which can be opened by app01.</div><div dir="ltr"><br></div><div>This scenario is fully working with one problem. The audio is also routed back from app01 sink to app01 source, which I don't need. Interestingly this route stops after like 10 seconds, just like an echo cancellation kicks in somewhere.</div><div><br></div><div>Wondering if this is logically correct and it is just me who cannot see why app01 sink routed to app01 source.</div><div><br></div><div>Here are the created sinks and sources:</div><div><br></div><div><div><font face="monospace, monospace" size="1"><b># gosu pulseaudio pacmd list-sinks </b></font></div><div><font face="monospace, monospace" size="1">2 sink(s) available.</font></div><div><font face="monospace, monospace" size="1"> * index: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>name: <pa_sink_app01></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>driver: <module-null-sink.c></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>state: IDLE</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>suspend cause: </font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>priority: 1000</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> balance 0.00</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>base volume: 65536 / 100% / 0.00 dB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume steps: 65537</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>muted: no</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>current latency: 2.48 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>max request: 0 KiB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>max rewind: 0 KiB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>monitor source: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>sample spec: s16le 2ch 44100Hz</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>channel map: front-left,front-right</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> Stereo</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>used by: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>linked by: 1</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>configured latency: 5.00 ms; range is 0.50 .. 2000.00 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>module: 2</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>properties:</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.description = "Null Output"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.class = "abstract"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.icon_name = "audio-card"</font></div><div><font face="monospace, monospace" size="1"> index: 1</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>name: <pa_sink_app02></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>driver: <module-virtual-source.c></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>flags: DECIBEL_VOLUME FLAT_VOLUME </font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>state: IDLE</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>suspend cause: </font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>priority: 1000</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> balance 0.00</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>base volume: 65536 / 100% / 0.00 dB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume steps: 65537</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>muted: no</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>current latency: 0.00 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>max request: 0 KiB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>max rewind: 0 KiB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>monitor source: 2</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>sample spec: float32le 2ch 44100Hz</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>channel map: front-left,front-right</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> Stereo</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>used by: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>linked by: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>fixed latency: 250.00 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>module: 3</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>properties:</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.master_device = "pa_sink_app01.monitor"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.class = "uplink sink"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span><a href="http://device.uplink_sink.name" target="_blank">device.uplink_sink.name</a> = "pa_sink_app02"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.description = "Uplink Sink pa_sink_app02 on Monitor of Null Output"</font></div><div><font face="monospace, monospace"><span style="white-space:pre-wrap"> </span>device.icon_name = "audio-card"</font></div></div><div><br></div><div><br></div><div><div><font face="monospace, monospace" size="1"><b># pacmd list-sources</b></font></div><div><font face="monospace, monospace" size="1">3 source(s) available.</font></div></div><div><div><font face="monospace, monospace" size="1"> index: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>name: <pa_sink_app01.monitor></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>driver: <module-null-sink.c></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>state: RUNNING</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>suspend cause: </font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>priority: 1000</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> balance 0.00</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>base volume: 65536 / 100% / 0.00 dB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume steps: 65537</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>muted: no</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>current latency: 0.00 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>max rewind: 344 KiB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>sample spec: s16le 2ch 44100Hz</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>channel map: front-left,front-right</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> Stereo</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>used by: 1</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>linked by: 1</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>monitor_of: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>module: 2</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>properties:</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.description = "Monitor of Null Output"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.class = "monitor"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.icon_name = "audio-input-microphone"</font></div><div><font face="monospace, monospace" size="1"> * index: 1</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>name: <pa_source_app01></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>driver: <module-virtual-source.c></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>state: IDLE</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>suspend cause: </font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>priority: 1000</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume: front-left: 65536 / 100%, front-right: 65536 / 100%</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> balance 0.00</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>base volume: 65536 / 100%</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume steps: 65537</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>muted: no</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>current latency: 0.00 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>max rewind: 172 KiB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>sample spec: float32le 2ch 44100Hz</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>channel map: front-left,front-right</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> Stereo</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>used by: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>linked by: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>module: 3</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>properties:</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.master_device = "pa_sink_app01.monitor"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.class = "filter"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span><a href="http://device.vsource.name" target="_blank">device.vsource.name</a> = "pa_source_app01"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.description = "Virtual Source pa_source_app01 on Monitor of Null Output"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.icon_name = "audio-input-microphone"</font></div><div><font face="monospace, monospace" size="1"> index: 2</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>name: <pa_sink_app02.monitor></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>driver: <module-virtual-source.c></font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>flags: DECIBEL_VOLUME </font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>state: IDLE</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>suspend cause: </font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>priority: 1000</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> balance 0.00</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>base volume: 65536 / 100% / 0.00 dB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>volume steps: 65537</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>muted: no</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>current latency: 0.00 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>max rewind: 0 KiB</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>sample spec: float32le 2ch 44100Hz</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>channel map: front-left,front-right</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span> Stereo</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>used by: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>linked by: 0</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>fixed latency: 250.00 ms</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>monitor_of: 1</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>module: 3</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>properties:</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.description = "Monitor of Uplink Sink pa_sink_app02 on Monitor of Null Output"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.class = "monitor"</font></div><div><font face="monospace, monospace" size="1"><span style="white-space:pre-wrap"> </span>device.icon_name = "audio-input-microphone"</font></div></div><div><br></div><div><br></div><div>And here are some logs from pulseaudio for a media comes in and goes out between app01 and app02:</div><div><br></div><div>When I first start app01:</div><div><div><font face="monospace, monospace" size="1">( 93.448| 59.154) I: [pulseaudio] socket-server.c: TCP connection accepted by tcpwrap.</font></div><div><font face="monospace, monospace" size="1">( 93.448| 0.000) I: [pulseaudio] client.c: Created 2 "Native client (TCP/IP client from <a href="http://127.0.0.1:59296" target="_blank">127.0.0.1:59296</a>)"</font></div><div><font face="monospace, monospace" size="1">( 93.449| 0.000) D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29</font></div><div><font face="monospace, monospace" size="1">( 93.449| 0.000) D: [pulseaudio] protocol-native.c: SHM possible: no</font></div><div><font face="monospace, monospace" size="1">( 93.449| 0.000) D: [pulseaudio] protocol-native.c: Negotiated SHM: no</font></div><div><font face="monospace, monospace" size="1">( 95.290| 1.841) I: [pulseaudio] socket-server.c: TCP connection accepted by tcpwrap.</font></div><div><font face="monospace, monospace" size="1">( 95.290| 0.000) I: [pulseaudio] client.c: Created 3 "Native client (TCP/IP client from <a href="http://127.0.0.1:59314" target="_blank">127.0.0.1:59314</a>)"</font></div><div><font face="monospace, monospace" size="1">( 95.291| 0.000) D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29</font></div><div><font face="monospace, monospace" size="1">( 95.291| 0.000) D: [pulseaudio] protocol-native.c: SHM possible: no</font></div><div><font face="monospace, monospace" size="1">( 95.291| 0.000) D: [pulseaudio] protocol-native.c: Negotiated SHM: no</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.001) D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"float32le\"" format.rate = "44100" format.channels = "1" format.channel_map = "\"mono\""</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: Trying to change sample rate</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: Rate changed to 44100 Hz</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] resampler.c: Channel matrix:</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] resampler.c: I00 </font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] resampler.c: +------</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] resampler.c: O00 | 1.000</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] resampler.c: O01 | 1.000</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] remap_sse.c: Using SSE2 mono to stereo remapping</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] resampler.c: Resampler:</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] resampler.c: rate 44100 -> 44100 (method copy)</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] resampler.c: format float32le -> s16le (intermediate s16le)</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] resampler.c: channels 1 -> 2 (resampling 1)</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: Created input 0 "Playback" on pa_sink_app01 with sample spec float32le 1ch 44100Hz and channel map mono</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: application.icon_name = "chromium-browser"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: <a href="http://media.name" target="_blank">media.name</a> = "Playback"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: <a href="http://application.name" target="_blank">application.name</a> = "Chromium"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: native-protocol.peer = "TCP/IP client from <a href="http://127.0.0.1:59314" target="_blank">127.0.0.1:59314</a>"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: native-protocol.version = "29"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: <a href="http://application.process.id" target="_blank">application.process.id</a> = "298"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: application.process.user = "root"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: application.process.host = "49132fc42dd8"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: application.process.binary = "chrome"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: application.language = "C"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] sink-input.c: application.process.machine_id = "3d6ff2f75c7d3ae927580249a28e7e05"</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] protocol-native.c: Requested tlength=69.66 ms, minreq=11.61 ms</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] protocol-native.c: Requested latency=23.22 ms, Received latency=23.22 ms</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=8192, base=4, prebuf=6148, minreq=2048 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=8192, base=4, prebuf=6148, minreq=2048 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 95.292| 0.000) I: [pulseaudio] protocol-native.c: Final latency 69.66 ms = 23.22 ms + 2*11.61 ms + 23.22 ms</font></div><div><font face="monospace, monospace" size="1">( 95.293| 0.000) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 95.293| 0.000) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 95.293| 0.000) D: [null-sink] sink-input.c: Requesting rewind due to uncorking</font></div><div><font face="monospace, monospace" size="1">( 95.293| 0.000) D: [null-sink] module-null-sink.c: Requested to rewind 4096 bytes.</font></div><div><font face="monospace, monospace" size="1">( 95.293| 0.000) D: [null-sink] sink.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 95.294| 0.000) D: [null-sink] source.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 95.294| 0.000) D: [null-sink] source-output.c: Have to rewind 8192 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 95.294| 0.000) D: [null-sink] module-null-sink.c: Rewound 4096 bytes.</font></div><div><font face="monospace, monospace" size="1">( 96.619| 1.325) D: [pulseaudio] source-output.c: Negotiated format: pcm, format.sample_format = "\"s16le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: Trying to change sample rate</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: Rate changed to 44100 Hz</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) D: [pulseaudio] resampler.c: Resampler:</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) D: [pulseaudio] resampler.c: rate 44100 -> 44100 (method copy)</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) D: [pulseaudio] resampler.c: format float32le -> s16le (intermediate s16le)</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) D: [pulseaudio] resampler.c: channels 2 -> 2 (resampling 2)</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: Created output 1 "RecordStream" on pa_source_app01 with sample spec s16le 2ch 44100Hz and channel map front-left,front-right</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: application.icon_name = "chromium-browser"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: <a href="http://media.name" target="_blank">media.name</a> = "RecordStream"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: <a href="http://application.name" target="_blank">application.name</a> = "Chrome input"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: native-protocol.peer = "TCP/IP client from <a href="http://127.0.0.1:59296" target="_blank">127.0.0.1:59296</a>"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: native-protocol.version = "29"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: <a href="http://application.process.id" target="_blank">application.process.id</a> = "298"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: application.process.user = "root"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: application.process.host = "49132fc42dd8"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: application.process.binary = "chrome"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: application.language = "C"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] source-output.c: application.process.machine_id = "3d6ff2f75c7d3ae927580249a28e7e05"</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=0, base=4, prebuf=1, minreq=0 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=4194304, base=4, prebuf=4, minreq=4 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 96.620| 0.000) I: [pulseaudio] protocol-native.c: Final latency 9.99 ms = 4.99 ms + 5.00 ms</font></div><div><font face="monospace, monospace" size="1">( 102.006| 5.386) I: [pulseaudio] source-output.c: Freeing output 1 "RecordStream"</font></div><div><font face="monospace, monospace" size="1">( 105.302| 3.295) D: [null-sink] sink-input.c: Requesting rewind due to corking</font></div><div><font face="monospace, monospace" size="1">( 105.303| 0.000) D: [null-sink] module-null-sink.c: Requested to rewind 4096 bytes.</font></div><div><font face="monospace, monospace" size="1">( 105.303| 0.000) D: [null-sink] sink.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 105.303| 0.000) D: [null-sink] sink-input.c: Have to rewind 3744 bytes on render memblockq.</font></div><div><font face="monospace, monospace" size="1">( 105.303| 0.000) D: [null-sink] sink-input.c: Have to rewind 3744 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 105.303| 0.000) D: [null-sink] source.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 105.303| 0.000) D: [null-sink] source-output.c: Have to rewind 7488 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 105.303| 0.000) D: [null-sink] module-null-sink.c: Rewound 3744 bytes.</font></div><div><font face="monospace, monospace" size="1">( 105.303| 0.000) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 105.303| 0.000) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 110.304| 5.001) D: [null-sink] module-null-sink.c: Requested to rewind 352800 bytes.</font></div><div><font face="monospace, monospace" size="1">( 110.304| 0.000) D: [null-sink] sink.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 110.304| 0.000) I: [pulseaudio] sink-input.c: Freeing input 0 "Playback"</font></div><div><font face="monospace, monospace" size="1">( 110.304| 0.000) I: [pulseaudio] client.c: Freed 3 "Chromium"</font></div><div><font face="monospace, monospace" size="1">( 110.304| 0.000) D: [null-sink] source.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 110.304| 0.000) D: [null-sink] source-output.c: Have to rewind 4840 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 110.304| 0.000) D: [null-sink] module-null-sink.c: Rewound 2420 bytes.</font></div><div><font face="monospace, monospace" size="1">( 110.304| 0.000) I: [pulseaudio] protocol-native.c: Connection died.</font></div></div><div><br><br>And later when I start the media, so app02 is OK, but app01 plays the sink back to it's own source too:</div><div><div><font face="monospace, monospace" size="1">( 140.591| 26.491) I: [pulseaudio] socket-server.c: TCP connection accepted by tcpwrap.</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] client.c: Created 10 "Native client (TCP/IP client from <a href="http://127.0.0.1:59666" target="_blank">127.0.0.1:59666</a>)"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] protocol-native.c: SHM possible: no</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] protocol-native.c: Negotiated SHM: no</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"float32le\"" format.rate = "44100" format.channels = "1" format.channel_map = "\"mono\""</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: Trying to change sample rate</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: Rate changed to 44100 Hz</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] resampler.c: Channel matrix:</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] resampler.c: I00 </font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] resampler.c: +------</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] resampler.c: O00 | 1.000</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] resampler.c: O01 | 1.000</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] remap_sse.c: Using SSE2 mono to stereo remapping</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] resampler.c: Resampler:</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] resampler.c: rate 44100 -> 44100 (method copy)</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] resampler.c: format float32le -> s16le (intermediate s16le)</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] resampler.c: channels 1 -> 2 (resampling 1)</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: Created input 3 "Playback" on pa_sink_app01 with sample spec float32le 1ch 44100Hz and channel map mono</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: application.icon_name = "chromium-browser"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: <a href="http://media.name" target="_blank">media.name</a> = "Playback"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: <a href="http://application.name" target="_blank">application.name</a> = "Chromium"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: native-protocol.peer = "TCP/IP client from <a href="http://127.0.0.1:59666" target="_blank">127.0.0.1:59666</a>"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: native-protocol.version = "29"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: <a href="http://application.process.id" target="_blank">application.process.id</a> = "98"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: application.process.user = "root"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: application.process.host = "896cea5e6e82"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: application.process.binary = "chrome"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: application.language = "C"</font></div><div><font face="monospace, monospace" size="1">( 140.591| 0.000) I: [pulseaudio] sink-input.c: application.process.machine_id = "3d6ff2f75c7d3ae927580249a28e7e05"</font></div><div><font face="monospace, monospace" size="1">( 140.592| 0.000) I: [pulseaudio] protocol-native.c: Requested tlength=69.66 ms, minreq=11.61 ms</font></div><div><font face="monospace, monospace" size="1">( 140.592| 0.000) D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.</font></div><div><font face="monospace, monospace" size="1">( 140.592| 0.000) D: [pulseaudio] protocol-native.c: Requested latency=23.22 ms, Received latency=23.22 ms</font></div><div><font face="monospace, monospace" size="1">( 140.592| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=8192, base=4, prebuf=6148, minreq=2048 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 140.592| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=8192, base=4, prebuf=6148, minreq=2048 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 140.592| 0.000) I: [pulseaudio] protocol-native.c: Final latency 69.66 ms = 23.22 ms + 2*11.61 ms + 23.22 ms</font></div><div><font face="monospace, monospace" size="1">( 140.592| 0.000) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 140.593| 0.000) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 140.593| 0.000) D: [null-sink] sink-input.c: Requesting rewind due to uncorking</font></div><div><font face="monospace, monospace" size="1">( 140.593| 0.000) D: [null-sink] module-null-sink.c: Requested to rewind 880 bytes.</font></div><div><font face="monospace, monospace" size="1">( 140.593| 0.000) D: [null-sink] sink.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 140.593| 0.000) D: [null-sink] source.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 140.593| 0.000) D: [null-sink] source-output.c: Have to rewind 560 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 140.593| 0.000) D: [null-sink] module-null-sink.c: Rewound 280 bytes.</font></div><div><font face="monospace, monospace" size="1">( 140.930| 0.336) I: [pulseaudio] socket-server.c: TCP connection accepted by tcpwrap.</font></div><div><font face="monospace, monospace" size="1">( 140.930| 0.000) I: [pulseaudio] client.c: Created 11 "Native client (TCP/IP client from <a href="http://127.0.0.1:59672" target="_blank">127.0.0.1:59672</a>)"</font></div><div><font face="monospace, monospace" size="1">( 140.930| 0.000) D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29</font></div><div><font face="monospace, monospace" size="1">( 140.930| 0.000) D: [pulseaudio] protocol-native.c: SHM possible: no</font></div><div><font face="monospace, monospace" size="1">( 140.930| 0.000) D: [pulseaudio] protocol-native.c: Negotiated SHM: no</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"float32le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: Trying to change sample rate</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: Rate changed to 44100 Hz</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] resampler.c: Resampler:</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] resampler.c: rate 44100 -> 44100 (method copy)</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] resampler.c: format float32le -> s16le (intermediate s16le)</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] resampler.c: channels 2 -> 2 (resampling 2)</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: Created input 4 "Playback" on pa_sink_app01 with sample spec float32le 2ch 44100Hz and channel map front-left,front-right</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: application.icon_name = "chromium-browser"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: <a href="http://media.name" target="_blank">media.name</a> = "Playback"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: <a href="http://application.name" target="_blank">application.name</a> = "Chromium"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: native-protocol.peer = "TCP/IP client from <a href="http://127.0.0.1:59672" target="_blank">127.0.0.1:59672</a>"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: native-protocol.version = "29"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: <a href="http://application.process.id" target="_blank">application.process.id</a> = "98"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: application.process.user = "root"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: application.process.host = "896cea5e6e82"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: application.process.binary = "chrome"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: application.language = "C"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] sink-input.c: application.process.machine_id = "3d6ff2f75c7d3ae927580249a28e7e05"</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] protocol-native.c: Requested tlength=34.83 ms, minreq=5.80 ms</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] protocol-native.c: Requested latency=11.61 ms, Received latency=11.61 ms</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=8192, base=8, prebuf=6152, minreq=2048 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=8192, base=8, prebuf=6152, minreq=2048 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) I: [pulseaudio] protocol-native.c: Final latency 34.83 ms = 11.61 ms + 2*5.80 ms + 11.61 ms</font></div><div><font face="monospace, monospace" size="1">( 140.931| 0.000) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 140.932| 0.000) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 140.932| 0.000) D: [null-sink] sink-input.c: Requesting rewind due to uncorking</font></div><div><font face="monospace, monospace" size="1">( 140.932| 0.000) D: [null-sink] module-null-sink.c: Requested to rewind 880 bytes.</font></div><div><font face="monospace, monospace" size="1">( 140.932| 0.000) D: [null-sink] sink.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 140.932| 0.000) D: [null-sink] sink-input.c: Have to rewind 164 bytes on render memblockq.</font></div><div><font face="monospace, monospace" size="1">( 140.932| 0.000) D: [null-sink] source.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 140.932| 0.000) D: [null-sink] source-output.c: Have to rewind 328 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 140.932| 0.000) D: [null-sink] module-null-sink.c: Rewound 164 bytes.</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.369) I: [pulseaudio] socket-server.c: TCP connection accepted by tcpwrap.</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] client.c: Created 12 "Native client (TCP/IP client from <a href="http://127.0.0.1:59674" target="_blank">127.0.0.1:59674</a>)"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] protocol-native.c: SHM possible: no</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] protocol-native.c: Negotiated SHM: no</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] source-output.c: Negotiated format: pcm, format.sample_format = "\"s16le\"" format.rate = "8000" format.channels = "1" format.channel_map = "\"mono\""</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: Trying to change sample rate</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source.c: Cannot update rate, SOURCE_IS_RUNNING, will keep using 44100 Hz</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] resampler.c: Channel matrix:</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] resampler.c: I00 I01 </font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] resampler.c: +------------</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] resampler.c: O00 | 0.500 0.500</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] remap.c: Using generic matrix remapping</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] resampler.c: Resampler:</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] resampler.c: rate 44100 -> 8000 (method speex-float-1)</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] resampler.c: format s16le -> s16le (intermediate float32le)</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] resampler.c: channels 2 -> 1 (resampling 1)</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] resampler.c: Choosing speex quality setting 1.</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: Created output 3 "ALSA Capture" on pa_sink_app01.monitor with sample spec s16le 1ch 8000Hz and channel map mono</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: <a href="http://media.name" target="_blank">media.name</a> = "ALSA Capture"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: <a href="http://application.name" target="_blank">application.name</a> = "ALSA plug-in [app02]"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: native-protocol.peer = "TCP/IP client from <a href="http://127.0.0.1:59674" target="_blank">127.0.0.1:59674</a>"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: native-protocol.version = "29"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: <a href="http://application.process.id" target="_blank">application.process.id</a> = "183"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: application.process.user = "root"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: application.process.host = "896cea5e6e82"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: application.process.binary = "app02"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: application.language = "C"</font></div><div><font face="monospace, monospace" size="1">( 141.302| 0.000) I: [pulseaudio] source-output.c: application.process.machine_id = "3d6ff2f75c7d3ae927580249a28e7e05"</font></div><div><font face="monospace, monospace" size="1">( 141.303| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=0, base=2, prebuf=1, minreq=0 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 141.303| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=4194304, base=2, prebuf=2, minreq=2 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 141.303| 0.000) I: [pulseaudio] protocol-native.c: Final latency 64.00 ms = 32.00 ms + 32.00 ms</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.032) I: [pulseaudio] socket-server.c: TCP connection accepted by tcpwrap.</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] client.c: Created 13 "Native client (TCP/IP client from <a href="http://127.0.0.1:59676" target="_blank">127.0.0.1:59676</a>)"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] protocol-native.c: SHM possible: no</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] protocol-native.c: Negotiated SHM: no</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s16le\"" format.rate = "8000" format.channels = "1" format.channel_map = "\"mono\""</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: Trying to change sample rate</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] resampler.c: Channel matrix:</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] resampler.c: I00 </font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] resampler.c: +------</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] resampler.c: O00 | 1.000</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] resampler.c: O01 | 1.000</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] remap_sse.c: Using SSE2 mono to stereo remapping</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] resampler.c: Resampler:</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] resampler.c: rate 8000 -> 44100 (method speex-float-1)</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] resampler.c: format s16le -> float32le (intermediate float32le)</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] resampler.c: channels 1 -> 2 (resampling 1)</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] resampler.c: Choosing speex quality setting 1.</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: Created input 5 "ALSA Playback" on pa_sink_app02 with sample spec s16le 1ch 8000Hz and channel map mono</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: <a href="http://media.name" target="_blank">media.name</a> = "ALSA Playback"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: <a href="http://application.name" target="_blank">application.name</a> = "ALSA plug-in [app02]"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: native-protocol.peer = "TCP/IP client from <a href="http://127.0.0.1:59676" target="_blank">127.0.0.1:59676</a>"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: native-protocol.version = "29"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: <a href="http://application.process.id" target="_blank">application.process.id</a> = "183"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: application.process.user = "root"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: application.process.host = "896cea5e6e82"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: application.process.binary = "app02"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: application.language = "C"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] sink-input.c: application.process.machine_id = "3d6ff2f75c7d3ae927580249a28e7e05"</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) I: [pulseaudio] protocol-native.c: Requested tlength=256.00 ms, minreq=32.00 ms</font></div><div><font face="monospace, monospace" size="1">( 141.336| 0.000) D: [pulseaudio] protocol-native.c: Early requests mode enabled, configuring sink latency to minreq.</font></div><div><font face="monospace, monospace" size="1">( 141.337| 0.000) D: [pulseaudio] protocol-native.c: Requested latency=32.00 ms, Received latency=250.00 ms</font></div><div><font face="monospace, monospace" size="1">( 141.337| 0.000) D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=12000, base=2, prebuf=512, minreq=4000 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 141.337| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=12000, base=2, prebuf=512, minreq=4000 maxrewind=0</font></div><div><font face="monospace, monospace" size="1">( 141.337| 0.000) I: [pulseaudio] protocol-native.c: Final latency 1000.00 ms = 250.00 ms + 2*250.00 ms + 250.00 ms</font></div><div><font face="monospace, monospace" size="1">( 141.337| 0.000) D: [pulseaudio] module-virtual-source.c: Resuming source pa_source_app01, because its uplink sink became active.</font></div><div><font face="monospace, monospace" size="1">( 141.355| 0.017) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 150.955| 9.600) D: [null-sink] sink-input.c: Requesting rewind due to corking</font></div><div><font face="monospace, monospace" size="1">( 150.956| 0.000) D: [null-sink] module-null-sink.c: Requested to rewind 880 bytes.</font></div><div><font face="monospace, monospace" size="1">( 150.956| 0.000) D: [null-sink] sink.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 150.956| 0.000) D: [null-sink] sink-input.c: Have to rewind 576 bytes on render memblockq.</font></div><div><font face="monospace, monospace" size="1">( 150.956| 0.000) D: [null-sink] sink-input.c: Have to rewind 1028 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 150.956| 0.000) D: [null-sink] sink-input.c: Have to rewind 576 bytes on render memblockq.</font></div><div><font face="monospace, monospace" size="1">( 150.956| 0.000) D: [null-sink] source.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 150.956| 0.000) D: [null-sink] source-output.c: Have to rewind 1152 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 150.956| 0.000) D: [null-sink] module-null-sink.c: Rewound 576 bytes.</font></div><div><font face="monospace, monospace" size="1">( 150.956| 0.000) D: [null-sink] protocol-native.c: Requesting rewind due to end of underrun.</font></div><div><font face="monospace, monospace" size="1">( 155.957| 5.000) D: [null-sink] module-null-sink.c: Requested to rewind 880 bytes.</font></div><div><font face="monospace, monospace" size="1">( 155.957| 0.000) D: [null-sink] sink.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 155.957| 0.000) D: [null-sink] sink-input.c: Have to rewind 236 bytes on render memblockq.</font></div><div><font face="monospace, monospace" size="1">( 155.957| 0.000) D: [null-sink] source.c: Processing rewind...</font></div><div><font face="monospace, monospace" size="1">( 155.957| 0.000) I: [pulseaudio] sink-input.c: Freeing input 3 "Playback"</font></div><div><font face="monospace, monospace" size="1">( 155.957| 0.000) D: [null-sink] source-output.c: Have to rewind 472 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 155.957| 0.000) I: [pulseaudio] client.c: Freed 10 "Chromium"</font></div><div><font face="monospace, monospace" size="1">( 155.957| 0.000) I: [pulseaudio] protocol-native.c: Connection died.</font></div><div><font face="monospace, monospace" size="1">( 155.957| 0.000) D: [null-sink] module-null-sink.c: Rewound 236 bytes.</font></div><div><font face="monospace, monospace" size="1">( 165.359| 9.401) I: [pulseaudio] source-output.c: Freeing output 3 "ALSA Capture"</font></div><div><font face="monospace, monospace" size="1">( 165.359| 0.000) I: [pulseaudio] client.c: Freed 12 "ALSA plug-in [app02]"</font></div><div><font face="monospace, monospace" size="1">( 165.359| 0.000) I: [pulseaudio] protocol-native.c: Connection died.</font></div><div><font face="monospace, monospace" size="1">( 165.359| 0.000) D: [null-sink] sink-input.c: Requesting rewind due to corking</font></div><div><font face="monospace, monospace" size="1">( 165.359| 0.000) D: [null-sink] sink-input.c: Have to rewind 2 bytes on implementor.</font></div><div><font face="monospace, monospace" size="1">( 165.360| 0.000) I: [pulseaudio] sink-input.c: Freeing input 5 "ALSA Playback"</font></div><div><font face="monospace, monospace" size="1">( 165.360| 0.000) I: [pulseaudio] client.c: Freed 13 "ALSA plug-in [app02]"</font></div><div><font face="monospace, monospace" size="1">( 165.360| 0.000) I: [pulseaudio] protocol-native.c: Connection died.</font></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 9, 2018 at 8:39 AM Daniel <<a href="mailto:windseeker@gmx.de" target="_blank">windseeker@gmx.de</a>> wrote:<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 dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I'm not sure if I understood completely, but If your recording app cannot record via pulseaudio at all, then I don't know how to solve this with pulseaudio.<div><br></div><div>If your recording app CAN record via pulseaudio, then of course you can also use "pactl" to move sinks and sources with "move-sink-input" and "move-source-output" commands headless from command line/script/whatever.</div><div><br></div><div>Example: I have my audio player "audacious" playing to pulseaudio, have "pacat -r " recording from pulseaudio and I've loaded a null-sink module.</div><div><br></div><div>Let's look around in pulseaudio</div><div><br></div><div><div>$ pactl list clients short</div><div>[...]</div><div>36 protocol-native.c pacat<br></div><div>57 protocol-native.c audacious</div><div>[...]</div></div><div><br></div><div><div>$ pactl list sinks short </div><div>0 alsa_output.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING</div><div>[...]</div><div>4 null module-null-sink.c s16le 2ch 44100Hz IDLE<br></div></div><div><br></div><div><div>$ pactl list sources short </div><div>0 alsa_output.pci-0000_00_1f.3.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100HzRUNNING</div><div>[...]</div><div>4 null.monitor module-null-sink.c s16le 2ch 44100Hz RUNNING<br></div></div><div><br></div><div>Now lets see where audacious (Client 57) is playing to:</div><div><br></div><div><div>$ pactl list sink-inputs short</div><div>[...]</div><div>8 0 57 protocol-native.c float32le 2ch 44100Hz<br></div></div><div><br></div><div>Well client 57 has a sink-input 8 which it uses to play to sink 0. That's my soundcard, d'oh! So let's move it to sink 4, the null sink.</div><div><br></div><div>$ pactl move-sink-input 8 4</div><div><br></div><div>Now audacious plays to the null sink. Good. Now let's look at the recording app pacat, client 36:</div><div><br></div><div><div>$ pactl list source-outputs short</div><div>[...]</div><div>16 0 36 protocol-native.c s16le 2ch 44100Hz<br></div><div>[...]</div></div><div><br></div><div>Okay, with its source-output 16 it records from my soundcard (source 0) instead of null.monitor (source 4). So let's move this, too:</div><div><br></div><div>$ pactl move-source-output 16 4<br></div><div><br></div><div>Et voila, I'm recording with pacat, what my audacious player is playing.</div><div><br></div><div>Hope that helps.</div><div><br></div><div>Regards,</div><div>Daniel</div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Am Fr., 9. Nov. 2018 um 08:41 Uhr schrieb Zoltán Szabó <<a href="mailto:zoell@zoell.us" target="_blank">zoell@zoell.us</a>>:<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">Hi <span style="font-family:sans-serif">Daniel,</span></div><div dir="ltr"><span style="font-family:sans-serif"><br></span></div><div><span style="font-family:sans-serif">I am running these in console. I don't have GUI. app01 that should use the monitor is Chrome in headless mode and it just simply not able to open the monitor. It can open and use a pipe source or virtual source but not a null sink's monitor :(</span></div><div><span style="font-family:sans-serif"><br></span></div><div><span style="font-family:sans-serif">Zoltan</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 9, 2018 at 5:30 AM Daniel <<a href="mailto:windseeker@gmx.de" target="_blank">windseeker@gmx.de</a>> wrote:<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="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>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div>
</blockquote></div>