kvm/ui/src
Alex P bb5634be58 refactor: Remove subprocess audio infrastructure, use CGO-only
Remove all subprocess-based audio code to simplify the audio system and
reduce complexity. Audio now uses CGO in-process mode exclusively.

Changes:
- Remove subprocess mode: Deleted Supervisor, IPCSource, embed.go
- Remove audio mode selection from UI (Settings → Audio)
- Remove audio mode from backend config (AudioMode field)
- Remove JSON-RPC handlers: getAudioMode/setAudioMode
- Remove Makefile targets: build_audio_output/input/binaries
- Remove standalone C binaries: jetkvm_audio_{input,output}.c
- Remove IPC protocol implementation: ipc_protocol.{c,h}
- Remove unused IPC functions from audio_common.{c,h}
- Simplify audio.go: startAudio() instead of startAudioSubprocesses()
- Update all function calls and comments to remove subprocess references
- Add constants to cgo_source.go (ipcMaxFrameSize, ipcMsgTypeOpus)
- Keep update_opus_encoder_params() for potential future runtime config

Benefits:
- Simpler codebase: -1,734 lines of code
- Better performance: No IPC overhead on embedded hardware
- Easier maintenance: Single audio implementation
- Smaller binary: No embedded audio subprocess binaries

The audio system now works exclusively via CGO direct C function calls,
with ALSA device selection (HDMI vs USB) still configurable via settings.
2025-10-07 13:34:03 +03:00
..
assets Update UI dependencies (#819) 2025-09-24 12:16:02 +02:00
components refactor: Remove subprocess audio infrastructure, use CGO-only 2025-10-07 13:34:03 +03:00
constants Add keyboard macros (#305) 2025-04-11 00:43:46 +02:00
hooks refactor: Remove subprocess audio infrastructure, use CGO-only 2025-10-07 13:34:03 +03:00
keyboardLayouts Add da_DK keyboard Layout (#839) 2025-09-30 14:27:17 +02:00
providers Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
routes refactor: Remove subprocess audio infrastructure, use CGO-only 2025-10-07 13:34:03 +03:00
api.ts Release 202412292127 2024-12-29 21:27:42 +01:00
cva.config.ts Release 202412292127 2024-12-29 21:27:42 +01:00
index.css Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
keyboardLayouts.ts Add da_DK keyboard Layout (#839) 2025-09-30 14:27:17 +02:00
keyboardMappings.ts Clean up Virtual Keyboard styling (#761) 2025-09-03 11:33:07 +02:00
main.tsx [WIP] Updates: support in-process mode 2025-10-07 10:17:06 +03:00
notifications.tsx chore(ui): Patch-bump packages and use tailwind upgrade (#456) 2025-05-16 19:59:57 +02:00
root.tsx Upgrade vite and react-router (#778) 2025-09-04 12:20:01 +02:00
ui.config.ts Cleanup: PR Comments 2025-10-07 11:14:16 +03:00
utils.ts Enhance connection stats sidebar (#748) 2025-09-08 10:59:36 +02:00
webrtc.d.ts Release 202412292127 2024-12-29 21:27:42 +01:00