[alsa-devel] [alsa-lib][PATCH] ctl: fix returning zero for dimension level 4
Takashi Iwai
tiwai at suse.de
Mon Jun 27 15:34:30 CEST 2016
On Mon, 27 Jun 2016 15:02:57 +0200,
Takashi Sakamoto wrote:
>
> In ALSA kernel/userspace interfaces, 'struct snd_ctl_elem_info' has a
> 'dimension' parameter. This parameter consists of an array with four
> elements. Each element represents the number of members in corresponding
> dimension level to construct matrix.
>
> In current implementation, a get function, 'snd_ctl_elem_info_get_dimension()'
> is hardcoded to return zero to level 4, against actual value. This commit fixes
> the bug.
>
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
Applied, thanks.
Takashi
More information about the Alsa-devel
mailing list