Updated 'gba_launch_gpsp.sh' to get rid of the saturated sound in gpSP

This commit is contained in:
root 2022-03-03 15:18:05 +01:00 committed by DrUm78
parent bb71969923
commit 6be964bb9d

View File

@ -2,9 +2,13 @@
# Launch the process in background, record the PID into a file, wait # Launch the process in background, record the PID into a file, wait
# for the process to terminate and erase the recorded PID # 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} cd ${HOME}
gpsp "$1"& gpsp "$1"&
pid record $! pid record $!
wait $! wait $!
pid erase pid erase
mv -f /etc/asound.conf.BAK /etc/asound.conf
ro