kvm/internal
Alex P db2dc88250 Fix HDMI audio sample rate detection for non-48kHz sources
Query TC358743 HDMI receiver for detected audio sample rate before
initializing ALSA capture device. This fixes distortion issues when
HDMI sources send 44.1kHz audio (e.g., Armbian SBC) instead of 48kHz.

Previously, the code always requested 48kHz from ALSA, but in I2S slave
mode, the RV1106 I2S controller receives whatever clock rate the TC358743
master provides. This caused a sample rate mismatch where ALSA thought
it was 48kHz but hardware was actually running at 44.1kHz, resulting in
incorrect SpeexDSP resampling and audio distortion.

Changes:
- Add V4L2 ioctl to query TC358743's audio_sampling_rate control
- Use detected rate when configuring ALSA (falls back to 48kHz if unavailable)
- SpeexDSP resampler now gets correct input rate (44.1k, 48k, etc.)
- Supports all HDMI audio sample rates: 32k, 44.1k, 48k, 88.2k, 96k, etc.
2025-11-24 19:25:27 +02:00
..
audio Fix HDMI audio sample rate detection for non-48kHz sources 2025-11-24 19:25:27 +02:00
confparser feat: refactoring network stack (#878) 2025-10-15 18:32:58 +02:00
hidrpc feat: release keyPress automatically (#796) 2025-09-18 13:35:47 +02:00
logging feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
mdns feat: refactoring network stack (#878) 2025-10-15 18:32:58 +02:00
native Update DefaultEDID to force 60Hz video output 2025-11-24 18:06:15 +02:00
network/types chore: make udhcpc the default DHCP client (#990) 2025-11-20 16:48:07 +01:00
ota refactor: OTA (#912) 2025-11-19 15:20:59 +01:00
supervisor feat: add failsafe reason for video max restart attempts reached (#991) 2025-11-20 17:32:54 +01:00
sync feat: refactoring network stack (#878) 2025-10-15 18:32:58 +02:00
timesync feat: refactoring network stack (#878) 2025-10-15 18:32:58 +02:00
tzdata Refactor audio subsystem for improved maintainability 2025-11-19 13:42:51 +02:00
usbgadget Simplify audio configuration and error handling 2025-11-21 00:54:32 +02:00
utils feat: move native to a separate process, again (#964) 2025-11-19 16:02:37 +01:00
websecure feat(websecure): add support for ed25519 certificates (#513) 2025-05-25 11:09:58 +02:00