<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 22, 2015 at 5:23 PM, Caleb Crome <span dir="ltr"><<a href="mailto:caleb@crome.org" target="_blank">caleb@crome.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
  I'm building a test application for doing bit-perfect loopback<br>
testing on my sound card drivers.  However, since jack uses floating<br>
point types, it seems that I can't get a bit-perfect data in and out<br>
from (16-bit) 0x0000 to 0xFFFF.  the LSB seems to get rounded on and<br>
off, and also it seems that jack enforces a range of  -32767 to +32767<br>
instead of -32768 to +32767 (for 16-bit audio).<br>
<br>
Is it possible that it's as simple as changing jack_default_audio_sample_t?<br></blockquote><div><br></div><div>nope.<br><br></div><div>far easier to just write your own ALSA test client. <br></div><div><br></div></div><div class="gmail_quote">i wouldn't get too deeply into this issue unless you've already read bjorn:<br><br><a href="http://blog.bjornroche.com/2009/12/int-float-int-its-jungle-out-there.html">http://blog.bjornroche.com/2009/12/int-float-int-its-jungle-out-there.html</a><br><a href="http://blog.bjornroche.com/2009/12/linearity-and-dynamic-range-in-int.html">http://blog.bjornroche.com/2009/12/linearity-and-dynamic-range-in-int.html</a><br><br></div><div class="gmail_quote">this email thread has some good stuff too:  <br><br><a href="http://lists.apple.com/archives/coreaudio-api/2009/Dec/msg00046.html">http://lists.apple.com/archives/coreaudio-api/2009/Dec/msg00046.html</a><br><br></div><div class="gmail_quote">but perhaps you've already done that :)<br></div></div></div>