]> 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)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 1 Jun 2022 02:35:44 +0000 (11:35 +0900)
commit86a6b61c64ae791f1eb8371faa92917c8d8d5a28
treea4fadad55e9ba1dfa97a52582e5f62a9a2347dc4
parentee20989ea6343758a20aaff5efe46090db75f6a4
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