Problem
Current ring buffer is sized for 1 second at 48kHz stereo (96000 samples). This may introduce noticeable latency in voice communication.
Current Behavior
- Ring buffer: 48000 * 2 = 96000 samples
- At 48kHz stereo, this is ~1 second of audio
- Latency could be perceptible in real-time conversation
Proposed Solution
- Reduce buffer size to ~50-100ms (4800-9600 samples at 48kHz)
- Implement proper buffer fill level monitoring
- Add latency configuration option in settings
Files
src-tauri/src/vbcable/microphone.rs
Problem
Current ring buffer is sized for 1 second at 48kHz stereo (96000 samples). This may introduce noticeable latency in voice communication.
Current Behavior
Proposed Solution
Files
src-tauri/src/vbcable/microphone.rs