Tuncer Ayaz wrote: > On Wed, Apr 30, 2008 at 9:36 AM, Tuncer Ayaz <tuncer.ayaz@xxxxxxxxx> wrote: > >> Hi list, >> >> >> I'm trying to find out whether there's a straight forward way >> to use amixer for mute/unmute master/pcm/everything in such >> a way that the possibly needed script works on many different >> machines with any installed Alsa output devices. >> >> Is there a simple way or do I need to write a script >> which handles all possibilities regarding device names >> and other possible differences? >> > > I will write a script calling amixer or a tool linking > against libasound to achieve that - depending on which > option is easier/cleaner/more portable. > > Thanks for your help. > > This sounds like something that pulseaudio would already do. Maybe you can use part of the pulseaudio code to do what you want? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user