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

index c6480c173b91fc07fd40983f9a568e82d09db065..0840be35c96d3b7d0d45e6a2ca8d170326f62b05 100644 (file)
@@ -69,6 +69,11 @@ static void alsatimer_device_params_class_init(ALSATimerDeviceParamsClass *klass
     gobject_class->set_property = timer_device_params_set_property;
     gobject_class->get_property = timer_device_params_get_property;
 
+    /**
+     * ALSATimerDeviceParams:period-numerator:
+     *
+     * The numerator of period for timer.
+     */
     timer_device_params_props[TIMER_DEVICE_PARAMS_PROP_PERIOD_NUM] =
         g_param_spec_uint64("period-numerator", "period-numerator",
                             "The numerator of period for timer.",
@@ -76,6 +81,11 @@ static void alsatimer_device_params_class_init(ALSATimerDeviceParamsClass *klass
                             0,
                             G_PARAM_READWRITE);
 
+    /**
+     * ALSATimerDeviceParams:period-denominator:
+     *
+     * The denominator of period for timer.
+     */
     timer_device_params_props[TIMER_DEVICE_PARAMS_PROP_PERIOD_DEN] =
         g_param_spec_uint64("period-denominator", "period-denominator",
                             "The denominator of period for timer.",