Hi ----- Original Message ----- > > > + vol = (mute) ? min : CLAMP(volume[0], min, max); > > > > It probably doesn't make a big difference, but why did you not set mute? > > No API for mute in alsa? I think it's snd_mixer_selem_set_{playback,capture}_switch_all()