alsa-project/alsa-gobject pull request #72 was opened from takaswie:
Current implementation uses function of QueueTimer to retrieve data for variants of queue timer, however it's not enough convenient in the case of language bindings. The usage of GObject.Value in object property is expected to be supported widely instead.
This patchset uses object classes derived from GObject to express the variants. The common properties are expressed by QueueTimerCommon interface. The ALSATimer variant is currently supported to implement the interface.
``` Takashi Sakamoto (5): doc: seq: fix URL to document for ALSATimer seq: queue-timer-common: add common interface for queue timer seq: queue-timer-alsa: add class for queue timer specialized to ALSA Timer seq: user-client: use QueueTimerCommon interface instead of QueueTimer seq: queue-timer/queue-timer-data-alsa: remove unused gobject classes
doc/seq/alsaseq.toml.in | 2 +- doc/seq/urlmap.js | 2 +- src/seq/alsaseq.h | 5 +- src/seq/alsaseq.map | 16 +- src/seq/meson.build | 8 +- src/seq/privates.h | 21 ++- src/seq/queue-timer-alsa.c | 134 +++++++++++++++++ src/seq/queue-timer-alsa.h | 22 +++ src/seq/queue-timer-common.c | 87 +++++++++++ src/seq/queue-timer-common.h | 20 +++ src/seq/queue-timer-data-alsa.c | 76 ---------- src/seq/queue-timer-data-alsa.h | 32 ---- src/seq/queue-timer.c | 138 ------------------ src/seq/queue-timer.h | 26 ---- src/seq/user-client.c | 42 +++--- src/seq/user-client.h | 4 +- ...q-queue-timer => alsaseq-queue-timer-alsa} | 8 +- tests/meson.build | 2 +- 18 files changed, 325 insertions(+), 320 deletions(-) create mode 100644 src/seq/queue-timer-alsa.c create mode 100644 src/seq/queue-timer-alsa.h create mode 100644 src/seq/queue-timer-common.c create mode 100644 src/seq/queue-timer-common.h delete mode 100644 src/seq/queue-timer-data-alsa.c delete mode 100644 src/seq/queue-timer-data-alsa.h delete mode 100644 src/seq/queue-timer.c delete mode 100644 src/seq/queue-timer.h rename tests/{alsaseq-queue-timer => alsaseq-queue-timer-alsa} (76%) ```
Request URL : https://github.com/alsa-project/alsa-gobject/pull/72 Patch URL : https://github.com/alsa-project/alsa-gobject/pull/72.patch Repository URL: https://github.com/alsa-project/alsa-gobject