Marc Brooks
785a68d923
chore(ui)/package upgrades ( #724 )
...
| Package | From | To |
| -------------------------------- | ----------- | ------------ |
| @headlessui/react | 2.2.4 | 2.2.7 |
| framer-motion | 12.23.3 | 12.23.12 |
| react | 19.1.0 | 19.1.1 |
| react-dom | 19.1.0 | 19.1.1 |
| react-simple-keyboard | 3.8.93 | 3.8.106 |
|@eslint/js | 9.30.1 | 9.32.0 |
| @types/react | 19.1.8 | 19.1.9 |
| @types/react-dom | 19.1.8 | 19.1.9 |
|eslint | 9.30.1 | 9.32.0 |
|eslint-config-prettier | 10.1.5 | 10.1.8 |
| typescript | 5.8.3 | 5.9.2 |
2025-08-24 22:54:26 +00:00
Alex P
57b7bafcc1
feat(audio): implement comprehensive audio optimization system
...
- Add AdaptiveOptimizer for real-time parameter adjustment based on latency metrics
- Add AdaptiveBufferConfig for dynamic buffer sizing based on system load
- Implement BatchAudioProcessor for reduced CGO call overhead
- Add AudioBufferPool with sync.Pool for optimized memory allocation
- Implement LatencyMonitor with exponential moving averages
- Add MemoryMetrics for comprehensive memory usage tracking
- Implement PriorityScheduler with SCHED_FIFO for real-time audio processing
- Add zero-copy operations to minimize memory copying in audio pipeline
- Enhance IPC architecture with intelligent frame dropping
- Add comprehensive Prometheus metrics for performance monitoring
- Implement triple-goroutine architecture for audio input processing
- Add adaptive buffering and performance feedback loops
2025-08-24 22:33:49 +00:00
Alex P
88679cda2f
refactor(audio): improve process monitoring with dynamic clock ticks
...
- Extract monitoring constants and configuration into centralized locations
- Implement dynamic clock ticks detection for more accurate CPU metrics
- Add warmup samples and bounds checking for CPU percentage calculation
- Replace hardcoded values with constants for better maintainability
2025-08-23 23:35:38 +00:00
Alex P
76174f4486
refactor(audio): improve performance and simplify code structure
...
- Move audio server logic to dedicated package and simplify main.go
- Optimize buffer pool implementation and remove redundant logging
- Improve process monitoring with synchronized metrics updates
- Enhance microphone contention manager with simplified logic
- Replace mutex with atomic operations for metrics tracking
2025-08-23 22:54:01 +00:00
Alex P
27a999c58a
[WIP] Updates: audio output & input subprocesses memory & cpu usage
2025-08-23 21:51:24 +00:00
Alex P
ddc2f90016
[WIP] Updates: audio output & input subprocesses memory & cpu usage
2025-08-23 21:36:57 +00:00
Alex P
692f7ddb2d
[WIP] Updates: audio output & input subprocesses memory & cpu usage
2025-08-23 21:19:28 +00:00
Alex P
38ad145863
[WIP] Updates: audio output & input subprocesses memory & cpu usage
2025-08-23 21:06:02 +00:00
Alex P
879ea5e472
Fix: fix audio input by reverting change
2025-08-23 16:41:45 +00:00
Alex P
2082b1a671
refactor(audio): rename audio-server flag to audio-output-server for clarity
...
docs: update development documentation with new make targets
refactor: simplify audio quality presets implementation
style: remove redundant comments and align error handling
chore: add lint-ui-fix target to Makefile
2025-08-23 12:18:33 +00:00
Alex P
5e28a6c429
feat(audio): add system memory endpoint and process metrics monitoring
...
- Add new /system/memory endpoint to expose total system memory
- Implement process metrics collection for audio and microphone processes
- Update UI to display real-time process metrics with charts
- Replace environment variable check with CLI flag for audio input server
- Improve audio metrics broadcasting with 1-second intervals
- Add memory usage capping for CPU percentage metrics
2025-08-23 11:41:03 +00:00
Alex P
0e1c896aa2
Fix: go lint errors
2025-08-22 23:23:07 +00:00
Alex P
0ed84257f6
Improvements, Fixes: enhanced audio metrics (including prometheus format), fixed lint errors
2025-08-22 23:20:22 +00:00
Alex P
32055f5762
Cleanup: remove polling fallback for /audio/mute status
2025-08-22 22:54:05 +00:00
Alex P
97bcb3c1ea
Fix: linter errors
2025-08-22 22:29:48 +00:00
Alex P
6ecb829334
Fix: linter errors
2025-08-22 22:28:15 +00:00
Alex P
e360348829
Fix: linter errors
2025-08-22 22:26:15 +00:00
Alex P
1e1677b35a
Fix: linter errors
2025-08-22 22:23:50 +00:00
Alex P
3c1e9b8dc2
Fix: audio subprocess handling, avg atency audio metric
2025-08-22 22:21:41 +00:00
Alex P
62d4ec2f89
Fix: audio subprocess handling
2025-08-22 22:17:27 +00:00
Alex P
aeb7a12c72
Fix: linting errors
2025-08-22 22:07:35 +00:00
Alex P
671d875890
Fix: literal /home/vscode in cache paths
2025-08-22 21:49:15 +00:00
Alex P
7129bd5521
Fix: workflow indentation
2025-08-22 21:43:51 +00:00
Alex P
bd4fbef6dc
Tweak: steps order
2025-08-22 21:43:17 +00:00
Alex P
b3373e56de
Improvement: use cache save/restore actions
2025-08-22 21:41:44 +00:00
Alex P
73e8897fc3
Improvement: Automatically invalidate cache
2025-08-22 21:37:53 +00:00
Alex P
de0077a351
Fix: always save cache
2025-08-22 21:34:27 +00:00
Alex P
4875c243d3
Fix: Lint env vars
2025-08-22 21:30:24 +00:00
Alex P
071129a9ec
Fix: use absolute path for caching
2025-08-22 21:26:37 +00:00
Alex P
dee8a0b5a1
Fix: golangci-lint
2025-08-22 21:21:09 +00:00
Alex P
a976ce1da9
Updates: set LDFLAGS and CFLAGS for the lint steps
2025-08-22 21:15:25 +00:00
Alex P
d5295d0e4b
Updates: golangci-lint workflow
2025-08-22 21:06:40 +00:00
Alex P
423d5775e3
[WIP] Performance Enhancements: move audion processing into a separate process
2025-08-22 12:04:30 +00:00
Adam Shiervani
7e83015932
refactor(vite.config): fix local ui development proxy
2025-08-13 18:53:30 +02:00
Alex P
629cdf59a7
perf(audio): optimize audio processing with batching and atomic operations
...
- Implement batch audio processing to reduce CGO overhead
- Replace mutexes with atomic operations for contention management
- Add buffer pooling to reduce allocations
- Optimize microphone operation cooldown with lock-free approach
- Improve error handling with pre-allocated error objects
2025-08-13 14:49:08 +00:00
Alex P
767311ec04
[WIP] Fix: performance issues
2025-08-13 11:35:11 +00:00
Alex P
c51bdc50b5
Fix: linter errors
2025-08-12 13:59:21 +00:00
Alex P
1f2c46230c
build(audio): update cgo LDFLAGS to use env vars for library versions
2025-08-12 13:35:39 +00:00
Alex P
4688f9e6ca
perf(build): add ARM Cortex-A7 optimization flags for audio builds
...
Add compiler optimization flags targeting ARM Cortex-A7 with NEON support
to improve performance of audio library builds and Go binaries. The flags
enable vectorization, fast math, and loop unrolling for better execution
speed on the target hardware.
2025-08-12 11:20:19 +00:00
Alex P
a9a92c52ab
feat(rpc): optimize input handling with direct path for performance
...
perf(audio): make audio library versions configurable in build
test(input): add comprehensive tests for input RPC validation
2025-08-12 10:56:09 +00:00
Alex P
4b693b4279
perf(usbgadget): reduce input latency by pre-opening HID files and removing throttling
...
Pre-open HID files during initialization to minimize I/O overhead during operation. Remove mouse event throttling mechanism to improve input responsiveness. Keep HID files open on write errors to avoid repeated file operations.
2025-08-12 10:07:58 +00:00
Alex P
5f905e7eee
Fix: session duplication detection, dev_deploy.sh script
2025-08-07 10:12:50 +00:00
Alex P
94ca3fa3f4
Stability: prevent race condition when clicking on Mic Start, Stop buttons in quick succession
2025-08-05 09:02:21 +03:00
Alex P
3c1f96d49c
Separation of Concerns: Move the audio-related code into the audio internal package
2025-08-05 02:04:37 +03:00
Alex P
a208715cc6
Fix: goimports
2025-08-05 01:49:09 +03:00
Alex P
638d08cdc5
Fix: goimports
2025-08-05 01:47:50 +03:00
Alex P
520c218598
Efficiency Improvements: Switch to websocket-based communication for audio metrics & status
2025-08-05 01:43:58 +03:00
Alex P
3158ca59f7
Finetuning: further perf. tunning
2025-08-05 01:05:06 +03:00
Alex P
612dca3fca
Fix: eslint errors
2025-08-05 00:17:08 +03:00
Alex P
3444607021
Improvements, Fixes: reduce mouse lag when audio is on
2025-08-04 23:29:47 +03:00