Files
UltraGrid/src/audio/utils.cpp
Martin Piatka 9d440a15e3 audio_utils: float2int: clamp input to valid range
This avoids pops and buzzing caused by integer overflow when the input
sample falls outside of the range [-1.0, 1.0] (I encountered this when
using jack capture).
2021-04-06 16:43:28 +02:00

14 KiB