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. |
||
|---|---|---|
| .. | ||
| localization | ||
| public | ||
| src | ||
| tools | ||
| .env.cloud-development | ||
| .env.cloud-production | ||
| .env.cloud-staging | ||
| .gitignore | ||
| .prettierrc | ||
| dev_device.sh | ||
| eslint.config.cjs | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite-env.d.ts | ||
| vite.config.ts | ||