[linux-audio-user] Unmuting ALSA sound cards at startup

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: LAU <linux-audio-user@...>, Planet CCRMA <planetccrma@...>
Date: Wednesday, April 7, 2004 - 3:34 pm

Hey,
I've found a way of unmuting ALSA sound cards at startup, but it does work only
if alsamixer (or the card-specific mixer) is just launched before all other
audio apps.
If I launch XMMS, for example, first, all levels are set to 0.

Here's the code to be put at the end of /etc/modules.conf:

post-install snd-card-1 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-1 /usr/sbin/alsactl store >/dev/null 2>&1 || :

Do you know a better-working solution?

Cheers,
Mr┬░Freeze

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[linux-audio-user] Unmuting ALSA sound cards at startup, Mr.Freeze, (Wed Apr 7, 3:34 pm)
Re: [linux-audio-user] Unmuting ALSA sound cards at startup, Gian Paolo Mureddu, (Wed Apr 7, 7:04 pm)
[linux-audio-user] Re: [PlanetCCRMA] Unmuting ALSA sound car..., Fernando Pablo Lopez-Lezcano..., (Wed Apr 7, 7:04 pm)