[Spice-devel] [vdagent-linux PATCH v2 1/2] audio: add functions to set volume/mute with alsa

Marc-André Lureau mlureau at redhat.com
Mon Mar 23 09:47:25 PDT 2015


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()


More information about the Spice-devel mailing list