Skip to contentSkip to conversation

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

DISCUSSION GitHub pull_request - opened 1 participant 1 message Jun 12, 2020 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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