]> git.alsa-project.org Git - alsa-gobject.git/commit
seq: user-client: use QueueTimerCommon interface instead of QueueTimer
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 1 Jun 2022 02:35:44 +0000 (11:35 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Thu, 2 Jun 2022 09:33:12 +0000 (18:33 +0900)
commitb97cbbaedd5e9cc1441afb5882b2846d8ecf38c7
tree5cf25e5afc6f768da4dff226d3a12d66b9aba471
parentc430e11d35664455a38961cbe2d98bab3f48db76
seq: user-client: use QueueTimerCommon interface instead of QueueTimer

Current implementation to handle queue timer is by ALSASeq.QueueTimer
gobject class, and uses boxed object (=structure) to express actual data
of the timer. The implementation is not necessarily convenient to add
more type of queue timer since it requires to add getter/setter of data
to the class.

This commit uses ALSASeq.QueueTimerCommon interface to handle any type
of queue timer in ALSASeq.UserInstance for system call.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/seq/privates.h
src/seq/queue-timer-alsa.c
src/seq/user-client.c
src/seq/user-client.h