gstreamer/gstreamer-sharp/Clock.custom
Aaron Bockover 448405d86a 2006-07-12 Aaron Bockover <aaron@abock.org>
* gstreamer-sharp.mds:
    * gstreamer-sharp.mdp: Updated MonoDevelo project/solution

    * source/gstreamer-sharp-source.xml: Cleaned up a bit

    * sample/DecodeBinTranscoder.cs: Updated to reflect renaming of
    Clock.GstSecond to Clock.Second, etc.

    * gstreamer-sharp/glue/clock.c: Added gstsharp_gst_clock_get_time_none
    and gstsharp_gst_clock_time_is_valid

    * gstreamer-sharp/Clock.custom: Added bindings for new clock glue
    and renamed GstNSecond to NSecond (and friends)



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@62535 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-07-12 21:49:32 +00:00

34 lines
1.2 KiB
Text

[DllImport("gstsharpglue-0.10")]
private extern static ulong gstsharp_gst_clock_get_gst_second();
public static readonly ulong Second = gstsharp_gst_clock_get_gst_second();
[DllImport("gstsharpglue-0.10")]
private extern static ulong gstsharp_gst_clock_get_gst_msecond();
public static readonly ulong MSecond = gstsharp_gst_clock_get_gst_second();
[DllImport("gstsharpglue-0.10")]
private extern static ulong gstsharp_gst_clock_get_gst_usecond();
public static readonly ulong USecond = gstsharp_gst_clock_get_gst_second();
[DllImport("gstsharpglue-0.10")]
private extern static ulong gstsharp_gst_clock_get_gst_nsecond();
public static readonly ulong NSecond = gstsharp_gst_clock_get_gst_second();
[DllImport("gstsharpglue-0.10")]
private extern static ulong gstsharp_gst_clock_get_clock_time_none();
public static readonly ulong TimeNone = gstsharp_gst_clock_get_clock_time_none();
[DllImport("gstsharpglue-0.10")]
private extern static bool gstsharp_gst_clock_time_is_valid(ulong time);
public static bool TimeIsValid(ulong time)
{
return gstsharp_gst_clock_time_is_valid(time);
}