[LAD] Clipping outputs

Erik de Castro Lopo mle+la at mega-nerd.com
Thu Aug 19 21:26:17 UTC 2010


Arnold Krille wrote:

> No, just send your data out as is. The [-1, 1] limit only applies for jack 
> when the float audio is converted to whatever bitdepth-integer your soundcard 
> uses.

Not just Jack, any code path where float data is converted to
a finite width integer.

Regardless of where the float to integer conversion takes place
(Jack, Alsa etc) it is at the conversion stage that the clipping
needs to be done.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Linux-audio-dev mailing list