<div dir="ltr"><div>I'm trying to share speakers with my desktop computer and Raspberry Pi 3 B+. Both machines should be able to play audio simultaneously.</div><div><br></div><div>--> is a connection that doesn't cross the boundary of a computer.</div><div>==> is a connection that occurs between two computers.</div><div><br></div><div>Anything that doesn't cross ==> occurs on my desktop computer. Anything that happens after ==> occurs on Raspberry Pi 3 B+.</div><div>netjack1 runs on my desktop computer. Ethernet cable is the only cable that connects two machines.</div><div><br></div><div>1. ALSA dmix --> SPDIF out of Realtek ALC887 onboard soundcard --> SPDIF In of X-Fi HD USB --(alsa_in or zita-a2j)--> netjack1 ==(ethernet cable)==> ALSA jack backend --> I2S Amplifier(HiFiBerry Amp2) --> Speakers</div><div>2. netjack1 --(alsa_out or zita-j2a)--> headphone jack of X-Fi HD USB on my desktop computer --> headphones</div><div><br></div><div>netjack1 can route audio to either headphones or HiFiBerry Amp2. I can control routing via a keyboard shortcut.</div><div>netjack1 can accept audio from alsa_in, zita-a2j, or just regular JACK clients like mpv.</div><div><br></div><div>Here are questions.</div><div><br></div><div>1. If SPDIF out of Realtek ALC887 onboard soundcard stops emitting clock signals, would the following audio route cause pops and clicks in alsa_out or zita-j2a?</div><div>mpv --> netjack1 --(alsa_out or zita-j2a)--> headhpone jack of X-Fi HD USB --> headphones</div><div>I suspect that if SPDIF out doesn't emit clock signals and the clock source for X-Fi HD is SPDIF, alsa_out can misbehave. If SPDIF out may not emit clock signals in the absence of audio signals, everything should be routed via SPDIF out.</div><div>2. If SPDIF out stops emitting clock signals in the absence of audio signals and starts emitting them again in the presence of audio signals, can alsa_in or alsa_out be confused and inject pops and clicks into audio?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 9, 2019 at 11:08 PM Chris Caudle <<a href="mailto:chris@chriscaudle.org">chris@chriscaudle.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, August 8, 2019 10:31 pm, crocket wrote:<br>
> If SPDIF Out stops emitting clock signals in the absence of audio signals,<br>
> would alsa_out working on the headphone jack of the USB soundcard that<br>
> gets its clock signals from SPDIF Out emit pops and clicks?<br>
<br>
The USB audio interface is getting clock from the S/PDIF input, but the<br>
audio is coming from USB, not from the S/PDIF input?<br>
Can that configuration be set with the controls available for the Sound<br>
Blaster device you mentioned?<br>
<br>
> 1. ALSA dmix(period size 512, periods 3) --> SPDIF Out of onboard<br>
> soundcard(Realtek ALC887) --> SPDIF In of Creative Sound Blaster X-Fi HD<br>
> USB --(alsa_in, period_size 512, periods 3)--> netjack1 ==(ethernet)==><br>
> ALSA jack backend --> Amplifier --> Speakers<br>
> 2. netjack1 --(alsa_out, period_size 512, periods 3)--> headphones<br>
<br>
This description is a little bit confusing regarding where the machine<br>
separations occur.<br>
<br>
So the onboard sound card is on one computer, the Sound Blaster X-Fi is<br>
connected to a second computer?  And that second computer drives speakers<br>
via the X-Fi output, and is also connected via Ethernet to a third<br>
computer?<br>
It is not clear where the netjack connection comes in, for the connection<br>
labeled  with a "2." it shows netjack to alsa-out, but it is not clear<br>
which physical interface drives the headphones.<br>
<br>
Perhaps a description of the physical connections of which computer is<br>
connected to which interface would help, along with a description again of<br>
what you are trying to achieve.   You probably described that before, but<br>
I think it has been some number of weeks, I'm not sure I could find the<br>
original email.<br>
<br>
-- <br>
Chris Caudle<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Jack-Devel mailing list<br>
<a href="mailto:Jack-Devel@lists.jackaudio.org" target="_blank">Jack-Devel@lists.jackaudio.org</a><br>
<a href="http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org" rel="noreferrer" target="_blank">http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org</a><br>
</blockquote></div>