<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 want to test how zita-ajbridge behaves when there is a drift in clock.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
Any idea how to artificially create clock drift for testing purpose.</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);">
Any test code available in Jack audio.<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);">
-ben<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 Chris Caudle <chris@chriscaudle.org><br>
<b>Sent:</b> Monday, January 15, 2018 9:58 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">On Mon, January 15, 2018 10:13 am, Benny Alexandar wrote:<br>
> I want both PC and USB sound card ports to be accessed at the same time.<br>
<br>
The design of jackd (really any sound server) requires it to be<br>
synchronized to the sampling clock of the interface, and since your two<br>
interfaces are not synchronized to each other then jackd cannot use both<br>
at the same time without some intervention.<br>
<br>
Using two  at the same time requires choosing one card to the be the main<br>
backend device, then loading a sample rate converter to make the sample<br>
stream rate to and from the secondary card(s) match exactly that of the<br>
main card.<br>
<br>
The packages you want are zita-alsa2jack and zita-jack2alsa, in Fedora<br>
both come together in a package named zita-ajbridge.<br>
This is covered in the jack FAQ, which needs to be updated, the section<br>
describing alsa_in and alsa_out bridges is the relevant section, but those<br>
older implementations had some problems, the zita bridges are higher<br>
quality replacements.<br>
<a href="http://jackaudio.org/faq/multiple_devices.html">http://jackaudio.org/faq/multiple_devices.html</a><br>
<br>
The zita tools are included in the audio aware distributions, if you are<br>
using a distribution which does not package them for some reason you can<br>
get them along with the other zita applications here:<br>
<a href="https://kokkinizita.linuxaudio.org/linuxaudio/">https://kokkinizita.linuxaudio.org/linuxaudio/</a><br>
<br>
The jackd v1 implementation includes the equivalent of the zita bridges<br>
internally, they need to be enabled from the command line but not loaded<br>
as an external component.  The jackd v2 implementation (I think you said<br>
you were using jackd 1.9.12, that is considered jackd v2) does not yet<br>
include the zita bridges as part of the server, you will need to load them<br>
externally.<br>
<br>
-- <br>
Chris Caudle<br>
<br>
<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>