JS8Call - Made a decision to set the audio with the application wrapper and not via udev. This simpler and offers more flexibility as some applications need slightly different audio levels. This will be important once Dire Wolf and ARDOP are introduced.

This commit is contained in:
Gaston Gonzalez
2024-10-31 11:54:20 -07:00
parent aee42cb457
commit ef2992ac21
+4 -1
View File
@@ -2,7 +2,7 @@
# #
# Author : Gaston Gonzalez # Author : Gaston Gonzalez
# Date : 24 October 2024 # Date : 24 October 2024
# Updated : 30 October 2024 # Updated : 31 October 2024
# Purpose : Wrapper script for starting JS8Call with PnP support # Purpose : Wrapper script for starting JS8Call with PnP support
# #
# Preconditions # Preconditions
@@ -91,6 +91,9 @@ update-config () {
echo "SoundOutName=\"${JS8_AUDIO_DEVICE}\"" >> ${JS8CALL_CONF_FILE} echo "SoundOutName=\"${JS8_AUDIO_DEVICE}\"" >> ${JS8CALL_CONF_FILE}
fi fi
## Configure ALSA settings for sound card
/opt/emcomm-tools/bin/et-audio update-config
else else
et-log "No ET_AUDIO device detected." et-log "No ET_AUDIO device detected."
notify_user "Can't start JS8Call. No ET_AUDIO device detected." notify_user "Can't start JS8Call. No ET_AUDIO device detected."