alsa-project/alsa-gobject pull request #78 was opened from takaswie:
In ALSATimer library some methods are named with the word `tstamp`. On the other hand, in ALSASeq library the similar methods are named with the word `real_time`. For consistency, this patchset renames methods in ALSATimer library. As a result, the word `tstamp` is not used at all.
``` Takashi Sakamoto (10): utils: successfully parse the string teminated by '\n' timer: move ALSATimer.TickEvent files for future rename timer: move ALSATimer.TstampEvent files for future rename timer: tick-time-event: rename boxed structure timer: real-time-event: rename boxed structure timer: enums: rename to ALSATimer.EventType.TICK_TIME and REAL_TIME timer: enums: rename to ALSATimer.RealTimeEventType timer: instance-status: rename method with real time timer: query: rename to ALSATimer.get_real_time_clock_id() seq: event: fix description about methods relevant to time stamp
samples/timer | 26 +++---- src/seq/event.c | 16 ++-- src/timer/alsatimer-enum-types.h | 74 +++++++++---------- src/timer/alsatimer.h | 4 +- src/timer/alsatimer.map | 20 ++--- src/timer/instance-params.c | 20 ++--- src/timer/instance-params.h | 4 +- src/timer/instance-status.c | 22 +++--- src/timer/instance-status.h | 3 +- src/timer/meson.build | 8 +- src/timer/query.c | 16 ++-- src/timer/query.h | 2 +- src/timer/real-time-event.c | 65 ++++++++++++++++ src/timer/real-time-event.h | 25 +++++++ src/timer/tick-event.c | 51 ------------- src/timer/tick-event.h | 23 ------ src/timer/tick-time-event.c | 50 +++++++++++++ src/timer/tick-time-event.h | 22 ++++++ src/timer/tstamp-event.c | 64 ---------------- src/timer/tstamp-event.h | 24 ------ src/timer/user-instance.c | 56 +++++++------- src/timer/user-instance.h | 17 +++-- src/utils/string.c | 2 +- tests/alsatimer-enums | 8 +- tests/alsatimer-functions | 2 +- tests/alsatimer-instance-status | 2 +- ...tstamp-event => alsatimer-real-time-event} | 4 +- ...r-tick-event => alsatimer-tick-time-event} | 4 +- tests/alsatimer-user-instance | 8 +- tests/meson.build | 4 +- 30 files changed, 324 insertions(+), 322 deletions(-) create mode 100644 src/timer/real-time-event.c create mode 100644 src/timer/real-time-event.h delete mode 100644 src/timer/tick-event.c delete mode 100644 src/timer/tick-event.h create mode 100644 src/timer/tick-time-event.c create mode 100644 src/timer/tick-time-event.h delete mode 100644 src/timer/tstamp-event.c delete mode 100644 src/timer/tstamp-event.h rename tests/{alsatimer-tstamp-event => alsatimer-real-time-event} (84%) rename tests/{alsatimer-tick-event => alsatimer-tick-time-event} (83%) ```
Request URL : https://github.com/alsa-project/alsa-gobject/pull/78 Patch URL : https://github.com/alsa-project/alsa-gobject/pull/78.patch Repository URL: https://github.com/alsa-project/alsa-gobject