<xi:include href="xml/instance-info.xml"/>
<xi:include href="xml/instance-status.xml"/>
<xi:include href="xml/instance-params.xml"/>
+ <xi:include href="xml/event.xml"/>
<xi:include href="xml/event-data-tick.xml"/>
<xi:include href="xml/event-data-tstamp.xml"/>
</chapter>
alsatimer_instance_info_get_type
alsatimer_instance_params_get_type
alsatimer_instance_status_get_type
+alsatimer_event_get_type
alsatimer_event_data_tick_get_type
alsatimer_event_data_tstamp_get_type
// SPDX-License-Identifier: LGPL-3.0-or-later
#include "event.h"
+/**
+ * SECTION: event
+ * @Title: ALSATimerEvent
+ * @Short_description: A boxed object to represent event of timer
+ *
+ * A #ALSATimerEvent is a boxed object to represent event of timer. The
+ * instance of object uses single storage for two types of event data;
+ * #ALSATimerEventDataTick for and #ALSATimerEventDataTstamp. Applications can
+ * decide to use one of the two by passing one of #ALSATimerEventType to the
+ * call of alsatimer_user_instance_attach().
+ */
ALSATimerEvent *timer_event_copy(const ALSATimerEvent *self)
{
return g_memdup(self, sizeof(*self));