doc changes

Original commit message from CVS:
doc changes
This commit is contained in:
Thomas Vander Stichele 2002-04-23 15:01:56 +00:00
parent cb245cd3e0
commit 0f1422a0d6
2 changed files with 22 additions and 22 deletions

View file

@ -164,9 +164,9 @@ gst_clock_init (GstClock *clock)
/** /**
* gst_clock_async_supported * gst_clock_async_supported
* @clock: The clock to query * @clock: a #GstClock to query
* *
* Check if this clock can support async notification. * Checks if this clock can support asynchronous notification.
* *
* Returns: TRUE if async notification is supported. * Returns: TRUE if async notification is supported.
*/ */
@ -180,10 +180,10 @@ gst_clock_async_supported (GstClock *clock)
/** /**
* gst_clock_set_speed * gst_clock_set_speed
* @clock: The clock to modify * @clock: a #GstClock to modify
* @speed: The speed to set on the clock * @speed: the speed to set on the clock
* *
* Set the speed on the given clock. 1.0 is the default * Sets the speed on the given clock. 1.0 is the default
* speed. * speed.
*/ */
void void
@ -196,9 +196,9 @@ gst_clock_set_speed (GstClock *clock, gdouble speed)
/** /**
* gst_clock_get_speed * gst_clock_get_speed
* @clock: The clock to query * @clock: a #GstClock to query
* *
* Get the speed of the given clock. * Gets the speed of the given clock.
* *
* Returns: the speed of the clock. * Returns: the speed of the clock.
*/ */
@ -213,7 +213,7 @@ gst_clock_get_speed (GstClock *clock)
/** /**
* gst_clock_reset * gst_clock_reset
* @clock: The clock to reset * @clock: a #GstClock to reset
* *
* Reset the clock to time 0. * Reset the clock to time 0.
*/ */
@ -236,15 +236,15 @@ gst_clock_reset (GstClock *clock)
} }
/** /**
* gst_clock_activate * gst_clock_set_active
* @clock: The clock to activate * @clock: a #GstClock to set state of
* @active: flag indication activate or deactivate * @active: flag indicating if the clock should be activated (TRUE) or deactivated
* *
* Activates or deactivates the clock based on the activate paramater. * Activates or deactivates the clock based on the active parameter.
* As soon as the clock is activated, the time will start ticking. * As soon as the clock is activated, the time will start ticking.
*/ */
void void
gst_clock_activate (GstClock *clock, gboolean active) gst_clock_set_active (GstClock *clock, gboolean active)
{ {
GstClockTime time = 0LL; GstClockTime time = 0LL;
@ -272,7 +272,7 @@ gst_clock_activate (GstClock *clock, gboolean active)
/** /**
* gst_clock_is_active * gst_clock_is_active
* @clock: The clock to query * @clock: a #GstClock to query
* *
* Checks if the given clock is active. * Checks if the given clock is active.
* *
@ -288,9 +288,9 @@ gst_clock_is_active (GstClock *clock)
/** /**
* gst_clock_get_time * gst_clock_get_time
* @clock: The clock to query * @clock: a #GstClock to query
* *
* Get the current time of the given clock. The time is always * Gets the current time of the given clock. The time is always
* monotonically increasing. * monotonically increasing.
* *
* Returns: the time of the clock. * Returns: the time of the clock.
@ -346,12 +346,12 @@ gst_clock_wait_async_func (GstClock *clock, GstClockTime time,
/** /**
* gst_clock_wait * gst_clock_wait
* @clock: The clock to wait on * @clock: a #GstClock to wait on
* @time: The time to wait for * @time: The #GstClockTime to wait for
* *
* Wait and block till the clock reaches the specified time. * Wait and block till the clock reaches the specified time.
* *
* Returns: result of the operation. * Returns: the #GstClockReturn result of the operation.
*/ */
GstClockReturn GstClockReturn
gst_clock_wait (GstClock *clock, GstClockTime time) gst_clock_wait (GstClock *clock, GstClockTime time)
@ -369,8 +369,8 @@ gst_clock_wait (GstClock *clock, GstClockTime time)
/** /**
* gst_clock_wait_async * gst_clock_wait_async
* @clock: The clock to wait on * @clock: a #GstClock to wait on
* @time: The time to wait for * @time: The #GstClockTime to wait for
* @func: The callback function * @func: The callback function
* @user_data: User data passed in the calback * @user_data: User data passed in the calback
* *

View file

@ -92,7 +92,7 @@ GType gst_clock_get_type (void);
void gst_clock_set_speed (GstClock *clock, gdouble speed); void gst_clock_set_speed (GstClock *clock, gdouble speed);
gdouble gst_clock_get_speed (GstClock *clock); gdouble gst_clock_get_speed (GstClock *clock);
void gst_clock_activate (GstClock *clock, gboolean active); void gst_clock_set_active (GstClock *clock, gboolean active);
gboolean gst_clock_is_active (GstClock *clock); gboolean gst_clock_is_active (GstClock *clock);
void gst_clock_reset (GstClock *clock); void gst_clock_reset (GstClock *clock);
gboolean gst_clock_async_supported (GstClock *clock); gboolean gst_clock_async_supported (GstClock *clock);