]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
seq: queue-status: add annotation to object properties
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 20 Jun 2022 09:44:49 +0000 (18:44 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 20 Jun 2022 09:44:49 +0000 (18:44 +0900)
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/seq/queue-status.c

index de394c93f0f6b1d6561a3db780d69fc18ae42f44..a8375d1228504dc45ebb212ba4a77c419fd5919b 100644 (file)
@@ -52,6 +52,11 @@ static void alsaseq_queue_status_class_init(ALSASeqQueueStatusClass *klass)
 
     gobject_class->get_property = seq_queue_status_get_property;
 
+    /**
+     * ALSASeqQueueStatus:queue-id:
+     *
+     * The numeric ID of queue. An entry of ALSASeqSpecificQueueId is available as well.
+     */
     seq_queue_status_props[SEQ_QUEUE_STATUS_PROP_QUEUE_ID] =
         g_param_spec_uchar("queue-id", "queue-id",
                            "The numeric ID of queue. An entry of ALSASeqSpecificQueueId is "
@@ -60,6 +65,11 @@ static void alsaseq_queue_status_class_init(ALSASeqQueueStatusClass *klass)
                            0,
                            G_PARAM_READABLE);
 
+    /**
+     * ALSASeqQueueStatus:event-count:
+     *
+     * The number of available events in the queue.
+     */
     seq_queue_status_props[SEQ_QUEUE_STATUS_PROP_EVENT_COUNT] =
         g_param_spec_int("event-count", "event-count",
                          "The number of available events in the queue.",
@@ -67,6 +77,11 @@ static void alsaseq_queue_status_class_init(ALSASeqQueueStatusClass *klass)
                          0,
                          G_PARAM_READABLE);
 
+    /**
+     * ALSASeqQueueStatus:running:
+     *
+     * Whether the queue is running or not.
+     */
     seq_queue_status_props[SEQ_QUEUE_STATUS_PROP_RUNNING] =
         g_param_spec_boolean("running", "running",
                              "Whether the queue is running or not.",