gstsystemclock.inc 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. /* GStreamer
  3. * Copyright (C) 1999,2000 Erik Walthinsen <[email protected]>
  4. * 2000 Wim Taymans <[email protected]>
  5. * 2005 Wim Taymans <[email protected]>
  6. *
  7. * gstsystemclock.h: A clock implementation based on system time
  8. *
  9. * This library is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Library General Public
  11. * License as published by the Free Software Foundation; either
  12. * version 2 of the License, or (at your option) any later version.
  13. *
  14. * This library is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Library General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Library General Public
  20. * License along with this library; if not, write to the
  21. * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
  22. * Boston, MA 02110-1301, USA.
  23. */
  24. }
  25. Type
  26. P_GstSystemClock = ^T_GstSystemClock;
  27. P_GstSystemClockClass = ^T_GstSystemClockClass;
  28. PGstClockType = ^TGstClockType;
  29. PGstSystemClock = ^TGstSystemClock;
  30. PGstSystemClock_autoptr = ^TGstSystemClock_autoptr;
  31. PGstSystemClock_listautoptr = ^TGstSystemClock_listautoptr;
  32. PGstSystemClock_queueautoptr = ^TGstSystemClock_queueautoptr;
  33. PGstSystemClock_slistautoptr = ^TGstSystemClock_slistautoptr;
  34. PGstSystemClockPrivate = ^TGstSystemClockPrivate;
  35. TGstSystemClockPrivate = record end;
  36. T_GstSystemClockPrivate = TGstSystemClockPrivate;
  37. TGstClockType = (
  38. GST_CLOCK_TYPE_REALTIME := 0,
  39. GST_CLOCK_TYPE_MONOTONIC := 1,
  40. GST_CLOCK_TYPE_OTHER := 2);
  41. T_GstSystemClock = record
  42. clock : TGstClock;
  43. priv : PGstSystemClockPrivate;
  44. _gst_reserved : array[0..3] of Tgpointer;
  45. end;
  46. TGstSystemClock = T_GstSystemClock ;
  47. T_GstSystemClockClass = record
  48. parent_class : TGstClockClass;
  49. _gst_reserved : array[0..3] of Tgpointer;
  50. end;
  51. TGstSystemClockClass = T_GstSystemClockClass ;
  52. TGstSystemClock_autoptr = PGstSystemClock;
  53. TGstSystemClock_listautoptr = PGList;
  54. TGstSystemClock_slistautoptr = PGSList;
  55. TGstSystemClock_queueautoptr = PGQueue;
  56. function gst_system_clock_get_type:TGType;cdecl;external gstreamerlib name 'gst_system_clock_get_type';
  57. function gst_system_clock_obtain:PGstClock;cdecl;external gstreamerlib name 'gst_system_clock_obtain';
  58. procedure gst_system_clock_set_default(new_clock:PGstClock);cdecl;external gstreamerlib name 'gst_system_clock_set_default';