[LAD] Clipping outputs

From: Gabriel M. Beddingfield <gabrbedd@email-addr-hidden>
Date: Thu Aug 19 2010 - 21:34:57 EEST

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.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Aug 20 00:15:02 2010

This archive was generated by hypermail 2.1.8 : Fri Aug 20 2010 - 00:15:02 EEST