]> git.alsa-project.org Git - alsa-gobject.git/commit
seq: event-cntr/event-data-queue: obsolete timestamp functions by adding alternatives
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 14 Jun 2022 10:23:21 +0000 (19:23 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Thu, 16 Jun 2022 12:52:00 +0000 (21:52 +0900)
commitc1c1903a03b38b20fc74dd5ca2513eec739eca0c
tree5c3c8b52b83d489cc84a816b3e9b51a76632aa0d
parent956f21220306267638f1749cabba060de33d1b9c
seq: event-cntr/event-data-queue: obsolete timestamp functions by adding alternatives

In UAPI of ALSA Sequencer, time stamp is defined as union which has
tick time member and real time member. There is no tag to select two
members, thus user applications should judge which member is used. In
this meaning, exposing the union is not necessarily useful.

This commit is a preparation to obsolete the union. The methods to
retrieve the union are rewrite to retrieve either tick time or real time
explicitly.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
samples/seq
src/seq/alsaseq.map
src/seq/event-cntr.c
src/seq/event-cntr.h
src/seq/event-data-queue.c
src/seq/event-data-queue.h
tests/alsaseq-event-cntr