]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
timer: tick-timer-event: fix method name
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 13 Jul 2025 08:57:16 +0000 (17:57 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 13 Jul 2025 08:59:47 +0000 (17:59 +0900)
At the previous code change, ALSATimer.TickTimeEvent.get_tick() has been
renamed .get_count(), while it has been left as is.

This commit fixes the bug.

Fixes: 16033c8dbe61 ("timer: tick-time-event: rename boxed structure")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/timer/tick-time-event.c

index c9a5e4658602c3a21f3c54aa5c142f9527f48934..b9f85000854349958228f55bd88cf72d06fd189d 100644 (file)
@@ -44,7 +44,7 @@ void alsatimer_tick_time_event_get_resolution(const ALSATimerTickTimeEvent *self
  *
  * Get the tick count since the last event.
  */
-void alsatimer_tick_time_event_get_ticks(const ALSATimerTickTimeEvent *self, guint *count)
+void alsatimer_tick_time_event_get_count(const ALSATimerTickTimeEvent *self, guint *count)
 {
     *count = self->ticks;
 }