From 6be964bb9d231d2d9847264d0a8b4e971992f691 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Mar 2022 15:18:05 +0100 Subject: [PATCH] Updated 'gba_launch_gpsp.sh' to get rid of the saturated sound in gpSP --- .../rootfs-overlay/usr/games/launchers/gba_launch_gpsp.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FunKey/board/funkey/rootfs-overlay/usr/games/launchers/gba_launch_gpsp.sh b/FunKey/board/funkey/rootfs-overlay/usr/games/launchers/gba_launch_gpsp.sh index 53b2069..096f5a7 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/games/launchers/gba_launch_gpsp.sh +++ b/FunKey/board/funkey/rootfs-overlay/usr/games/launchers/gba_launch_gpsp.sh @@ -2,9 +2,13 @@ # Launch the process in background, record the PID into a file, wait # for the process to terminate and erase the recorded PID +# Do not use asound.conf to avoid saturated sound +rw +mv -f /etc/asound.conf /etc/asound.conf.BAK cd ${HOME} gpsp "$1"& pid record $! wait $! pid erase - +mv -f /etc/asound.conf.BAK /etc/asound.conf +ro