[LAD] Clipping outputs

Gabriel M. Beddingfield gabrbedd at gmail.com
Thu Aug 19 18:34:57 UTC 2010


Hi guys,

Is it necc. for me to clamp my audio outputs to [-1.0, 1.0]?

Somewhere I got it in my head that I need to clip my output 
signal (float*) to the range [-1.0, 1.0] before sending my 
audio signals downstream.

However, this is a big time waster.  When I review other 
projects for efficient ways to clip... I can't find any.[1] 
Looks like nobody's doing it.

Thanks,
Gabriel

[1] I found one in ardour, but it looks like it's just
     for float->int conversion, and (possibly) not even
     utilized within ardour.



More information about the Linux-audio-dev mailing list