kvm/ui/src/components
Alex P 8caa5fc188 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
..
extensions Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
popovers refactor: Remove subprocess audio infrastructure, use CGO-only 2025-10-07 13:34:03 +03:00
sidebar Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
ActionBar.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
AuthLayout.tsx Upgrade vite and react-router (#778) 2025-09-04 12:20:01 +02:00
AutoHeight.tsx refactor: network settings UI (#486) 2025-05-20 15:22:08 +02:00
Button.tsx Upgrade vite and react-router (#778) 2025-09-04 12:20:01 +02:00
Card.tsx chore(ui): Patch-bump packages and use tailwind upgrade (#456) 2025-05-16 19:59:57 +02:00
CardHeader.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
Checkbox.tsx refactor: network settings UI (#486) 2025-05-20 15:22:08 +02:00
Combobox.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
ConfirmDialog.tsx feat: add local web server loopback mode configuration (#511) 2025-05-27 17:28:51 +02:00
Container.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
CustomTooltip.tsx Enhance connection stats sidebar (#748) 2025-09-08 10:59:36 +02:00
DhcpLeaseCard.tsx refactor: network settings UI (#486) 2025-05-20 15:22:08 +02:00
EmptyCard.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
ExtLink.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
FeatureFlag.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
FieldLabel.tsx Added crontab scheduler for jiggler (#316) 2025-08-24 22:54:26 +00:00
Fieldset.tsx Upgrade vite and react-router (#778) 2025-09-04 12:20:01 +02:00
GridBackground.tsx refactor: Migrate from tailwind.js config to Tailwind CSS config (#451) 2025-05-15 17:13:16 +02:00
Header.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
Icons.tsx Release 202412292127 2024-12-29 21:27:42 +01:00
InfoBar.tsx feat: send all paste keystrokes to backend (#789) 2025-09-18 13:00:57 +02:00
InputField.tsx Added crontab scheduler for jiggler (#316) 2025-08-24 22:54:26 +00:00
Ipv6NetworkCard.tsx feat: Adds IPv6 disabling feature (#803) 2025-09-16 12:44:56 +02:00
JigglerSetting.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
KvmCard.tsx fix(ui): Don't render a button in a button (#782) 2025-09-08 11:06:08 +02:00
LoadingSpinner.tsx chore: Upgrade UI vite and tailwind packages (#443) 2025-05-15 14:21:03 +02:00
MacroBar.tsx fix: useJsonRpc "any" issue 2025-08-24 22:58:35 +00:00
MacroForm.tsx Add ability to track modifier state on the device (#725) 2025-08-26 17:09:35 +02:00
MacroStepCard.tsx Update UI dependencies (#819) 2025-09-24 12:16:02 +02:00
Metric.tsx Enhance connection stats sidebar (#748) 2025-09-08 10:59:36 +02:00
MetricsChart.tsx Enhance connection stats sidebar (#748) 2025-09-08 10:59:36 +02:00
Modal.tsx refactor: network settings UI (#486) 2025-05-20 15:22:08 +02:00
NotFoundPage.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
PeerConnectionStatusCard.tsx Improve error handling when `RTCPeerConnection` throws (#289) 2025-03-25 14:54:04 +01:00
SelectMenuBasic.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
SettingsItem.tsx Fix the lazy loading for the settings page. (#837) 2025-10-01 11:43:15 +02:00
SettingsNestedSection.tsx Added crontab scheduler for jiggler (#316) 2025-08-24 22:54:26 +00:00
SettingsPageheader.tsx Move settings to modals & better modal handling (#194) 2025-02-27 16:48:50 +01:00
SettingsSectionHeader.tsx Move settings to modals & better modal handling (#194) 2025-02-27 16:48:50 +01:00
SidebarHeader.tsx Release 202412292127 2024-12-29 21:27:42 +01:00
SimpleNavbar.tsx Upgrade vite and react-router (#778) 2025-09-04 12:20:01 +02:00
StatusCards.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
StepCounter.tsx chore(ui): Patch-bump packages and use tailwind upgrade (#456) 2025-05-16 19:59:57 +02:00
Terminal.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
TextArea.tsx chore: Upgrade UI vite and tailwind packages (#443) 2025-05-15 14:21:03 +02:00
USBStateStatus.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
UpdateInProgressStatusCard.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
UsbDeviceSetting.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
UsbInfoSetting.tsx Fix the lazy loading for the settings page. (#837) 2025-10-01 11:43:15 +02:00
VideoOverlay.tsx fix(ui): Fix full-screen keyboard lock issues. (#535) 2025-06-03 01:28:35 +02:00
VirtualKeyboard.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00
WebRTCVideo.tsx Refactor: Simplify / rewrite Audio 2025-10-06 21:59:44 +03:00