Overview
Audio settings control how TCP Streamer captures audio from your system. These settings directly impact audio quality, latency, and system resource usage.Input Device Selection
TCP Streamer scans all available audio hosts (WASAPI, MME, CoreAudio, ALSA, PulseAudio) to detect input devices.Standard Input Devices
Select any physical or virtual audio input device:- Physical microphones
- Line-in connections
- Virtual audio cables (VB-Audio Cable, BlackHole)
- Audio interfaces
Windows Loopback Mode
Windows users can enable WASAPI Loopback to capture system audio directly without virtual cables.Sample Rate
The number of audio samples captured per second, measured in Hertz (Hz).Audio sample rate in Hz
| Sample Rate | Use Case | Bitrate (Stereo) |
|---|---|---|
| 44100 Hz | CD-quality audio, music playback | 1411 kbps |
| 48000 Hz | Modern standard, video/broadcast (recommended) | 1536 kbps |
Recommendations
- 48 kHz: Recommended for most use cases (modern standard)
- 44.1 kHz: Use if your source content is CD-quality music
Higher sample rates do NOT improve quality beyond the source material. Match the sample rate to your content for best results.
Buffer Size
The hardware audio buffer size in samples. This controls the latency between audio capture and processing.Hardware buffer size in samples
| Buffer Size | Latency (48 kHz) | Use Case |
|---|---|---|
| 256 | 5.3 ms | Ultra-low latency, high CPU usage |
| 512 | 10.7 ms | Low latency, balanced |
| 1024 | 21.3 ms | Balanced (recommended) |
| 2048 | 42.7 ms | High stability, lower CPU usage |
Trade-offs
Smaller buffers (256-512):- Lower latency
- Higher CPU usage
- More sensitive to system load
- May cause audio dropouts on slower systems
- Higher latency
- Lower CPU usage
- More stable on loaded systems
- Better for WiFi connections
Ring Buffer Duration
The size of the internal ring buffer that absorbs network jitter, measured in milliseconds.Ring buffer duration in milliseconds (2000-15000)
| Duration | Memory Usage | Use Case |
|---|---|---|
| 2000 ms | ~0.6 MB | Wired connections, low jitter |
| 4000 ms | ~1.2 MB | WiFi connections (recommended) |
| 8000 ms | ~2.3 MB | Poor WiFi, WASAPI Loopback |
| 15000 ms | ~4.3 MB | Extreme conditions, maximum stability |
Smart Buffer Sizing by Device Type
TCP Streamer automatically adjusts buffer defaults based on device type:WASAPI Loopback (Windows)
- Base ring buffer: 8000ms
- Adaptive range: 4000-12000ms
- Best latency: ~4 seconds (wired network)
- Worst latency: ~12 seconds (WiFi laptop)
Larger buffers are required to handle WiFi jitter, laptop CPU throttling, and WASAPI timing variability.
Standard Input / VB Audio Cable
- Base ring buffer: 5000ms
- Adaptive range: 2000-6000ms
- Best latency: ~2 seconds (wired network)
- Worst latency: ~6 seconds (WiFi)
How It Works
- Audio callbacks push samples into the buffer (producer)
- Network thread reads from buffer at precise intervals (consumer)
- Buffer absorbs timing differences caused by network jitter
Configuration Examples
High-Fidelity Music (Wired)
Whole-Home Audio (WiFi)
Challenging Environment (Poor WiFi)
Windows Loopback (WiFi Laptop)
Troubleshooting
Audio Stuttering
Symptoms: Choppy audio, gaps, pops Solutions:- Increase ring buffer duration
- Increase hardware buffer size
- Enable adaptive buffer (see Advanced Settings)
- Use wired connection instead of WiFi
High CPU Usage
Symptoms: System slowdown, fan noise Solutions:- Increase buffer size to 2048
- Lower sample rate to 44.1 kHz
- Disable other CPU-intensive applications
Device Not Found
Symptoms: Input device doesn’t appear in dropdown Solutions:- macOS: Grant microphone permissions (System Settings → Privacy & Security)
- Windows: Ensure device is enabled in Sound settings
- Linux: Check ALSA/PulseAudio/PipeWire configuration
- Restart the application after connecting new devices
WASAPI Loopback Dropouts
Symptoms: Frequent audio gaps when using Windows loopback Solutions:- Enable adaptive buffer (see Advanced Settings)
- Increase ring buffer to 10000-12000ms
- Use wired connection
- Consider using VB Audio Cable instead for more consistent performance
Related Settings
- Network Settings - Configure chunk size and network optimization
- Advanced Settings - Enable adaptive buffer for automatic adjustments
- Automation - Set up auto-start and auto-reconnect