Play silence to initialize sound card
# On the Pi Zero, volume controls won't show up before playing something :(
SOFTVOL=`amixer | grep Softvol`
if [ "$SOFTVOL" == "" ]; then
- play -n synth 1 sine 1
+ play -n trim 0 0.1
fi
FOUND=`aplay -l|grep hifiberry | grep -v "pcm5102"`
@@ -33,7 +33,8 @@ function detect_card {
check_hat
if [ "$HATCARD" == "Amp100" ]; then
- DETECTED="amp100"
+ DETECTED="amp100,automute"
+ EEPROM=0
return
fi
