9 Jan
2018
9 Jan
'18
5:37 p.m.
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 ?
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