Re: [Alsa-user] portable mute/unmute script
Brought to you by:
perex
From: Tuncer A. <tun...@gm...> - 2008-05-10 13:27:53
|
On Sat, May 10, 2008 at 3:08 PM, stan <ghj...@co...> wrote: > Tuncer Ayaz wrote: >> >> On Wed, Apr 30, 2008 at 9:36 AM, Tuncer Ayaz <tun...@gm...> >> 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? > Thanks for the hint, I can take a look although I don't use PulseAudio at all :) |