mirror of https://github.com/jetkvm/kvm.git
USB Audio Gadget (hw:1,0) hardware only supports 48kHz for both capture and playback due to configfs p_srate/c_srate being hardcoded. This commit ensures both audio paths respect this hardware limitation: - Output path: Force 48kHz when using hw:1,0, allow configurable rates for HDMI - Input path: Always use 48kHz regardless of UI configuration - Calculate frame size dynamically based on actual sample rate used Also removes redundant comments that don't add debugging or maintainability value. |
||
|---|---|---|
| .. | ||
| audio | ||
| confparser | ||
| hidrpc | ||
| logging | ||
| mdns | ||
| native | ||
| network/types | ||
| ota | ||
| supervisor | ||
| sync | ||
| timesync | ||
| tzdata | ||
| usbgadget | ||
| utils | ||
| websecure | ||