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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 23, 2015 at 12:47:25PM -0400, Marc-André Lureau wrote:
> 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()

Indeed it is better. Thanks, fixed.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]