alsa-project/alsa-gobject pull request #75 was opened from takaswie: ``` Current implementation provides ALSASeq.EventCntr to handle batch of sequencer events. Parameters of each event are set/get by public methods of it with index of event. But it's necesarrily convenient. This patchset adds boxed structure to express each of the event. Some public methods are rewritten according to it, with code refactoring. ALSASeq.EventCntr is largely rewritten with serializer/deserializer for flattened event buffer. Takashi Sakamoto (12): update README seq: event-cntr/event-data-queue: obsolete timestamp functions by adding alternatives seq: tstamp: remove unused boxed structure seq: remove-filter: remove unused error arguments seq: enums: rename to tstamp mode seq: port-info: rename properties for time stamp seq: enums: obsolete ALSASeqSubscribeFlag enumerations seq: event: add boxed structure for event seq: user-client: add public API to schedule list of events seq: user-client: rewrite public API to schedule single event seq: event-cntr: rewrite as boxed structure seq: event-cntr: add internal API to serialize list of events README.rst | 18 +- samples/seq | 96 +- src/seq/alsaseq-enum-types.h | 49 +- src/seq/alsaseq.h | 3 +- src/seq/alsaseq.map | 133 +-- src/seq/event-cntr.c | 1709 ++-------------------------------- src/seq/event-cntr.h | 115 +-- src/seq/event-data-queue.c | 52 +- src/seq/event-data-queue.h | 13 +- src/seq/event.c | 1687 +++++++++++++++++++++++++++++++++ src/seq/event.h | 112 +++ src/seq/meson.build | 4 +- src/seq/port-info.c | 118 ++- src/seq/privates.h | 5 + src/seq/remove-filter.c | 31 +- src/seq/remove-filter.h | 17 +- src/seq/subscribe-data.c | 115 ++- src/seq/tstamp.c | 81 -- src/seq/tstamp.h | 24 - src/seq/user-client.c | 153 ++- src/seq/user-client.h | 18 +- tests/alsaseq-enums | 20 +- tests/alsaseq-event-cntr | 60 -- tests/alsaseq-port-info | 4 +- tests/alsaseq-subscribe-data | 4 +- tests/alsaseq-user-client | 1 + tests/meson.build | 1 - 27 files changed, 2452 insertions(+), 2191 deletions(-) create mode 100644 src/seq/event.c create mode 100644 src/seq/event.h delete mode 100644 src/seq/tstamp.c delete mode 100644 src/seq/tstamp.h delete mode 100644 tests/alsaseq-event-cntr ``` Request URL : https://github.com/alsa-project/alsa-gobject/pull/75 Patch URL : https://github.com/alsa-project/alsa-gobject/pull/75.patch Repository URL: https://github.com/alsa-project/alsa-gobject