Alex P
f2edfa66f0
[WIP] Cleanup: PR Cleanup
2025-09-20 00:54:14 +03:00
Alex P
432303e228
[WIP] Cleanup: PR Cleanup
2025-09-20 00:21:09 +03:00
Alex P
140a803ccf
perf(audio): add ARM NEON SIMD optimizations for audio processing
...
Implement SIMD-optimized audio operations using ARM NEON for Cortex-A7 targets
Update Makefile and CI configuration to support NEON compilation flags
Add SIMD implementations for common audio operations including:
- Sample clearing and interleaving
- Volume scaling and format conversion
- Channel manipulation and balance adjustment
- Endianness swapping and prefetching
2025-09-16 18:18:19 +00:00
Alex P
eca3c52513
PR Review Optimization: As recommended, use ternary operators instead of if/else for better readability
2025-09-16 16:17:56 +03:00
Alex P
55bcfb5a22
Consistency: keep if block multi-line
2025-09-16 16:08:16 +03:00
Alex P
0027001390
Cleanup: removed redundant code
2025-09-16 16:03:20 +03:00
Alex P
caa0a60ebb
Cleanup: removed redundant code
2025-09-16 16:00:55 +03:00
Alex P
a5fb3bf30c
Fix: remove misplaced const
2025-09-16 15:52:53 +03:00
Alex P
26e71806cb
Cleanup, Optimizations: Small aaudio optimizations
2025-09-16 15:46:55 +03:00
Alex P
2f7bf55f22
Cleanup, Optimizations: Small aaudio optimizations
2025-09-16 15:45:03 +03:00
Alex P
8a3f1b6c32
Cleanup, Optimizations: Small aaudio optimizations
2025-09-16 15:37:23 +03:00
Alex P
7ffb9e1d59
Cleanup: removed redundant code, comments, etc.
2025-09-16 15:31:10 +03:00
Alex P
647eca4292
Cleanup: removed redundant code, comments, etc.
2025-09-16 15:23:16 +03:00
Alex P
a8b58b5d34
[WIP] Cleanup: removed redundant code
2025-09-16 15:17:49 +03:00
Alex P
b23cc50d6c
[WIP] Cleanup: removed redundant code
2025-09-16 15:14:00 +03:00
Alex P
1f88dab95f
[WIP] Maintainability Improvement: Add debug logging throughout the audio system for easy debugging and troubleshooting
2025-09-16 15:05:08 +03:00
Alex P
0944c886e5
[WIP] Maintainability Improvement: Add debug logging throughout the audio system for easy debugging and troubleshooting
2025-09-16 11:27:18 +03:00
Alex P
5e257b3144
[WIP] Add debug logging throughout the audio system
2025-09-16 11:26:48 +03:00
Alex P
fb98c4edcb
[WIP] Maintainability: Add debug / trace logs to make it easy to debug audio input issues
2025-09-16 11:11:18 +03:00
Alex P
e894470ca8
[WIP] Cleanup: function naming
2025-09-16 07:33:34 +00:00
Alex P
996016b0da
[WIP] Cleanup: remove unnecessary complexity
2025-09-15 23:00:03 +00:00
Alex P
7ab4a0e41d
[WIP] Simplification: PR Simplification
2025-09-16 00:44:26 +03:00
Alex P
ebb79600b0
Fix: pcm_snd_wait won't work when device is busy
2025-09-16 00:32:19 +03:00
Alex P
b040b8feaf
[WIP] Optimizations: Optimize audio system
2025-09-15 21:22:02 +00:00
Alex P
ca38ebee0c
[WIP] Fix: add commented code back
2025-09-15 12:04:24 +00:00
Alex P
cca1fe720d
[WIP] Cleanpup: Remove audio input quality settings to reduce complexity
2025-09-15 12:02:47 +00:00
Alex P
e29694921b
Fix: indentation
2025-09-15 14:29:02 +03:00
Alex P
b6858ab155
[WIP] Cleanup / Refinement: PR Review
2025-09-14 21:55:31 +00:00
Alex P
0e76023c39
Improvement (Maintainability): Make all C code more manageable by moving it to its own dedicated file
2025-09-11 13:27:10 +03:00
Alex P
5da357ba01
[WIP] Cleanup: Remove hid optimization code, as it is out of scope
2025-09-09 23:31:58 +00:00
Alex P
e0b6e612c0
Updates: defer the mutex unlock
2025-09-09 22:03:35 +00:00
Alex P
f48c3fe25a
[WIP] Updates, Cleanup: use uint64 for non-negative values
2025-09-09 21:54:36 +00:00
Alex P
d4c10aef87
Updates: use uint64 since we won't have negative numbers here
2025-09-09 21:37:08 +00:00
Alex P
eca1e6a80d
Cleanup: implement PR Review suggestions
2025-09-09 18:09:19 +00:00
Alex P
02acee0c75
Fix: Audio Output Enable / Disable
2025-09-09 10:39:47 +00:00
Alex P
0f2aa9abe4
feat(audio): improve socket handling and validation performance
...
- Add retry logic for socket file removal and listener creation
- Optimize message writing by combining header and data writes
- Move socket paths from temp dir to /var/run
- Refactor OPUS parameter lookup to use map for better readability
- Simplify validation functions for better performance in hotpaths
2025-09-09 10:16:53 +00:00
Alex P
5d4f4d8e10
UX Improvement: keep Mic state accross page refreshes
2025-09-09 09:43:39 +00:00
Alex P
a5d1ef1225
refactor(audio): optimize performance and simplify code
...
- Replace mutex locks with atomic operations for counters
- Remove redundant logging calls to reduce overhead
- Simplify error handling and buffer validation
- Add exponential backoff for audio relay stability
- Streamline CGO audio operations for hotpath optimization
2025-09-09 09:12:05 +00:00
Alex P
bda92b4a62
[Milestone] Fix: in-flight audio input quality updates
2025-09-09 08:56:24 +00:00
Alex P
3c6184d0e8
[Milestone] Improvement: In-flight audio output quality update
2025-09-09 07:44:37 +00:00
Alex P
2bc7e50391
[WIP] Cleanup, Refactor: Reduce PR complexity, common IPC layer
2025-09-09 07:08:32 +00:00
Alex P
f71d18039b
[WIP] Cleanup: reduce PR complexity
2025-09-09 06:59:55 +00:00
Alex P
00e5148eef
[WIP] Cleanup: reduce PR complexity
2025-09-09 06:52:40 +00:00
Alex P
0ebfc762f7
[WIP] Cleanup: PR SImplification
2025-09-09 05:41:20 +00:00
Alex P
845eadec18
[WIP] Fix: Audio Latency issues: move audio to a dedicated media stream
...
For more details please see: https://groups.google.com/g/discuss-webrtc/c/ZvAHvkHsb0E
2025-09-09 00:23:15 +00:00
Alex P
aa21b4b459
Updates: increase congestion treshold multiplier
2025-09-08 22:58:49 +00:00
Alex P
89e68f5cdb
[WIP] Change playback latency spikes on Audio Output Quality changes
2025-09-08 22:55:19 +00:00
Alex P
f873b50469
fix(audio): adjust congestion and CPU thresholds for single-core system
...
Update congestion threshold multiplier and CPU thresholds to better suit single-core ARM RV1106G3 processor characteristics. Adjust memory thresholds for systems with 200MB total memory.
2025-09-08 22:03:11 +00:00
Alex P
0893eb88ac
feat(audio): improve reliability with graceful degradation and async updates
...
- Implement graceful degradation for congestion handling with configurable thresholds
- Refactor audio relay track updates to be async to prevent deadlocks
- Add timeout-based supervisor stop during quality changes
- Optimize buffer pool configuration and cleanup strategies
2025-09-08 21:47:39 +00:00
Alex P
8cf0b639af
perf(audio): increase buffer sizes and timeouts for quality change bursts
...
Significantly increase message pool, channel buffer, and adaptive buffer sizes to better handle quality change bursts. Adjust timeouts and intervals for improved responsiveness.
2025-09-08 21:17:06 +00:00