mirror of https://github.com/jetkvm/kvm.git
Use snd_pcm_hw_params_set_rate_resample(1) to enable ALSA's rate plugin, which provides software resampling even with hw: device interface. This fixes audio distortion when HDMI sources output non-48kHz rates (e.g., 44.1kHz from SBCs). ALSA now automatically resamples any input rate to the configured 48kHz that Opus expects. The rate plugin is available because ALSA is compiled with --with-pcm-plugins=rate in install_audio_deps.sh |
||
|---|---|---|
| .. | ||
| audio | ||
| confparser | ||
| hidrpc | ||
| logging | ||
| mdns | ||
| native | ||
| network/types | ||
| ota | ||
| supervisor | ||
| sync | ||
| timesync | ||
| tzdata | ||
| usbgadget | ||
| utils | ||
| websecure | ||