When I installed Garuda Linux, Mednafen emulator doesn’t have noise in Playstation Games and Saturn games, using.the sexyal-literal-default (alsa driver) in Mednafen config. After upgrading, a crack noise appears ingame.
Can anyone confirm this problem?
I found this problem in EndeavourOS but I don’t want to change my sound server to pulseaudio.
Since many kernel related issues are occuring recently on the forum , try running:
sudo pacman -S linux linux-headers and reboot , see if the issue still persists, if it does , changing audio output device in the settings should help.
reading the post I can change the audio device using:
$ pactl list sinks
$ pactl set-default-sink ##number for the HDA Intel PCH
and select the another sink for my sound device (Internal Audio Analogic Stereo)
Sound works ok in firefox browser, but is muted in the emulator, so I changed the speakers conector in my desktop to my other sound device and vóila, sound is here.
Tested with this sound device and noise is gone in mednafen . Changed the audio device in mixer settings for firefox (to Internal Audio Analog Stereo) and sound returned.
You could try adjusting the audio settings in the Mednafen config, maybe switching between different drivers (like switching to pulse or pipewire in Mednafen) and see if that clears up the crackling. You can also try updating PipeWire or checking if any configuration tweaks are needed.
Sorry magnux but mednafen has only an alsa driver (not pulse or pipewire) for my system (there is oss, sdl, jack and openbsd settings but they don’t apply for me) . When I switched to Pulse Audio in Endeavour OS, mednafen sound driver worked ok but MAME stop to work, so I stay with this config. Thanks for the suggestion.