Specified who needs to use ALSA...

with flavor text
This commit is contained in:
Krzeszny
2025-10-21 19:41:07 +00:00
committed by hypevhs
parent 6b518593a5
commit 55d16b7c6d

View File

@@ -39,20 +39,20 @@ It is recommended that you use PipeWire as your system's audio service, includin
The game will default to the PipeWire API if it can, falling back to the PulseAudio API.
### Glitchy audio
### Crackling microphone
The most straightforward way to fix a glitchy microphone is to force the use of **SDL's ALSA driver** for Resonite's audio:
Unfortunately, it seems that **every WiVRn user experiences crackling mic issues by default** before manually switching to the legacy ALSA driver:
1. Set the launch argument:
1. Force Resonite to use ALSA:
Add the following to Resonite's Launch Options:
````SDL_AUDIO_DRIVER=alsa %command%````
**Note:** If you already have `%command%` in your launch arguments, simply add `SDL_AUDIO_DRIVER=alsa` **before** it.
**Note:** If you already have `%command%` in your launch arguments, simply add `SDL_AUDIO_DRIVER=alsa` **before** it. Continue with step 2.
2. Configure PipeWire for ALSA:
2. Configure PipeWire for legacy mode:
For most users, switching to ALSA **will break all audio** in Resonite unless you configure your audio server, PipeWire, to support your hardware's sample rates.
For most if not all users, using ALSA _will_ bork your audio until you've manually configured PipeWire to support your hardware's sample rates.
If this happens:
1. Locate the directory or create it if it doesn't exist: `~/.config/pipewire/pipewire.conf.d/`.
@@ -69,7 +69,7 @@ If this happens:
}
```
If that doesn't work, you can try forcing the other drivers by specifying `pipewire` or `pulseaudio` instead of `alsa` in the above launch arguments.
If that doesn't work, you can try forcing the other drivers by specifying `pulseaudio` (or `pipewire`) instead of `alsa` in the above launch argument.
If you want to use the PulseAudio driver, you may need `SDL_AUDIO_DRIVER=pulseaudio PULSE_LATENCY_MSEC=15 PULSE_BUFFER_MSEC=250 PULSE_FRAGMENT_SIZE_MSEC=25 %command%` as the launch arguments.