alsa-gobject: timer: user_instance: add API to choose the type of event to read

GitHub pull_request - opened github at alsa-project.org
Fri Jun 12 15:39:14 CEST 2020


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

Currently ALSATimer.UserInstance has any attach API to decide the type of
event to read. In design of ALSA Timer core, the attach API has two
functionality; to attach or to detach with error for absent timer device.
Current implementation has inconvenient for the functionality due to
execution to choose the type of event in advance. The execution fails
when the instance is already attached.

This commit adds a new API to choose the type of event and split the
call from any attach API.

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


More information about the Alsa-devel mailing list