Re: Does alsa_in reading from SPDIF input inject pops and clicks?

crocket <[email protected]> Tue, 13 Aug 2019 21:09:08 +0900
Newsgroups gmane.comp.audio.jackit
Message-ID <CAL0=0H2fv8kAjWbtjsxZV73HJ_PpxEXoe8cE75sLGETQaCYhgg@mail.gmail.com>
--===============5954109446787315890==
Content-Type: multipart/alternative; boundary="0000000000009f786e058ffe82e8"

--0000000000009f786e058ffe82e8
Content-Type: text/plain; charset="UTF-8"

This audio setup seems to work flawlessly without pops and clicks, but I
have to test it for a month to be sure.

On My desktop computer:
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
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
3. JACK clients such as mpv and firefox --> jackd -P 90 -d netone -p 256 -n
3

On Raspberry Pi 3 B+:
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
2. JACK clients such as mpd --> jackd -d alsa -p 256 -n 2 --> HiFiBerry
Amp2 --> passive speakers

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.
On my desktop computer, a keyboard shortcut commands jack connection
manager to switch between speaker mode and headphone mode.
I wrote my own jack connection manager in python.

On Fri, Aug 9, 2019 at 7:10 AM crocket <[email protected]> wrote:

> Does it?
>
> Does changing clock source to internal clock or SPDIF make any difference
> on pops and clicks?
>

--0000000000009f786e058ffe82e8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"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>O=
n My desktop computer:</div><div>1. ALSA applications --&gt; ALSA dmix (per=
iod_size 512, periods 3) --&gt; SPDIF optical output of Realtek ALC887 onbo=
ard soundcard --&gt; SPDIF optical input of Creative Sound Blaster X-Fi HD =
SB1240 --(zita-a2j -p 128 -n 3)--&gt; jackd -P 90 -d netone -p 256 -n 3</di=
v><div>2. jackd -P 90 -d netone -p 256 -n 3 --(zita-j2a -p 128 -n 3)--&gt; =
headphone jack of Creative Sound Blaster X-Fi HD SB1240 --&gt; headphones</=
div><div>3. JACK clients such as mpv and firefox --&gt; jackd -P 90 -d neto=
ne -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 =3D=3D(ethernet =
cable)=3D=3D&gt; jack_netsource -n 3 -H ip_address_of_my_desktop_computer -=
-&gt; jackd -P 90 -d alsa -p 256 -n 2 --&gt; HiFiBerry Amp2 --&gt; passive =
speakers</div><div>2. JACK clients such as mpd --&gt; jackd -d alsa -p 256 =
-n 2 --&gt; HiFiBerry Amp2 --&gt; passive speakers</div><div><br></div><div=
>The end result is that my desktop computer and Raspberry Pi 3 B+ share a p=
air of passive speakers and that my desktop computer can switch between pas=
sive speakers and headphones.</div><div>On my desktop computer, a keyboard =
shortcut commands jack connection manager to switch between speaker mode an=
d headphone mode.</div><div>I wrote my own jack connection manager in pytho=
n.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai=
l_attr">On Fri, Aug 9, 2019 at 7:10 AM crocket &lt;<a href=3D"mailto:crocka=
[email protected]">[email protected]</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex"><div dir=3D"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>

--0000000000009f786e058ffe82e8--

--===============5954109446787315890==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Jack-Devel mailing list
[email protected]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

--===============5954109446787315890==--