]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
ctl: card: 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/ctl/card.c

index 8b0bfbb3f3584de7428c2a0d62e22f0bcfe9cfb9..26e9dd5603c6e5546bbe15b2044107e874afacc4 100644 (file)
@@ -116,12 +116,22 @@ static void alsactl_card_class_init(ALSACtlCardClass *klass)
     gobject_class->finalize = ctl_card_finalize;
     gobject_class->get_property = ctl_card_get_property;
 
+    /**
+     * ALSACtlCard:devnode:
+     *
+     * The full path to special file of control character device.
+     */
     ctl_card_props[CTL_CARD_PROP_DEVNODE] =
         g_param_spec_string("devnode", "devnode",
-                            "The full path of control character device.",
+                            "The full path to special file of control character device.",
                             "",
                             G_PARAM_READABLE);
 
+    /**
+     * ALSACtlCard:subscribed:
+     *
+     * Whether to be subscribed for event.
+     */
     ctl_card_props[CTL_CARD_PROP_SUBSCRIBED] =
         g_param_spec_boolean("subscribed", "subscribed",
                              "Whether to be subscribed for event.",