From: Takashi Sakamoto Date: Mon, 20 Jun 2022 09:44:49 +0000 (+0900) Subject: seq: queue-info: add annotation to object properties X-Git-Tag: v0.3.0~43 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e55cfac3e1ab571dc59aeb59fbecdc6efdb2c784;p=alsa-gobject.git seq: queue-info: add annotation to object properties Signed-off-by: Takashi Sakamoto --- diff --git a/src/seq/queue-info.c b/src/seq/queue-info.c index f7b7c95..2d299b6 100644 --- a/src/seq/queue-info.c +++ b/src/seq/queue-info.c @@ -85,6 +85,11 @@ static void alsaseq_queue_info_class_init(ALSASeqQueueInfoClass *klass) gobject_class->set_property = seq_queue_info_set_property; gobject_class->get_property = seq_queue_info_get_property; + /** + * ALSASeqQueueInfo:queue-id: + * + * The numeric ID of queue. An entry of ALSASeqSpecificQueueId is available as well. + */ seq_queue_info_props[SEQ_QUEUE_INFO_PROP_QUEUE_ID] = g_param_spec_uchar("queue-id", "queue-id", "The numeric ID of queue. An entry of ALSASeqSpecificQueueId is " @@ -93,20 +98,35 @@ static void alsaseq_queue_info_class_init(ALSASeqQueueInfoClass *klass) 0, G_PARAM_READWRITE); + /** + * ALSASeqQueueInfo:client-id: + * + * The numeric ID of client which owns the queue, including one of ALSASeqSpecificClientId. + */ seq_queue_info_props[SEQ_QUEUE_INFO_PROP_CLIENT_ID] = g_param_spec_uchar("client-id", "client-id", - "The numeric ID of client which owns the queue. An entry of " - "ALSASeqSpecificClientId is available as well" + "The numeric ID of client which owns the queue, including one of " + "ALSASeqSpecificClientId.", 0, G_MAXUINT8, 0, G_PARAM_READWRITE); + /** + * ALSASeqQueueInfo:locked: + * + * Whether to be locked by the other queues or not. + */ seq_queue_info_props[SEQ_QUEUE_INFO_PROP_LOCKED] = g_param_spec_boolean("locked", "locked", "Whether to be locked by the other queues or not.", FALSE, G_PARAM_READWRITE); + /** + * ALSASeqQueueInfo:name: + * + * The name of queue. + */ seq_queue_info_props[SEQ_QUEUE_INFO_PROP_NAME] = g_param_spec_string("name", "name", "The name of queue.",