mirror of https://github.com/jetkvm/kvm.git
Implements SIMD-optimized soft-clipping before Opus encoding to prevent digital clipping distortion on sharp transient attacks (e.g., plastic cup impacts, percussive sounds). Uses smooth saturation curve starting at ±30720 (~94% of max amplitude) to preserve audio quality while eliminating crackles and pops. Processes 8 samples per iteration using ARM NEON intrinsics for optimal performance on the ARM Cortex-A7 platform. |
||
|---|---|---|
| .. | ||
| audio.c | ||
| audio_common.c | ||
| audio_common.h | ||