]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
timer: device-status: add annotation to object properties
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 20 Jun 2022 09:44:49 +0000 (18:44 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Mon, 20 Jun 2022 23:22:25 +0000 (08:22 +0900)
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/timer/device-status.c

index bab91f4e785a61ddb7c0064a657096ce128896ec..38900c139f318b34a50924ca2f4933c21bf311f1 100644 (file)
@@ -53,6 +53,11 @@ static void alsatimer_device_status_class_init(ALSATimerDeviceStatusClass *klass
 
     gobject_class->get_property = timer_device_status_get_property;
 
+    /**
+     * ALSATimerDeviceStatus:resolution:
+     *
+     * The current resolution in nano seconds.
+     */
     timer_device_status_props[TIMER_DEVICE_STATUS_PROP_RESOLUTION] =
         g_param_spec_uint64("resolution", "resolution",
                             "The current resolution in nano seconds.",
@@ -60,6 +65,11 @@ static void alsatimer_device_status_class_init(ALSATimerDeviceStatusClass *klass
                             0,
                             G_PARAM_READABLE);
 
+    /**
+     * ALSATimerDeviceStatus:resolution-numerator:
+     *
+     * The numerator of current resolution in seconds.
+     */
     timer_device_status_props[TIMER_DEVICE_STATUS_PROP_RESOLUTION_NUM] =
         g_param_spec_uint64("resolution-numerator", "resolution-numerator",
                             "The numerator of current resolution in seconds.",
@@ -67,6 +77,11 @@ static void alsatimer_device_status_class_init(ALSATimerDeviceStatusClass *klass
                             0,
                             G_PARAM_READABLE);
 
+    /**
+     * ALSATimerDeviceStatus:resolution-denominator:
+     *
+     * The denominator of current resolution in seconds.
+     */
     timer_device_status_props[TIMER_DEVICE_STATUS_PROP_RESOLUTION_DEN] =
         g_param_spec_uint64("resolution-denominator", "resolution-denominator",
                             "The denominator of current resolution in seconds.",