On 21-Sep-02, Barthel aus Pennswald wrote:

> You can also include the unmuting commands in an initialization
> script. In /etc/rc.d/rc.local, I have:
> 
> [ -x /etc/rc.d/rc.asound ] && /etc/rc.d/rc.asound
> 
> Then, in the executable file /etc/rc.d/rc.asound I have all of the
> commands needed to unmute and set the default volume for my mixer
> devices:
> 
>     # /etc/rc.d/asound
> 
>     # ALSA initialization file
> 
>     # Automatically unmute all channels upon boot
>     echo "Unmuting audio channels..."
>     amixer set 'Master' 80% unmute >/dev/null
>     amixer set 'Master Mono' 80% unmute >/dev/null
>     ...

Surely it'd be quicker and easier to replace all those with a simple
"alsactl restore" (having first saved the unmuted settings with "alsactl
store", of course)?  Saves a *lot* of typing - especially if you have a
SB Live(!) :)
-- 
Adam Jones ([EMAIL PROTECTED])(http://www.yggdrasl.demon.co.uk/)
.oO("I miss read that sentance."                                       )
PGP public key: http://www.yggdrasl.demon.co.uk/pubkey.asc



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to