fix fix
This commit is contained in:
@@ -42,20 +42,25 @@ The game will default to the PipeWire API if it can, falling back to the PulseAu
|
|||||||
### Glitchy audio
|
### Glitchy audio
|
||||||
|
|
||||||
The most straightforward way to fix a glitchy microphone is to force the use of **SDL's ALSA driver** for Resonite's audio:
|
The most straightforward way to fix a glitchy microphone is to force the use of **SDL's ALSA driver** for Resonite's audio:
|
||||||
|
|
||||||
1. Set the launch argument:
|
1. Set the launch argument:
|
||||||
|
|
||||||
Add the following to Resonite's Launch Options:
|
Add the following to Resonite's Launch Options:
|
||||||
````SDL_AUDIO_DRIVER=alsa %command%````
|
````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.
|
||||||
|
|
||||||
2. Configure PipeWire for ALSA:
|
2. Configure PipeWire for ALSA:
|
||||||
|
|
||||||
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 users, switching to ALSA **will break all audio** in Resonite unless you configure your audio server, PipeWire, to support your hardware's sample rates.
|
||||||
If this happens:
|
If this happens:
|
||||||
1. Locate the directory or create it if it doesn't exist:
|
|
||||||
|
1. Locate the directory or create it if it doesn't exist:
|
||||||
```$HOME/.config/pipewire/pipewire.conf.d/```
|
```$HOME/.config/pipewire/pipewire.conf.d/```
|
||||||
(Remember: The ~/.config folder is often hidden in file browsers)
|
(Remember: The ~/.config folder is often hidden in file browsers)
|
||||||
|
|
||||||
2. Create the file `01-sample-rates.conf` in that folder. The full path should be
|
2. Create the file `01-sample-rates.conf` in that folder. The full path should be
|
||||||
```$HOME/.config/pipewire/pipewire.conf.d/01-sample-rates.conf```
|
```$HOME/.config/pipewire/pipewire.conf.d/01-sample-rates.conf```
|
||||||
|
|
||||||
3. Paste the following content into the file to define supported sample rates, and save it:
|
3. Paste the following content into the file to define supported sample rates, and save it:
|
||||||
```
|
```
|
||||||
context.properties = {
|
context.properties = {
|
||||||
|
|||||||
Reference in New Issue
Block a user