Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
"alsaseq_port_info_new";
"alsaseq_client_pool_get_type";
+
+ "alsaseq_tstamp_get_type";
local:
*;
};
'addr.c',
'port-info.c',
'client-pool.c',
+ 'tstamp.c',
)
headers = files(
'addr.h',
'port-info.h',
'client-pool.h',
+ 'tstamp.h',
)
privates = files(
--- /dev/null
+// SPDX-License-Identifier: LGPL-3.0-or-later
+#include "tstamp.h"
+
+ALSASeqTstamp *seq_tstamp_copy(const ALSASeqTstamp *self)
+{
+ return g_memdup(self, sizeof(*self));
+}
+
+G_DEFINE_BOXED_TYPE(ALSASeqTstamp, alsaseq_tstamp, seq_tstamp_copy, g_free)
--- /dev/null
+// SPDX-License-Identifier: LGPL-3.0-or-later
+#ifndef __ALSA_GOBJECT_ALSASEQ_TSTAMP__H__
+#define __ALSA_GOBJECT_ALSASEQ_TSTAMP__H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <sound/asequencer.h>
+
+G_BEGIN_DECLS
+
+#define ALSASEQ_TYPE_TSTAMP (alsaseq_tstamp_get_type())
+
+typedef union snd_seq_timestamp ALSASeqTstamp;
+
+GType alsaseq_tstamp_get_type() G_GNUC_CONST;
+
+G_END_DECLS
+
+#endif