Dolphin seems to need to use Alsa, all attempts to use pulse are ignored.

This commit is contained in:
fewtarius 2023-08-08 00:34:47 +00:00
parent df3512d4a9
commit 2a34e3a830
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 12 additions and 0 deletions

View file

@ -6,6 +6,9 @@
. /etc/profile
jslisten set "-9 dolphin-emu-nogui"
systemctl stop pipewire-pulse
export SDL_AUDIODRIVER=alsa
#Check if dolphin-emu exists in .config
if [ ! -d "/storage/.config/dolphin-emu" ]; then
mkdir -p "/storage/.config/dolphin-emu"
@ -244,3 +247,6 @@ ln -sf /storage/.config/dolphin-emu /storage/.local/share/dolphin-emu
#Run Dolphin emulator
${EMUPERF} /usr/bin/dolphin-emu-nogui -p @DOLPHIN_PLATFORM@ -a HLE -e "${1}"
unset SDL_AUDIODRIVER
systemctl start pipewire-pulse

View file

@ -6,6 +6,9 @@
. /etc/profile
jslisten set "-9 dolphin-emu-nogui"
systemctl stop pipewire-pulse
export SDL_AUDIODRIVER=alsa
#Check if dolphin-emu exists in .config
if [ ! -d "/storage/.config/dolphin-emu" ]; then
mkdir -p "/storage/.config/dolphin-emu"
@ -255,3 +258,6 @@ ln -sf /storage/.config/dolphin-emu /storage/.local/share/dolphin-emu
#Run Dolphin emulator
${EMUPERF} /usr/bin/dolphin-emu-nogui -p @DOLPHIN_PLATFORM@ -a HLE -e "${1}"
unset SDL_AUDIODRIVER
systemctl start pipewire-pulse