<div dir="ltr">This audio setup seems to work flawlessly without pops and clicks, but I have to test it for a month to be sure.<div><br></div><div>On My desktop computer:</div><div>1. ALSA applications --> ALSA dmix (period_size 512, periods 3) --> SPDIF optical output of Realtek ALC887 onboard soundcard --> SPDIF optical input of Creative Sound Blaster X-Fi HD SB1240 --(zita-a2j -p 128 -n 3)--> jackd -P 90 -d netone -p 256 -n 3</div><div>2. jackd -P 90 -d netone -p 256 -n 3 --(zita-j2a -p 128 -n 3)--> headphone jack of Creative Sound Blaster X-Fi HD SB1240 --> headphones</div><div>3. JACK clients such as mpv and firefox --> jackd -P 90 -d netone -p 256 -n 3</div><div><br></div><div>On Raspberry Pi 3 B+:</div><div>1. jackd -P 90 -d netone -p 256 -n 3 from my desktop computer ==(ethernet cable)==> jack_netsource -n 3 -H ip_address_of_my_desktop_computer --> jackd -P 90 -d alsa -p 256 -n 2 --> HiFiBerry Amp2 --> passive speakers</div><div>2. JACK clients such as mpd --> jackd -d alsa -p 256 -n 2 --> HiFiBerry Amp2 --> passive speakers</div><div><br></div><div>The end result is that my desktop computer and Raspberry Pi 3 B+ share a pair of passive speakers and that my desktop computer can switch between passive speakers and headphones.</div><div>On my desktop computer, a keyboard shortcut commands jack connection manager to switch between speaker mode and headphone mode.</div><div>I wrote my own jack connection manager in python.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 9, 2019 at 7:10 AM crocket <<a href="mailto:crockabiscuit@gmail.com">crockabiscuit@gmail.com</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"><div dir="ltr">Does it?<div><br></div><div>Does changing clock source to internal clock or SPDIF make any difference on pops and clicks?</div></div>
</blockquote></div>