<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
I downloaded  ajbridge (<a href="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-ajbridge-0.7.0.tar.bz2">zita-ajbridge-0.7.0.tar.bz2 )   
<br>
</a></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
, resampler version 1.6  and   alsa-pcmi version 0.2.0 <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
and built all successfully. <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
However while running zita-a2j I got the following error.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
$zita-a2j: error while loading shared libraries: libzita-resampler.so.1: cannot open shared object file: No such file or directory
<div><br>
</div>
When checked the installation message, it says it installed under /usr/local/lib64</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<div>install -d /usr/local/include/zita-resampler</div>
<div>install -d /usr/local/lib64</div>
<div>install -m 644 zita-resampler/resampler.h zita-resampler/resampler-table.h zita-resampler/vresampler.h zita-resampler/cresampler.h /usr/local/include/zita-resampler</div>
<div>install -m 644 libzita-resampler.so.1.6.0 /usr/local/lib64</div>
<div>ln -sf libzita-resampler.so.1.6.0 /usr/local/lib64/libzita-resampler.so</div>
<div>ldconfig<br>
</div>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
So, I modified the  /etc/ld.so.conf file and added the path for lib64 <br>
<div>/usr/local/lib</div>
<div>/usr/local/lib64</div>
<div><br>
</div>
<div>Then, things started to work. <br>
</div>
<div><br>
</div>
<div>Now, I connected USB sound card and it shows the sound card as follows,</div>
<div><br>
</div>
<div>
<div>cat /proc/asound/cards </div>
<div> 0 [PCH            ]: HDA-Intel - HDA Intel PCH</div>
<div>                      HDA Intel PCH at 0xf7d30000 irq 35</div>
<div> 1 [HD             ]: USB-Audio - USB Sound Blaster HD</div>
<div>                      Creative Technology USB Sound Blaster HD at usb-0000:00:14.0-2, full speed</div>
<div><br>
</div>
</div>
<div>After starting jack server  using qjackctl, opened terminal and <br>
</div>
<div>ran the following cmd</div>
<div><br>
</div>
<div>$zita-a2j -d hw:HD  -p 1056  -v</div>
<div><br>
</div>
<div>Then in qjackctl connected the graph as shown in the attached picture. <br>
</div>
<div>USB sound card input (line-in) is connected to an audio output from other PC.</div>
<div>But I can't hear the audio using zita-j2a.<br>
</div>
<div>I mean audio was not heard in PC where zita-j2a is running. <br>
</div>
<div><br>
</div>
<div>Anything wrong in the connections, how to debug and check why</div>
<div>no audio is heard.</div>
<div><br>
</div>
<div>-ben<br>
</div>
<div><br>
</div>
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Jack-Devel <jack-devel-bounces@lists.jackaudio.org> on behalf of David Kastrup <dak@gnu.org><br>
<b>Sent:</b> Wednesday, January 24, 2018 5:26 PM<br>
<b>To:</b> jack-devel@lists.jackaudio.org<br>
<b>Subject:</b> Re: [Jack-Devel] Using USB sound card with Jack</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Fons Adriaensen <fons@linuxaudio.org> writes:<br>
<br>
> On Tue, Jan 23, 2018 at 04:12:16PM +0000, Benny Alexandar wrote:<br>
>> <br>
>> >> The simple way to test ajbridge is to measure the delay<br>
>> of a loop through both soundcards, using e.g. jack_delay.<br>
>> <br>
>> How to measure the delay between two sound cards ?<br>
>> What does the jack_delay measures, the delay between<br>
>> what and what ?<br>
><br>
> 1. Read available documentation.<br>
> 2. Think.<br>
> 3. If after (1) and (2) some things remain unclear proceed to (4).<br>
> 4. Ask questions on mailing lists.<br>
><br>
> You have a habit of skipping the first three. That is getting<br>
> on my nerves, and not only on mine.<br>
<br>
Well, to be fair it is hard to interpret the results of just trying, and<br>
"available documentation" could be better in many cases.  It's pretty<br>
exhaustive in the case of jack_delay's man page I'll admit (though the<br>
need to differentiate between JACK1 and JACK2 and various behaviors is<br>
really good for a head ache, requiring more of 2. than users might have<br>
readily available, probably hard for an insider to the program to<br>
fathom).<br>
<br>
On the LilyPond (batch music typesetter with plain text input language)<br>
user list I often get puzzled at requests of the "can I do this" kind of<br>
questions where one wants to shout "why don't you ask LilyPond?".  Some<br>
people seem more comfortable risking annoying another human rather than<br>
annoying a program.<br>
<br>
At least with regard to latencies it is rather tricky to "just try".<br>
<br>
-- <br>
David Kastrup<br>
_______________________________________________<br>
Jack-Devel mailing list<br>
Jack-Devel@lists.jackaudio.org<br>
<a href="http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org">http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org</a><br>
</div>
</span></font></div>
</body>
</html>