mirror of https://github.com/jetkvm/kvm.git
Add noise gate threshold at peak > 256 (-42dB) to prevent dynamic gain from amplifying quantization noise and hardware noise floor. This fixes crackling, buzzing, and static-like noise when HDMI audio is at very low volume or during silence. Without the gate, signals below -42dB (peak < 256) would get 8x gain applied, amplifying noise floor to audible levels. Now these signals pass through unmodified, eliminating the artifacts. |
||
|---|---|---|
| .. | ||
| audio.c | ||
| audio_common.c | ||
| audio_common.h | ||
| ipc_protocol.c | ||
| ipc_protocol.h | ||
| jetkvm_audio_input.c | ||
| jetkvm_audio_output.c | ||