added a default audiostart hook to force output over main speaker and set a sane default volume

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Šis iesūtījums ir iekļauts:
Maarten van Gompel 2021-09-10 23:49:37 +02:00 iesūtīja Stacy Harper
vecāks b857198eb0
iesūtījums 61451f6292
Šim parakstam datubāzē netika atrasta zināma atslēga
GPG atslēgas identifikators: EABA44759877E02A
3 izmainītas datnes ar 11 papildinājumiem un 6 izdzēšanām

Apskatīt datni

@ -230,4 +230,5 @@ exec sxmo_modemmonitortoggle.sh restart
exec sxmo_notificationmonitor.sh
exec mako
exec sxmo_hooks.sh lisgdstart
exec sxmo_hooks.sh audiostart
exec sxmo_menumode_toggler.sh

Apskatīt datni

@ -17,12 +17,7 @@ conky -c /usr/share/sxmo/appcfg/conky.conf -d #12 hour clock (am/pm)
# Force audio over the main speaker
# and set a sane default volume
sxmo_audioout.sh Speaker
amixer sset 'Line Out Source' 'Mono Differential','Mono Differential'
amixer set "Line Out" 50%
# Play a funky startup tune
#mpv --quiet --no-video ~/welcome.ogg &
sxmo_hooks.sh audiostart
# You will sometime get SMS or calls from not
# country code prefixed phone numbers. To make

Apskatīt datni

@ -0,0 +1,9 @@
# Force audio over the main speaker
# and set a sane default volume
sxmo_audioout.sh Speaker
amixer sset 'Line Out Source' 'Mono Differential','Mono Differential'
amixer set "Line Out" 75%
# Play a funky startup tune if you want (disabled by default)
#mpv --quiet --no-video ~/welcome.ogg &