[alsa-devel] alsa-gobject: ctl: fix wrong operation for values in enumerated type of element

GitHub pull_request - opened github at alsa-project.org
Sun Jan 12 08:05:43 CET 2020


alsa-project/alsa-gobject pull request #4 was opened from takaswie:

The 'snd_ctl_elem_value' structure includes union member for values.
Although it includes 'enumerated' member for values in enumerated type
of element, current implementation of alsactl library uses 'integer'
member to pick up the values. As a result, in any 64 bit System V ABI,
the library fails to get/set values for the enumerated type of
element. This commit fixes the bug.

Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>

Request URL   : https://github.com/alsa-project/alsa-gobject/pull/4
Patch URL     : https://github.com/alsa-project/alsa-gobject/pull/4.patch
Repository URL: https://github.com/alsa-project/alsa-gobject


More information about the Alsa-devel mailing list