[Jack-Devel] Is it possible/reasonable to change jack to an int data type?

Paul Davis paul at linuxaudiosystems.com
Thu Oct 22 23:38:18 CEST 2015

On Thu, Oct 22, 2015 at 5:23 PM, Caleb Crome <caleb at crome.org> wrote:

> Hi,
>   I'm building a test application for doing bit-perfect loopback
> testing on my sound card drivers.  However, since jack uses floating
> point types, it seems that I can't get a bit-perfect data in and out
> from (16-bit) 0x0000 to 0xFFFF.  the LSB seems to get rounded on and
> off, and also it seems that jack enforces a range of  -32767 to +32767
> instead of -32768 to +32767 (for 16-bit audio).
> Is it possible that it's as simple as changing jack_default_audio_sample_t?


far easier to just write your own ALSA test client.

i wouldn't get too deeply into this issue unless you've already read bjorn:


this email thread has some good stuff too:


but perhaps you've already done that :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/jackaudio/attachments/20151022/70fc8fe4/attachment.html>

More information about the Jackaudio mailing list