mirror of https://github.com/jetkvm/kvm.git
The sample rate cannot be configured by users - it's determined by the audio source (HDMI device or USB gadget client). The previous UI gave the false impression that users could select a sample rate, but the value was always overridden by hardware detection. Changes: - Convert sample rate UI from dropdown to read-only display - Show "(auto-detected from source)" label next to the value - Remove sampleRate parameter from setAudioConfig RPC - Update translations to clarify auto-detection - Backend sample rate validation remains for backwards compatibility The C code now automatically detects and adapts to whatever rate the hardware supports, creating the Opus encoder/decoder with matching parameters to eliminate pitch/speed distortion. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| constants | ||
| hooks | ||
| keyboardLayouts | ||
| providers | ||
| routes | ||
| utils | ||
| api.ts | ||
| cva.config.ts | ||
| index.css | ||
| keyboardLayouts.ts | ||
| keyboardMappings.ts | ||
| main.tsx | ||
| notifications.tsx | ||
| root.tsx | ||
| ui.config.ts | ||
| utils.ts | ||
| webrtc.d.ts | ||