diff --git a/scripts/core/sxmo_audioout.sh b/scripts/core/sxmo_audioout.sh index 9311ab7..310f307 100755 --- a/scripts/core/sxmo_audioout.sh +++ b/scripts/core/sxmo_audioout.sh @@ -5,9 +5,9 @@ ARG="$1" # shellcheck source=scripts/core/sxmo_common.sh . "$(dirname "$0")/sxmo_common.sh" -SPEAKER="Line Out" -HEADPHONE="Headphone" -EARPIECE="Earpiece" +${SPEAKER:-"Line Out"} +${HEADPHONE:-"Headphone"} +${EARPIECE:-"Earpiece"} amixer set "$SPEAKER" mute amixer set "$HEADPHONE" mute