Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
0f1422a0
Commit
0f1422a0
authored
Apr 23, 2002
by
Thomas Vander Stichele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc changes
Original commit message from CVS: doc changes
parent
cb245cd3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
gst/gstclock.c
gst/gstclock.c
+21
-21
gst/gstclock.h
gst/gstclock.h
+1
-1
No files found.
gst/gstclock.c
View file @
0f1422a0
...
...
@@ -164,9 +164,9 @@ gst_clock_init (GstClock *clock)
/**
* gst_clock_async_supported
* @clock:
The c
lock to query
* @clock:
a #GstC
lock to query
*
* Check if this clock can support async notification.
* Check
s
if this clock can support async
hronous
notification.
*
* Returns: TRUE if async notification is supported.
*/
...
...
@@ -180,10 +180,10 @@ gst_clock_async_supported (GstClock *clock)
/**
* gst_clock_set_speed
* @clock:
The c
lock to modify
* @speed:
T
he speed to set on the clock
* @clock:
a #GstC
lock to modify
* @speed:
t
he speed to set on the clock
*
* Set the speed on the given clock. 1.0 is the default
* Set
s
the speed on the given clock. 1.0 is the default
* speed.
*/
void
...
...
@@ -196,9 +196,9 @@ gst_clock_set_speed (GstClock *clock, gdouble speed)
/**
* gst_clock_get_speed
* @clock:
The c
lock to query
* @clock:
a #GstC
lock to query
*
* Get the speed of the given clock.
* Get
s
the speed of the given clock.
*
* Returns: the speed of the clock.
*/
...
...
@@ -213,7 +213,7 @@ gst_clock_get_speed (GstClock *clock)
/**
* gst_clock_reset
* @clock:
The c
lock to reset
* @clock:
a #GstC
lock to reset
*
* Reset the clock to time 0.
*/
...
...
@@ -236,15 +236,15 @@ gst_clock_reset (GstClock *clock)
}
/**
* gst_clock_activ
at
e
* @clock:
The c
lock to
activate
* @active: flag indicati
o
n activate or deactivate
* gst_clock_
set_
active
* @clock:
a #GstC
lock to
set state of
* @active: flag indicatin
g if the clock should be
activate
d (TRUE)
or deactivate
d
*
* Activates or deactivates the clock based on the activ
at
e param
a
ter.
* Activates or deactivates the clock based on the active param
e
ter.
* As soon as the clock is activated, the time will start ticking.
*/
void
gst_clock_activ
at
e
(
GstClock
*
clock
,
gboolean
active
)
gst_clock_
set_
active
(
GstClock
*
clock
,
gboolean
active
)
{
GstClockTime
time
=
0LL
;
...
...
@@ -272,7 +272,7 @@ gst_clock_activate (GstClock *clock, gboolean active)
/**
* gst_clock_is_active
* @clock:
The c
lock to query
* @clock:
a #GstC
lock to query
*
* Checks if the given clock is active.
*
...
...
@@ -288,9 +288,9 @@ gst_clock_is_active (GstClock *clock)
/**
* gst_clock_get_time
* @clock:
The c
lock to query
* @clock:
a #GstC
lock to query
*
* Get the current time of the given clock. The time is always
* Get
s
the current time of the given clock. The time is always
* monotonically increasing.
*
* Returns: the time of the clock.
...
...
@@ -346,12 +346,12 @@ gst_clock_wait_async_func (GstClock *clock, GstClockTime time,
/**
* gst_clock_wait
* @clock:
The c
lock to wait on
* @time: The
t
ime to wait for
* @clock:
a #GstC
lock to wait on
* @time: The
#GstClockT
ime to wait for
*
* Wait and block till the clock reaches the specified time.
*
* Returns: result of the operation.
* Returns:
the #GstClockReturn
result of the operation.
*/
GstClockReturn
gst_clock_wait
(
GstClock
*
clock
,
GstClockTime
time
)
...
...
@@ -369,8 +369,8 @@ gst_clock_wait (GstClock *clock, GstClockTime time)
/**
* gst_clock_wait_async
* @clock:
The c
lock to wait on
* @time: The
t
ime to wait for
* @clock:
a #GstC
lock to wait on
* @time: The
#GstClockT
ime to wait for
* @func: The callback function
* @user_data: User data passed in the calback
*
...
...
gst/gstclock.h
View file @
0f1422a0
...
...
@@ -92,7 +92,7 @@ GType gst_clock_get_type (void);
void
gst_clock_set_speed
(
GstClock
*
clock
,
gdouble
speed
);
gdouble
gst_clock_get_speed
(
GstClock
*
clock
);
void
gst_clock_activ
at
e
(
GstClock
*
clock
,
gboolean
active
);
void
gst_clock_
set_
active
(
GstClock
*
clock
,
gboolean
active
);
gboolean
gst_clock_is_active
(
GstClock
*
clock
);
void
gst_clock_reset
(
GstClock
*
clock
);
gboolean
gst_clock_async_supported
(
GstClock
*
clock
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment