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>
This commit is contained in:
Maarten van Gompel 2021-09-10 23:49:37 +02:00 committed by Stacy Harper
parent b857198eb0
commit 61451f6292
No known key found for this signature in database
GPG key ID: EABA44759877E02A
3 changed files with 11 additions and 6 deletions

View file

@ -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 &