Re: [Bug 623] New: Volume not remembered.

From: Matthias Schniedermeyer (ms@citd.de)
Date: Thu Apr 24 2003 - 10:23:03 EST


On Thu, Apr 24, 2003 at 12:04:03PM -0300, Werner Almesberger wrote:
> Matthias Schniedermeyer wrote:
> > Maybe it depends on hardware, or your mixer "transparently" unmutes the
> > channel when you increase volume.
>
> Hmm, KMix doesn't do either, but if I mute the main volume and
> restart KMix, it will come up unmuted, but the volume set to
> zero.
>
> Other mixers (XMixer, aumix) don't seem know of the concept of
> muting at all. (And switching input sources doesn't seem to
> have much effect on what gets sent to the speakers.)
>
> Also, a quick grep through linux-*/sound/ doesn't find the
> word "mute". Are you sure this isn't a feature of the mixer
> instead of the sound API ?

man amixer
(the native ALSA-Mixer)

-- set --
       set or sset <SCONTROL> <PARAMETER> ...
              Sets the simple mixer control contents. The parameter can be the volume either as a percentage from 0% to 100% or an exact hardware value.
              The parameters cap, nocap, mute, unmute, toggle are used to change capture (recording) and muting for the group specified. The parameters
              front, rear, center, woofer are used to specify channels to be changed. When plus(+) or minus(-) letter is appended after volume value, the
              volume is incremented or decremented from the current value, respectively.

              A simple mixer control must be specified. Only one device can be controlled at a time.
-- end --

-- example 1 --
              amixer -c 1 sset Line,0 80%,40% unmute cap
-- end --

Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:15 EST