~mil/sxmo-utils

ref: 61451f62928ca04cf7bc954f9832a57913813520 sxmo-utils/configs/default_hooks/audiostart -rw-r--r-- 293 bytes
61451f62Maarten van Gompel added a default audiostart hook to force output over main speaker and set a sane default volume a month ago
                                                                                
1
2
3
4
5
6
7
8
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 &