mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
Updated 'gba_launch_gpsp.sh' to get rid of the saturated sound in gpSP
This commit is contained in:
parent
bb71969923
commit
6be964bb9d
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user