Windows (WASAPI) support: cfg-gate Linux-only virtual mic

The Linux/PipeWire virtual mic (pactl, WirePlumber fix, signal restore)
is now behind target_os cfg; on Windows/macOS it compiles to stubs and
virtual mic defaults to off. Use VB-CABLE/BlackHole as the output device.
Cross-checked with cargo check --target x86_64-pc-windows-gnu (0 errors).
This commit is contained in:
loki5512344 2026-08-02 20:08:30 +02:00
parent aee4f53fd2
commit 13f85b4220
Signed by: boba
GPG key ID: 253067914055423B
4 changed files with 61 additions and 12 deletions

View file

@ -40,7 +40,7 @@ vois.rs turns your microphone into a voice changer in real time: shift pitch and
| TUI | Full-screen terminal UI with arrow-key + mouse control and live meters |
| WAV recording | Record the processed audio with the `R` hotkey or `--record` |
| Test tone | `--tone 220` lets you hear what a preset does without a mic |
| Cross-platform | Linux (ALSA/PipeWire), macOS (CoreAudio), Windows (WASAPI) |
| Cross-platform | Linux (ALSA/PipeWire), Windows (WASAPI), macOS (CoreAudio) |
### Presets
@ -161,7 +161,7 @@ vois.rs превращает твой микрофон в войс-чендже
| TUI | Полноэкранный интерфейс с управлением стрелками и мышью, живые уровни |
| Запись в WAV | Клавиша `R` или `--record` |
| Тестовый тон | `--tone 220` — послушать пресет без микрофона |
| Кроссплатформенность | Linux (ALSA/PipeWire), macOS (CoreAudio), Windows (WASAPI) |
| Кроссплатформенность | Linux (ALSA/PipeWire), Windows (WASAPI), macOS (CoreAudio) |
### Пресеты