]> 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)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 14 Jun 2022 10:23:21 +0000 (19:23 +0900)
commit0a710b017f4c3b64c601c63c1f3101aea116ece7
tree5c3c8b52b83d489cc84a816b3e9b51a76632aa0d
parent048672e1923144cc4bb2f0a5f9dfd9d8e6994f2e
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