mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
Finish/fix the Gst.Clock and related bindings and update docs
This commit is contained in:
parent
2e264d16c0
commit
35ed5308a6
19 changed files with 351 additions and 240 deletions
|
@ -139,12 +139,7 @@
|
|||
<ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue>
|
||||
<Parameters />
|
||||
<Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="SyncHandler">
|
||||
<MemberSignature Language="C#" Value="public Gst.BusSyncHandler SyncHandler { set; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.BusSyncHandler</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="SyncMessage">
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="SyncHandler"><MemberSignature Language="C#" Value="public Gst.BusSyncHandler SyncHandler { set; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.BusSyncHandler</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="SyncMessage">
|
||||
<MemberSignature Language="C#" Value="public event Gst.SyncMessageHandler SyncMessage;" />
|
||||
<MemberType>Event</MemberType>
|
||||
<Attributes><Attribute><AttributeName>GLib.Signal("sync-message")</AttributeName></Attribute></Attributes>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
<Type Name="ClockCallback" FullName="Gst.ClockCallback">
|
||||
<TypeSignature Language="C#" Value="public delegate bool ClockCallback(Clock clock, ulong time, IntPtr id);" />
|
||||
<TypeSignature Language="C#" Value="public delegate bool ClockCallback(Clock clock, ulong time, ClockEntry id);" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>gstreamer-sharp</AssemblyName>
|
||||
<AssemblyVersion>0.9.5.99</AssemblyVersion>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<Parameters>
|
||||
<Parameter Name="clock" Type="Gst.Clock" />
|
||||
<Parameter Name="time" Type="System.UInt64" />
|
||||
<Parameter Name="id" Type="System.IntPtr" />
|
||||
<Parameter Name="id" Type="Gst.ClockEntry" />
|
||||
</Parameters>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<Type Name="ClockEntry" FullName="Gst.ClockEntry">
|
||||
<TypeSignature Language="C#" Value="public struct ClockEntry" />
|
||||
<TypeSignature Language="C#" Value="public class ClockEntry : GLib.Opaque" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>gstreamer-sharp</AssemblyName>
|
||||
<AssemblyVersion>0.9.5.99</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
<BaseTypeName>GLib.Opaque</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
|
@ -18,55 +18,19 @@
|
|||
|
||||
|
||||
|
||||
<Member MemberName="Clock">
|
||||
|
||||
|
||||
|
||||
|
||||
<Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ClockEntry (IntPtr raw);" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="raw" Type="System.IntPtr" /></Parameters><Docs><param name="raw">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks></Docs></Member><Member MemberName="Clock">
|
||||
<MemberSignature Language="C#" Value="public Gst.Clock Clock { set; get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.Clock</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Func">
|
||||
<MemberSignature Language="C#" Value="public Gst.ClockCallback Func { get; }" />
|
||||
<MemberSignature Language="C#" Value="public Gst.ClockCallback Func { set; get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.ClockCallback</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Interval">
|
||||
<MemberSignature Language="C#" Value="public ulong Interval;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue><ReturnType>System.UInt64</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Gst.ClockEntry New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.ClockEntry</ReturnType></ReturnValue>
|
||||
<Parameters><Parameter Name="raw" Type="System.IntPtr" /></Parameters>
|
||||
<Docs><param name="raw">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Refcount">
|
||||
<MemberSignature Language="C#" Value="public int Refcount;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Status">
|
||||
<MemberSignature Language="C#" Value="public Gst.ClockReturn Status;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.ClockReturn</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Time">
|
||||
<MemberSignature Language="C#" Value="public ulong Time;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue><ReturnType>System.UInt64</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Type">
|
||||
<MemberSignature Language="C#" Value="public Gst.ClockEntryType Type;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.ClockEntryType</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Gst.ClockEntry Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.ClockEntry</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member>
|
||||
|
||||
|
||||
|
||||
</Members>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Interval"><MemberSignature Language="C#" Value="public ulong Interval { set; get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.UInt64</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="Status"><MemberSignature Language="C#" Value="public Gst.ClockReturn Status { set; get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.ClockReturn</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="Time"><MemberSignature Language="C#" Value="public ulong Time { set; get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.UInt64</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="Type"><MemberSignature Language="C#" Value="public Gst.ClockEntryType Type { set; get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.ClockEntryType</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="Unschedule"><MemberSignature Language="C#" Value="public void Unschedule ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs></Member><Member MemberName="Wait"><MemberSignature Language="C#" Value="public Gst.ClockReturn Wait (out long jitter);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.ClockReturn</ReturnType></ReturnValue><Parameters><Parameter Name="jitter" Type="System.Int64&" RefType="out" /></Parameters><Docs><param name="jitter">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs></Member><Member MemberName="WaitAsync"><MemberSignature Language="C#" Value="public Gst.ClockReturn WaitAsync (Gst.ClockCallback func);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.ClockReturn</ReturnType></ReturnValue><Parameters><Parameter Name="func" Type="Gst.ClockCallback" /></Parameters><Docs><param name="func">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs></Member></Members>
|
||||
</Type>
|
||||
|
|
|
@ -22,7 +22,16 @@
|
|||
|
||||
|
||||
|
||||
<Member MemberName=".ctor">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="protected ElementFactory ();" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<Parameters />
|
||||
|
@ -102,24 +111,5 @@
|
|||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.StaticPadTemplate[]</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="UriProtocols">
|
||||
<MemberSignature Language="C#" Value="public string[] UriProtocols { get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>System.String[]</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="UriType">
|
||||
<MemberSignature Language="C#" Value="public int UriType { get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Members>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="UriProtocols"><MemberSignature Language="C#" Value="public string[] UriProtocols { get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String[]</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="UriType"><MemberSignature Language="C#" Value="public int UriType { get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member></Members>
|
||||
</Type>
|
||||
|
|
|
@ -76,12 +76,7 @@
|
|||
<Attributes><Attribute><AttributeName>GLib.Signal("entry-added")</AttributeName></Attribute></Attributes>
|
||||
<ReturnValue><ReturnType>Gst.EntryAddedHandler</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Filter">
|
||||
<MemberSignature Language="C#" Value="public Gst.IndexFilter Filter { set; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.IndexFilter</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="FilterFull">
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Filter"><MemberSignature Language="C#" Value="public Gst.IndexFilter Filter { set; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.IndexFilter</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="FilterFull">
|
||||
<MemberSignature Language="C#" Value="public Gst.IndexFilter FilterFull { set; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.IndexFilter</ReturnType></ReturnValue>
|
||||
|
|
|
@ -48,12 +48,7 @@
|
|||
<ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue>
|
||||
<Parameters />
|
||||
<Docs><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Filename">
|
||||
<MemberSignature Language="C#" Value="public string Filename { get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>System.String</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GType">
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Filename"><MemberSignature Language="C#" Value="public string Filename { get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="GType">
|
||||
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>GLib.GType</ReturnType></ReturnValue>
|
||||
|
|
|
@ -38,12 +38,7 @@
|
|||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>GLib.GType</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Load"><MemberSignature Language="C#" Value="public Gst.PluginFeature Load ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.PluginFeature</ReturnType></ReturnValue><Parameters /><Docs><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs></Member><Member MemberName="Rank">
|
||||
<MemberSignature Language="C#" Value="public uint Rank { set; get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>System.UInt32</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="TypeNameFilter">
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Load"><MemberSignature Language="C#" Value="public Gst.PluginFeature Load ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.PluginFeature</ReturnType></ReturnValue><Parameters /><Docs><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs></Member><Member MemberName="Rank"><MemberSignature Language="C#" Value="public uint Rank { set; get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.UInt32</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="TypeNameFilter">
|
||||
<MemberSignature Language="C#" Value="public bool TypeNameFilter (Gst.TypeNameData data);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue>
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
<ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue>
|
||||
<Parameters><Parameter Name="update" Type="System.Boolean" /><Parameter Name="rate" Type="System.Double" /><Parameter Name="format" Type="Gst.Format" /><Parameter Name="start" Type="System.Int64" /><Parameter Name="stop" Type="System.Int64" /><Parameter Name="time" Type="System.Int64" /></Parameters>
|
||||
<Docs><param name="update">To be added.</param><param name="rate">To be added.</param><param name="format">To be added.</param><param name="start">To be added.</param><param name="stop">To be added.</param><param name="time">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="SetNewsegmentFull"><MemberSignature Language="C#" Value="public void SetNewsegmentFull (bool update, double rate, double applied_rate, Gst.Format format, long start, long stop, long time);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="update" Type="System.Boolean" /><Parameter Name="rate" Type="System.Double" /><Parameter Name="applied_rate" Type="System.Double" /><Parameter Name="format" Type="Gst.Format" /><Parameter Name="start" Type="System.Int64" /><Parameter Name="stop" Type="System.Int64" /><Parameter Name="time" Type="System.Int64" /></Parameters><Docs><param name="update">To be added.</param><param name="rate">To be added.</param><param name="applied_rate">To be added.</param><param name="format">To be added.</param><param name="start">To be added.</param><param name="stop">To be added.</param><param name="time">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks></Docs></Member><Member MemberName="SetSeek">
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="SetNewsegment"><MemberSignature Language="C#" Value="public void SetNewsegment (bool update, double rate, double applied_rate, Gst.Format format, long start, long stop, long time);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="update" Type="System.Boolean" /><Parameter Name="rate" Type="System.Double" /><Parameter Name="applied_rate" Type="System.Double" /><Parameter Name="format" Type="Gst.Format" /><Parameter Name="start" Type="System.Int64" /><Parameter Name="stop" Type="System.Int64" /><Parameter Name="time" Type="System.Int64" /></Parameters><Docs><param name="update">To be added.</param><param name="rate">To be added.</param><param name="applied_rate">To be added.</param><param name="format">To be added.</param><param name="start">To be added.</param><param name="stop">To be added.</param><param name="time">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks></Docs></Member><Member MemberName="SetSeek">
|
||||
<MemberSignature Language="C#" Value="public bool SetSeek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, long start, Gst.SeekType stop_type, long stop);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue>
|
||||
|
|
|
@ -36,17 +36,7 @@
|
|||
<ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue>
|
||||
<Parameters><Parameter Name="find" Type="Gst.TypeFind" /></Parameters>
|
||||
<Docs><param name="find">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Caps">
|
||||
<MemberSignature Language="C#" Value="public Gst.Caps Caps { get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>Gst.Caps</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Extensions">
|
||||
<MemberSignature Language="C#" Value="public string Extensions { get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>System.String</ReturnType></ReturnValue>
|
||||
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GType">
|
||||
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Caps"><MemberSignature Language="C#" Value="public Gst.Caps Caps { get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.Caps</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="Extensions"><MemberSignature Language="C#" Value="public string Extensions { get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="GType">
|
||||
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue><ReturnType>GLib.GType</ReturnType></ReturnValue>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<Type Name="ChildRemovedHandler" Kind="Delegate" />
|
||||
<Type Name="Clock" Kind="Class" />
|
||||
<Type Name="ClockCallback" Kind="Delegate" />
|
||||
<Type Name="ClockEntry" Kind="Structure" />
|
||||
<Type Name="ClockEntry" Kind="Class" />
|
||||
<Type Name="ClockEntryType" Kind="Enumeration" />
|
||||
<Type Name="ClockFlags" Kind="Enumeration" />
|
||||
<Type Name="ClockReturn" Kind="Enumeration" />
|
||||
|
|
|
@ -1,33 +1,152 @@
|
|||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
private extern static ulong gstsharp_gst_clock_get_gst_second();
|
||||
|
||||
public static readonly ulong Second = gstsharp_gst_clock_get_gst_second();
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
private extern static ulong gstsharp_gst_clock_get_gst_msecond();
|
||||
|
||||
public static readonly ulong MSecond = gstsharp_gst_clock_get_gst_second();
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
private extern static ulong gstsharp_gst_clock_get_gst_usecond();
|
||||
|
||||
public static readonly ulong USecond = gstsharp_gst_clock_get_gst_second();
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
private extern static ulong gstsharp_gst_clock_get_gst_nsecond();
|
||||
|
||||
public static readonly ulong NSecond = gstsharp_gst_clock_get_gst_second();
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
private extern static ulong gstsharp_gst_clock_get_time_none();
|
||||
|
||||
public static readonly ulong TimeNone = gstsharp_gst_clock_get_time_none();
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
private extern static bool gstsharp_gst_clock_time_is_valid (ulong time);
|
||||
public static readonly ulong Second = 1000000000;
|
||||
public static readonly ulong MSecond = 1000000;
|
||||
public static readonly ulong USecond = 1000;
|
||||
public static readonly ulong NSecond = 1;
|
||||
public static readonly ulong TimeNone = 0xffffffffffffffff;
|
||||
|
||||
public static bool TimeIsValid (ulong time) {
|
||||
return gstsharp_gst_clock_time_is_valid (time);
|
||||
return (time != TimeNone);
|
||||
}
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
extern static uint gstsharp_gst_clock_get_entries_changed_offset ();
|
||||
|
||||
static uint entries_changed_offset = gstsharp_gst_clock_get_entries_changed_offset ();
|
||||
private IntPtr EntriesChangedPtr {
|
||||
get {
|
||||
unsafe {
|
||||
IntPtr* raw_ptr = (IntPtr*) ( ( (byte*) Handle) + entries_changed_offset);
|
||||
return (*raw_ptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport ("libglib-2.0-0.dll") ]
|
||||
static extern void g_cond_wait (IntPtr cond, IntPtr mutex);
|
||||
[DllImport ("libglib-2.0-0.dll") ]
|
||||
static extern bool g_cond_timed_wait (IntPtr cond, IntPtr mutex, ref _TimeVal abs_time);
|
||||
[DllImport ("libglib-2.0-0.dll") ]
|
||||
static extern void g_cond_broadcast (IntPtr cond);
|
||||
|
||||
public void Wait () {
|
||||
g_cond_wait (EntriesChangedPtr, LockPtr);
|
||||
}
|
||||
|
||||
[StructLayout (LayoutKind.Sequential) ]
|
||||
private struct _TimeVal {
|
||||
public IntPtr sec;
|
||||
public IntPtr usec;
|
||||
}
|
||||
|
||||
public bool Wait (uint mseconds) {
|
||||
_TimeVal tv = new _TimeVal ();
|
||||
long sec = mseconds / 1000;
|
||||
long usec = 1000 * (mseconds - sec * 1000);
|
||||
tv.sec = (IntPtr) (sec);
|
||||
tv.usec = (IntPtr) (usec);
|
||||
return g_cond_timed_wait (EntriesChangedPtr, LockPtr, ref tv);
|
||||
}
|
||||
|
||||
public bool Wait (TimeSpan timespan) {
|
||||
_TimeVal tv = new _TimeVal ();
|
||||
long sec = (long) timespan.TotalSeconds;
|
||||
long usec = 1000 * ( ( (long) timespan.TotalMilliseconds) - sec * 1000);
|
||||
tv.sec = (IntPtr) (sec);
|
||||
tv.usec = (IntPtr) (usec);
|
||||
return g_cond_timed_wait (EntriesChangedPtr, LockPtr, ref tv);
|
||||
}
|
||||
|
||||
public void Broadcast () {
|
||||
g_cond_broadcast (EntriesChangedPtr);
|
||||
}
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
extern static uint gstsharp_gst_clock_get_slave_lock_offset ();
|
||||
|
||||
static uint slave_lock_offset = gstsharp_gst_clock_get_slave_lock_offset ();
|
||||
private IntPtr SlaveLockPtr {
|
||||
get {
|
||||
unsafe {
|
||||
IntPtr* raw_ptr = (IntPtr*) ( ( (byte*) Handle) + slave_lock_offset);
|
||||
return (*raw_ptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport ("libglib-2.0-0.dll") ]
|
||||
static extern void g_mutex_lock (IntPtr mutex);
|
||||
[DllImport ("libglib-2.0-0.dll") ]
|
||||
static extern void g_mutex_unlock (IntPtr mutex);
|
||||
[DllImport ("libglib-2.0-0.dll") ]
|
||||
static extern bool g_mutex_trylock (IntPtr mutex);
|
||||
|
||||
public void SlaveLock () {
|
||||
g_mutex_lock (SlaveLockPtr);
|
||||
}
|
||||
|
||||
public void SlaveUnlock () {
|
||||
g_mutex_unlock (SlaveLockPtr);
|
||||
}
|
||||
|
||||
public bool TrySlaveLock () {
|
||||
return g_mutex_trylock (SlaveLockPtr);
|
||||
}
|
||||
|
||||
[DllImport ("gstreamer-0.10.dll") ]
|
||||
static extern IntPtr gst_clock_get_master (IntPtr raw);
|
||||
[DllImport ("gstreamer-0.10.dll") ]
|
||||
static extern bool gst_clock_set_master (IntPtr raw, IntPtr master);
|
||||
public Gst.Clock Master {
|
||||
get {
|
||||
IntPtr raw_ret = gst_clock_get_master (Handle);
|
||||
Gst.Clock ret = GLib.Object.GetObject (raw_ret, true) as Gst.Clock;
|
||||
return ret;
|
||||
}
|
||||
set {
|
||||
if (!gst_clock_set_master (Handle, value == null ? IntPtr.Zero : value.Handle))
|
||||
throw new Exception ();
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
extern static uint gstsharp_gst_clock_get_entries_offset ();
|
||||
|
||||
static uint entries_offset = gstsharp_gst_clock_get_entries_offset ();
|
||||
private IntPtr EntriesPtr {
|
||||
get {
|
||||
unsafe {
|
||||
IntPtr* raw_ptr = (IntPtr*) ( ( (byte*) Handle) + entries_offset);
|
||||
return (*raw_ptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected Gst.ClockEntry[] Entries {
|
||||
get {
|
||||
return (Gst.ClockEntry[]) GLib.Marshaller.ListPtrToArray (EntriesPtr, typeof(GLib.List), false, false, typeof(Gst.ClockEntry));
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
extern static uint gstsharp_gst_clock_get_times_offset ();
|
||||
|
||||
static uint times_offset = gstsharp_gst_clock_get_times_offset ();
|
||||
private IntPtr TimesPtr {
|
||||
get {
|
||||
unsafe {
|
||||
IntPtr* raw_ptr = (IntPtr*) ( ( (byte*) Handle) + times_offset);
|
||||
return (*raw_ptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected ulong[] Times {
|
||||
get {
|
||||
ulong[] ret = new ulong[4 * WindowSize];
|
||||
for (int i = 0; i < 4 * WindowSize; i++)
|
||||
ret[i] = (ulong) Marshal.ReadInt64 (TimesPtr, 8 * i);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
18
gstreamer-sharp/ClockEntry.custom
Normal file
18
gstreamer-sharp/ClockEntry.custom
Normal file
|
@ -0,0 +1,18 @@
|
|||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
static extern GstSharp.ClockCallbackNative gstsharp_gst_clock_entry_get_func (IntPtr raw);
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
static extern void gstsharp_gst_clock_entry_set_func (IntPtr raw, GstSharp.ClockCallbackNative func);
|
||||
|
||||
private GstSharp.ClockCallbackWrapper wrapper;
|
||||
|
||||
public Gst.ClockCallback Func {
|
||||
set {
|
||||
wrapper = new GstSharp.ClockCallbackWrapper (value);
|
||||
gstsharp_gst_clock_entry_set_func (Handle, wrapper.NativeDelegate);
|
||||
}
|
||||
|
||||
get {
|
||||
return GstSharp.ClockCallbackWrapper.GetManagedDelegate (gstsharp_gst_clock_entry_get_func (Handle));
|
||||
}
|
||||
}
|
||||
|
|
@ -75,6 +75,8 @@
|
|||
<attr path="/api/namespace/enum[@name='BufferFlags']/member[@cname='GST_BUFFER_FLAG_LAST']" name="value">MiniObjectFlags.Last << 8</attr>
|
||||
|
||||
<attr path="/api/namespace/object[@name='Bus']/method[@name='AddWatch']" name="hidden">true</attr>
|
||||
<!-- FIXME: Bug https://bugzilla.novell.com/show_bug.cgi?id=323372 -->
|
||||
<attr path="/api/namespace/object[@name='Bus']/field[@name='SyncHandler']" name="hidden">true</attr>
|
||||
|
||||
<attr path="/api/namespace/enum[@name='BusFlags']/member[@cname='GST_BUS_FLAG_LAST']" name="name">Last</attr>
|
||||
<attr path="/api/namespace/enum[@name='BusFlags']/member[@cname='GST_BUS_FLUSHING']" name="value">MiniObjectFlags.Last << 0</attr>
|
||||
|
@ -121,6 +123,108 @@
|
|||
<attr path="/api/namespace/interface[@name='ChildProxy']/method[@name='ChildAdded']" name="name">EmitChildAdded</attr>
|
||||
<attr path="/api/namespace/interface[@name='ChildProxy']/method[@name='ChildRemoved']" name="name">EmitChildRemoved</attr>
|
||||
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='InternalCalibration']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='InternalCalibration']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='InternalCalibration']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='ExternalCalibration']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='ExternalCalibration']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='ExternalCalibration']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='RateNumerator']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='RateNumerator']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='RateNumerator']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='RateDenominator']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='RateDenominator']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='RateDenominator']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='LastTime']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='LastTime']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='LastTime']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='Entries']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='Master']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='Filling']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='Filling']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='Filling']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='WindowSize']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='WindowSize']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='WindowSize']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='WindowThreshold']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='WindowThreshold']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='WindowThreshold']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='TimeIndex']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='TimeIndex']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='TimeIndex']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='Clockid']" name="name">ClockID</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='ClockID']" name="access">protected</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='ClockID']" name="readable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='ClockID']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='Times']" name="hidden">1</attr>
|
||||
<!-- FIXME: Bug https://bugzilla.novell.com/show_bug.cgi?id=323372 -->
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='Resolution']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/virtual_method[@name='Wait']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/method[@cname='gst_clock_set_master']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/method[@cname='gst_clock_get_master']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/field[@name='ClockID']" name="type">GstClockEntry*</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/method[@cname='gst_clock_id_get_time']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@name='Clock']/method[@cname='gst_clock_id_compare_func']" name="hidden">1</attr>
|
||||
<move-node path="/api/namespace/object[@name='Clock']/method[@cname='gst_clock_id_ref']">/api/namespace/struct[@name='ClockEntry']</move-node>
|
||||
<move-node path="/api/namespace/object[@name='Clock']/method[@cname='gst_clock_id_unref']">/api/namespace/struct[@name='ClockEntry']</move-node>
|
||||
<move-node path="/api/namespace/object[@name='Clock']/method[@cname='gst_clock_id_unschedule']">/api/namespace/struct[@name='ClockEntry']</move-node>
|
||||
<move-node path="/api/namespace/object[@name='Clock']/method[@cname='gst_clock_id_wait']">/api/namespace/struct[@name='ClockEntry']</move-node>
|
||||
<move-node path="/api/namespace/object[@name='Clock']/method[@cname='gst_clock_id_wait_async']">/api/namespace/struct[@name='ClockEntry']</move-node>
|
||||
<remove-node path="/api/namespace/object[@name='Clock']/constructor[@cname='gst_clock_new_periodic_id']" />
|
||||
<remove-node path="/api/namespace/object[@name='Clock']/constructor[@cname='gst_clock_new_single_shot_id']" />
|
||||
<add-node path="/api/namespace/object[@name='Clock']">
|
||||
<method name="NewPeriodicID" cname="gst_clock_new_periodic_id">
|
||||
<return-type type="GstClockEntry*" owned="true" />
|
||||
<parameters>
|
||||
<parameter type="GstClockTime" name="start_time" />
|
||||
<parameter type="GstClockTime" name="interval" />
|
||||
</parameters>
|
||||
</method>
|
||||
</add-node>
|
||||
<add-node path="/api/namespace/object[@name='Clock']">
|
||||
<method name="NewSingleShotID" cname="gst_clock_new_single_shot_id">
|
||||
<return-type type="GstClockEntry*" owned="true" />
|
||||
<parameters>
|
||||
<parameter type="GstClockTime" name="time" />
|
||||
</parameters>
|
||||
</method>
|
||||
</add-node>
|
||||
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']" name="opaque">true</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Refcount']" name="access">private</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Clock']" name="access">public</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Clock']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Type']" name="access">public</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Type']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Time']" name="access">public</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Time']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Interval']" name="access">public</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Interval']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Status']" name="access">public</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Status']" name="writeable">true</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/field[@name='Func']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/method/*/*[@type='GstClockID']" name="type">GstClockEntry*</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/method/*[@type='GstClockID']" name="type">GstClockEntry*</attr>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_ref']" name="name">Ref</attr>
|
||||
<remove-attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_ref']" name="shared"/>
|
||||
<remove-node path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_ref']/parameters" />
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_unref']" name="name">Unref</attr>
|
||||
<remove-node path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_unref']/parameters" />
|
||||
<remove-attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_unref']" name="shared"/>
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_unschedule']" name="name">Unschedule</attr>
|
||||
<remove-attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_unschedule']" name="shared"/>
|
||||
<remove-node path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_unschedule']/*/parameter[@name='id']" />
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_wait']" name="name">Wait</attr>
|
||||
<remove-attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_wait']" name="shared"/>
|
||||
<remove-node path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_wait']/*/parameter[@name='id']" />
|
||||
<attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_wait_async']" name="name">WaitAsync</attr>
|
||||
<remove-attr path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_wait_async']" name="shared"/>
|
||||
<remove-node path="/api/namespace/struct[@name='ClockEntry']/method[@cname='gst_clock_id_wait_async']/*/parameter[@name='id']" />
|
||||
|
||||
<attr path="/api/namespace/callback[@name='ClockCallback']/parameters/parameter[@type='GstClockID']" name="type">GstClockEntry*</attr>
|
||||
|
||||
<attr path="/api/namespace/alias[@name='ClockID']" name="type">GstClockEntry*</attr>
|
||||
|
||||
<attr path="/api/namespace/enum[@name='ClockFlags']/member[@cname='GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC']" name="value">MiniObjectFlags.Last << 0</attr>
|
||||
<attr path="/api/namespace/enum[@name='ClockFlags']/member[@cname='GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC']" name="value">MiniObjectFlags.Last << 1</attr>
|
||||
<attr path="/api/namespace/enum[@name='ClockFlags']/member[@cname='GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC']" name="value">MiniObjectFlags.Last << 2</attr>
|
||||
|
@ -147,6 +251,10 @@
|
|||
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_static_pad_templates']/return-type" name="element_type">GstStaticPadTemplate</attr>
|
||||
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_static_pad_templates']/return-type" name="elements_owned">false</attr>
|
||||
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_static_pad_templates']/return-type" name="owned">false</attr>
|
||||
<!-- FIXME: Bug https://bugzilla.novell.com/show_bug.cgi?id=323372 -->
|
||||
<attr path="/api/namespace/object[@name='ElementFactory']/field[@name='UriProtocols']" name="hidden">1</attr>
|
||||
<!-- FIXME: Bug https://bugzilla.novell.com/show_bug.cgi?id=323372 -->
|
||||
<attr path="/api/namespace/object[@name='ElementFactory']/field[@name='UriType']" name="hidden">1</attr>
|
||||
<!-- FIXME: Add this once we bind gsturi.h
|
||||
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_uri_type']/return-type" name="type">GstURIType</attr>-->
|
||||
|
||||
|
@ -250,6 +358,8 @@
|
|||
|
||||
<attr path="/api/namespace/object[@name='Index']/field[@cname='resolver']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@name='Index']/property[@cname='resolver']" name="hidden">1</attr>
|
||||
<!-- FIXME: Bug https://bugzilla.novell.com/show_bug.cgi?id=323372 -->
|
||||
<attr path="/api/namespace/object[@name='Index']/field[@name='Filter']" name="hidden">1</attr>
|
||||
|
||||
<attr path="/api/namespace/class[@name='Iterator']" name="hidden">1</attr>
|
||||
|
||||
|
@ -385,10 +495,14 @@
|
|||
<attr path="/api/namespace/enum[@name='PipelineFlags']/member[@cname='GST_PIPELINE_FLAG_LAST']" name="value">BinFlags.Last << 4</attr>
|
||||
|
||||
<attr path="/api/namespace/object[@name='Plugin']/method[@name='LoadFile']" name="hidden">1</attr>
|
||||
<!-- FIXME: Bug https://bugzilla.novell.com/show_bug.cgi?id=323372 -->
|
||||
<attr path="/api/namespace/object[@name='Plugin']/field[@name='Filename']" name="hidden">1</attr>
|
||||
|
||||
<attr path="/api/namespace/object[@name='PluginFeature']/method[@cname='gst_plugin_feature_set_name']" name="name">SetFeatureName</attr>
|
||||
<attr path="/api/namespace/object[@name='PluginFeature']/method[@cname='gst_plugin_feature_get_name']" name="name">GetFeatureName</attr>
|
||||
<attr path="/api/namespace/object[@name='PluginFeature']" name="abstract">1</attr>
|
||||
<!-- FIXME: Bug https://bugzilla.novell.com/show_bug.cgi?id=323372 -->
|
||||
<attr path="/api/namespace/object[@name='PluginFeature']/field[@name='Rank']" name="hidden">1</attr>
|
||||
<add-node path="/api/namespace/object[@name='PluginFeature']">
|
||||
<method cname="gst_plugin_feature_load" name="Load">
|
||||
<return-type type="GstPluginFeature*" owned="true" />
|
||||
|
@ -573,6 +687,11 @@
|
|||
|
||||
<attr path="/api/namespace/struct[@name='TypeFind']/method[@name='Register']" name="hidden">1</attr>
|
||||
|
||||
<!-- FIXME: Bug https://bugzilla.novell.com/show_bug.cgi?id=323372 -->
|
||||
<attr path="/api/namespace/object[@name='TypeFindFactory']/field[@name='Caps']" name="hidden">1</attr>
|
||||
<!-- FIXME: Bug https://bugzilla.novell.com/show_bug.cgi?id=323372 -->
|
||||
<attr path="/api/namespace/object[@name='TypeFindFactory']/field[@name='Extensions']" name="hidden">1</attr>
|
||||
|
||||
<attr path="/api/namespace/class[@name='Util']/method[@cname='gst_util_array_binary_search']" name="hidden">1</attr>
|
||||
|
||||
<!-- We implement this ourselves -->
|
||||
|
|
|
@ -56,6 +56,7 @@ customs = \
|
|||
Bus.custom \
|
||||
Caps.custom \
|
||||
Clock.custom \
|
||||
ClockEntry.custom \
|
||||
Debug.custom \
|
||||
Element.custom \
|
||||
Message.custom \
|
||||
|
|
|
@ -39,7 +39,7 @@ public Gst.Object Parent {
|
|||
extern static uint gstsharp_gst_object_get_lock_offset ();
|
||||
|
||||
static uint lock_offset = gstsharp_gst_object_get_lock_offset ();
|
||||
private IntPtr LockPtr {
|
||||
internal IntPtr LockPtr {
|
||||
get {
|
||||
unsafe {
|
||||
IntPtr* raw_ptr = (IntPtr*) ( ( (byte*) Handle) + lock_offset);
|
||||
|
|
|
@ -3,7 +3,8 @@ lib_LTLIBRARIES = libgstreamersharpglue-0.10.la
|
|||
libgstreamersharpglue_0_10_la_SOURCES = \
|
||||
buffer.c \
|
||||
caps.c \
|
||||
clock.c \
|
||||
clock.c \
|
||||
clockentry.c \
|
||||
message.c \
|
||||
event.c \
|
||||
bin.c \
|
||||
|
|
|
@ -1,38 +1,22 @@
|
|||
#include <glib.h>
|
||||
#include <gst/gstclock.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
guint64
|
||||
gstsharp_gst_clock_get_gst_second ()
|
||||
{
|
||||
return GST_SECOND;
|
||||
uint
|
||||
gstsharp_gst_clock_get_entries_changed_offset (void) {
|
||||
return (uint) G_STRUCT_OFFSET (GstClock, entries_changed);
|
||||
}
|
||||
|
||||
guint64
|
||||
gstsharp_gst_clock_get_gst_msecond ()
|
||||
{
|
||||
return GST_MSECOND;
|
||||
uint
|
||||
gstsharp_gst_clock_get_slave_lock_offset (void) {
|
||||
return (uint) G_STRUCT_OFFSET (GstClock, slave_lock);
|
||||
}
|
||||
|
||||
guint64
|
||||
gstsharp_gst_clock_get_gst_usecond ()
|
||||
{
|
||||
return GST_USECOND;
|
||||
uint
|
||||
gstsharp_gst_clock_get_entries_offset (void) {
|
||||
return (uint) G_STRUCT_OFFSET (GstClock, entries);
|
||||
}
|
||||
|
||||
guint64
|
||||
gstsharp_gst_clock_get_gst_nsecond ()
|
||||
{
|
||||
return GST_NSECOND;
|
||||
uint
|
||||
gstsharp_gst_clock_get_times_offset (void) {
|
||||
return (uint) G_STRUCT_OFFSET (GstClock, times);
|
||||
}
|
||||
|
||||
guint64
|
||||
gstsharp_gst_clock_get_time_none ()
|
||||
{
|
||||
return GST_CLOCK_TIME_NONE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
gstsharp_gst_clock_time_is_valid (GstClockTime time)
|
||||
{
|
||||
return GST_CLOCK_TIME_IS_VALID (time);
|
||||
}
|
||||
|
|
13
gstreamer-sharp/glue/clockentry.c
Normal file
13
gstreamer-sharp/glue/clockentry.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
#include <gst/gst.h>
|
||||
|
||||
GstClockCallback
|
||||
gstsharp_gst_clock_entry_get_func (GstClockEntry * entry)
|
||||
{
|
||||
return entry->func;
|
||||
}
|
||||
|
||||
void
|
||||
gstsharp_gst_clock_entry_set_func (GstClockEntry * entry, GstClockCallback func)
|
||||
{
|
||||
entry->func = func;
|
||||
}
|
Loading…
Reference in a new issue