retrofe new version that stops ampli when necessary, start_launcher stopping/restrarting ampli when necessary
This commit is contained in:
parent
4243dd85b6
commit
a0b6d3f8e8
|
@ -39,6 +39,9 @@ while true; do
|
|||
else
|
||||
if [ -f "${GMENU2X_FILE}" ]; then
|
||||
|
||||
# Force stop ampli (no sound in gmenu2x)
|
||||
start_audio_amp 0
|
||||
|
||||
# Launch gmenu2x
|
||||
gmenu2x&
|
||||
else
|
||||
|
@ -53,6 +56,11 @@ while true; do
|
|||
wait $!
|
||||
erase_pid
|
||||
|
||||
# Restart ampli audio if necessary
|
||||
if [[ "$(volume_get)" -ne "0" ]]; then
|
||||
start_audio_amp 1 >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
# In case retrofe quits with errors, clear graphic VT
|
||||
termfix_all
|
||||
fi
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
RETROFE_VERSION = 343f64f
|
||||
RETROFE_VERSION = d07ca9c
|
||||
RETROFE_SITE_METHOD = git
|
||||
RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git
|
||||
RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib
|
||||
|
|
Loading…
Reference in New Issue