diff options
author | Andy Wingo <wingo@pobox.com> | 2003-07-03 14:35:50 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2003-07-03 14:35:50 +0000 |
commit | 82c42cb6fd5e2127c3eddaee93d4db254498043b (patch) | |
tree | 35db2534d9f18c54f80470f24c0ba8e8e37b3cca /sys/oss/gstossclock.h | |
parent | b69213925fb117e8c49e6032dd09631bc446536e (diff) |
implemented wait_async and unschedule ossclock, and support it in osssink -- really should make this a general clock,...
Original commit message from CVS:
implemented wait_async and unschedule ossclock, and support it in osssink -- really should make this a general clock, ill need it in gstsf
Diffstat (limited to 'sys/oss/gstossclock.h')
-rw-r--r-- | sys/oss/gstossclock.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/oss/gstossclock.h b/sys/oss/gstossclock.h index 82ac6011..279adfa1 100644 --- a/sys/oss/gstossclock.h +++ b/sys/oss/gstossclock.h @@ -57,6 +57,8 @@ struct _GstOssClock { GstClockTime prev1, prev2; GstClockTimeDiff adjust; + GSList *async_entries; + gboolean active; }; @@ -64,11 +66,13 @@ struct _GstOssClockClass { GstSystemClockClass parent_class; }; -GType gst_oss_clock_get_type (void); -GstOssClock* gst_oss_clock_new (gchar *name, GstOssClockGetTimeFunc func, - gpointer user_data); -void gst_oss_clock_set_active (GstClock *clock, gboolean active); -void gst_oss_clock_set_time (GstClock *clock, GstClockTime time); +GType gst_oss_clock_get_type (void); +GstOssClock* gst_oss_clock_new (gchar *name, GstOssClockGetTimeFunc func, + gpointer user_data); +void gst_oss_clock_set_active (GstClock *clock, gboolean active); +void gst_oss_clock_set_time (GstClock *clock, GstClockTime time); + +void gst_oss_clock_update_time (GstClock *clock, GstClockTime time); #ifdef __cplusplus } |