Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#426 - alsa should have startup/shutdown script to save/restore mixer settings
|
Details |
This task depends upon
Example:
You shutdown your computer around nighttime after watching a movie where the audio volume was not properly gained so the alsa script saves it as 100%.
You wake up in the morning, boot up and play some music and blast your shorts off.
I like having a static config when I boot.
Here's a script i wrote for myself. Call it /etc/rc.d/alsa and add alsa to /etc/rc.conf
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Restoring ALSA state"
alsactl restore
add_daemon alsa
stat_done
;;
stop)
stat_busy "Saving ALSA state"
alsactl store
rm_daemon alsa
stat_done
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
In these modern ages, we expect our volume settings to be saved and loaded when we reboot, without even having to know what ALSA is :)