Re: Set multiple mixer channel values at once

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

 



On Tue, 09 Jan 2018 17:37:49 +0100,
Petr Kulhavy wrote:
> 
> Hi Takashi,
> 
> thank you for the hint, I will try that.
> 
> Indeed the multichannel is a single control element. Do you mean to
> call multiple snd_ctl_elem_value_set_integer() followed by a single
> snd_hctl_elem_write() ?
> Similar to what is described here
> https://alsa.opensrc.org/HowTo_access_a_mixer_control ?

Yes, something like that.


Takashi

> 
> Thanks
> Petr
> 
> On 09/01/18 09:29, Takashi Iwai wrote:
> > On Mon, 08 Jan 2018 12:01:34 +0100,
> > Petr Kulhavy wrote:
> >> Hi,
> >>
> >> does the ALSA library provide a method to set multiple channel values
> >> of a multi-channel mixer element at once?
> > It depends.  If the multi-channel is implemented in a single control
> > element, you can set the whole update and write it in a single shot.
> > But maybe not via alsa-lib mixer functions but with raw snd_ctl_*()
> > stuff.
> >
> >
> > Takashi
> >
> 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux