--- /dev/null
+// SPDX-License-Identifier: LGPL-3.0-or-later
+#include "substream-info.h"
+
+G_DEFINE_TYPE(ALSARawmidiSubstreamInfo, alsarawmidi_substream_info, G_TYPE_OBJECT)
+
+static void alsarawmidi_substream_info_class_init(ALSARawmidiSubstreamInfoClass *klass)
+{
+ return;
+}
+
+static void alsarawmidi_substream_info_init(ALSARawmidiSubstreamInfo *self)
+{
+ return;
+}
--- /dev/null
+// SPDX-License-Identifier: LGPL-3.0-or-later
+#ifndef __ALSA_GOBJECT_ALSARAWMIDI_SUBSTREAM_INFO__H__
+#define __ALSA_GOBJECT_ALSARAWMIDI_SUBSTREAM_INFO__H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define ALSARAWMIDI_TYPE_SUBSTREAM_INFO (alsarawmidi_substream_info_get_type())
+
+#define ALSARAWMIDI_SUBSTREAM_INFO(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj), \
+ ALSARAWMIDI_TYPE_SUBSTREAM_INFO, \
+ ALSARawmidiSubstreamInfo))
+#define ALSARAWMIDI_IS_SUBSTREAM_INFO(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
+ ALSARAWMIDI_TYPE_SUBSTREAM_INFO))
+
+#define ALSARAWMIDI_SUBSTREAM_INFO_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST((klass), \
+ ALSARAWMIDI_TYPE_SUBSTREAM_INFO, \
+ ALSARawmidiSubstreamInfoClass))
+#define ALSARAWMIDI_IS_SUBSTREAM_INFO_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE((klass), \
+ ALSARAWMIDI_TYPE_SUBSTREAM_INFO))
+#define ALSARAWMIDI_SUBSTREAM_INFO_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS((obj), \
+ ALSARAWMIDI_TYPE_SUBSTREAM_INFO, \
+ ALSARawmidiSubstreamInfoClass))
+
+typedef struct _ALSARawmidiSubstreamInfo ALSARawmidiSubstreamInfo;
+typedef struct _ALSARawmidiSubstreamInfoClass ALSARawmidiSubstreamInfoClass;
+
+struct _ALSARawmidiSubstreamInfo {
+ GObject parent_instance;
+};
+
+struct _ALSARawmidiSubstreamInfoClass {
+ GObjectClass parent_class;
+};
+
+GType alsarawmidi_substream_info_get_type() G_GNUC_CONST;
+
+G_END_DECLS
+
+#endif
--- /dev/null
+#!/usr/bin/env python3
+
+from sys import exit
+from errno import ENXIO
+
+from helper import test
+
+import gi
+gi.require_version('ALSARawmidi', '0.0')
+from gi.repository import ALSARawmidi
+
+target = ALSARawmidi.SubstreamInfo()
+props = ()
+methods = ()
+signals = ()
+
+if not test(target, props, methods, signals):
+ exit(ENXIO)