]> git.alsa-project.org Git - alsa-gobject.git/commit
timer: user_instance: report error for timer instance not found
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 14 Nov 2020 08:28:09 +0000 (17:28 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 14 Nov 2020 08:28:09 +0000 (17:28 +0900)
commit8bd04c8dc0119ca3f334ceef50db57d4604ab560
treeec77aa039494cd04c8f0b3f9cd73900384f7efd0
parent299e23e18398a19f0121e76b07c7dc13df03b23f
timer: user_instance: report error for timer instance not found

After instantiation and opening character device, application can attach
any timer device to the instance according to the identifier information.
If ALSA timer system has no substance identified by the information,
application receives ENODEV error.

This commit handles it and report local error.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/timer/alsatimer-enum-types.h
src/timer/user-instance.c
tests/alsatimer-enums