diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-25 09:53:20 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-25 10:09:21 +0100 |
commit | 811784dec73e9d9a57e4d1b361fe0e11e200a076 (patch) | |
tree | 4e693d3855b0cdba7fad6294d85533483fc77eb9 | |
parent | fee44493c5cb47910692299e6d499561e9792e9f (diff) |
Update bindings for 0.10.25 API
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | doc/en/Gst.Interfaces/MixerTrackFlags.xml | 26 | ||||
-rw-r--r-- | doc/en/Gst.Interfaces/StreamVolume.xml | 72 | ||||
-rw-r--r-- | doc/en/Gst.Interfaces/StreamVolumeAdapter.xml | 240 | ||||
-rw-r--r-- | doc/en/Gst.Interfaces/StreamVolumeFormat.xml | 60 | ||||
-rw-r--r-- | doc/en/Gst.Interfaces/StreamVolumeImplementor.xml | 22 | ||||
-rw-r--r-- | doc/en/Gst.Video/VideoSink.xml | 24 | ||||
-rw-r--r-- | doc/en/Gst/Caps.xml | 19 | ||||
-rw-r--r-- | doc/en/Gst/Tag.xml | 28 | ||||
-rw-r--r-- | doc/en/Gst/Util.xml | 92 | ||||
-rw-r--r-- | doc/en/index.xml | 4 | ||||
-rw-r--r-- | elementgen/interfaces/GstStreamVolume.cs | 41 | ||||
-rw-r--r-- | gstreamer-sharp/Gstreamer.metadata | 53 | ||||
-rw-r--r-- | gstreamer-sharp/Tag.custom | 112 | ||||
-rw-r--r-- | gstreamer-sharp/gstreamer-api.raw | 259 |
15 files changed, 993 insertions, 63 deletions
diff --git a/configure.ac b/configure.ac index f95b139..4eb4327 100644 --- a/configure.ac +++ b/configure.ac @@ -103,8 +103,8 @@ PKG_CHECK_MODULES(GLIB, AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_CFLAGS) -GSTREAMER_REQUIRED_VERSION=0.10.24 -GSTREAMER_PLUGINS_REQUIRED_VERSION=0.10.24 +GSTREAMER_REQUIRED_VERSION=0.10.25 +GSTREAMER_PLUGINS_REQUIRED_VERSION=0.10.25 AC_SUBST(GSTREAMER_REQUIRED_VERSION) AC_SUBST(GSTREAMER_PLUGINS_REQUIRED_VERSION) PKG_CHECK_MODULES(GST, diff --git a/doc/en/Gst.Interfaces/MixerTrackFlags.xml b/doc/en/Gst.Interfaces/MixerTrackFlags.xml index 4f4e118..f001d6a 100644 --- a/doc/en/Gst.Interfaces/MixerTrackFlags.xml +++ b/doc/en/Gst.Interfaces/MixerTrackFlags.xml @@ -119,6 +119,19 @@ <summary>To be added.</summary> </Docs> </Member> + <Member MemberName="Readonly"> + <MemberSignature Language="C#" Value="Readonly" /> + <MemberType>Field</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Gst.Interfaces.MixerTrackFlags</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + </Docs> + </Member> <Member MemberName="Record"> <MemberSignature Language="C#" Value="Record" /> <MemberType>Field</MemberType> @@ -167,5 +180,18 @@ <summary>To be added.</summary> </Docs> </Member> + <Member MemberName="Writeonly"> + <MemberSignature Language="C#" Value="Writeonly" /> + <MemberType>Field</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Gst.Interfaces.MixerTrackFlags</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + </Docs> + </Member> </Members> </Type> diff --git a/doc/en/Gst.Interfaces/StreamVolume.xml b/doc/en/Gst.Interfaces/StreamVolume.xml new file mode 100644 index 0000000..b50acd7 --- /dev/null +++ b/doc/en/Gst.Interfaces/StreamVolume.xml @@ -0,0 +1,72 @@ +<Type Name="StreamVolume" FullName="Gst.Interfaces.StreamVolume"> + <TypeSignature Language="C#" Value="public interface StreamVolume : Gst.GLib.IWrapper" /> + <AssemblyInfo> + <AssemblyName>gstreamer-sharp</AssemblyName> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <Interfaces> + <Interface> + <InterfaceName>Gst.GLib.IWrapper</InterfaceName> + </Interface> + </Interfaces> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + <Members> + <Member MemberName="GetVolume"> + <MemberSignature Language="C#" Value="public double GetVolume (Gst.Interfaces.StreamVolumeFormat format);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.Double</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="format" Type="Gst.Interfaces.StreamVolumeFormat" /> + </Parameters> + <Docs> + <param name="format">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="Mute"> + <MemberSignature Language="C#" Value="public bool Mute { set; get; }" /> + <MemberType>Property</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.Boolean</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + <value>To be added.</value> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="SetVolume"> + <MemberSignature Language="C#" Value="public void SetVolume (Gst.Interfaces.StreamVolumeFormat format, double val);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.Void</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="format" Type="Gst.Interfaces.StreamVolumeFormat" /> + <Parameter Name="val" Type="System.Double" /> + </Parameters> + <Docs> + <param name="format">To be added.</param> + <param name="val">To be added.</param> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + </Members> +</Type> diff --git a/doc/en/Gst.Interfaces/StreamVolumeAdapter.xml b/doc/en/Gst.Interfaces/StreamVolumeAdapter.xml new file mode 100644 index 0000000..109d382 --- /dev/null +++ b/doc/en/Gst.Interfaces/StreamVolumeAdapter.xml @@ -0,0 +1,240 @@ +<Type Name="StreamVolumeAdapter" FullName="Gst.Interfaces.StreamVolumeAdapter"> + <TypeSignature Language="C#" Value="public class StreamVolumeAdapter : Gst.GLib.GInterfaceAdapter, Gst.Interfaces.StreamVolume" /> + <AssemblyInfo> + <AssemblyName>gstreamer-sharp</AssemblyName> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <Base> + <BaseTypeName>Gst.GLib.GInterfaceAdapter</BaseTypeName> + </Base> + <Interfaces> + <Interface> + <InterfaceName>Gst.Interfaces.StreamVolume</InterfaceName> + </Interface> + </Interfaces> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + <Members> + <Member MemberName=".ctor"> + <MemberSignature Language="C#" Value="public StreamVolumeAdapter ();" /> + <MemberType>Constructor</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <Parameters /> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName=".ctor"> + <MemberSignature Language="C#" Value="public StreamVolumeAdapter (Gst.Interfaces.StreamVolumeImplementor implementor);" /> + <MemberType>Constructor</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <Parameters> + <Parameter Name="implementor" Type="Gst.Interfaces.StreamVolumeImplementor" /> + </Parameters> + <Docs> + <param name="implementor">To be added.</param> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName=".ctor"> + <MemberSignature Language="C#" Value="public StreamVolumeAdapter (IntPtr handle);" /> + <MemberType>Constructor</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <Parameters> + <Parameter Name="handle" Type="System.IntPtr" /> + </Parameters> + <Docs> + <param name="handle">To be added.</param> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="ConvertVolume"> + <MemberSignature Language="C#" Value="public static double ConvertVolume (Gst.Interfaces.StreamVolumeFormat from, Gst.Interfaces.StreamVolumeFormat to, double val);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.Double</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="from" Type="Gst.Interfaces.StreamVolumeFormat" /> + <Parameter Name="to" Type="Gst.Interfaces.StreamVolumeFormat" /> + <Parameter Name="val" Type="System.Double" /> + </Parameters> + <Docs> + <param name="from">To be added.</param> + <param name="to">To be added.</param> + <param name="val">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="GetObject"> + <MemberSignature Language="C#" Value="public static Gst.Interfaces.StreamVolume GetObject (Gst.GLib.Object obj);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Gst.Interfaces.StreamVolume</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="obj" Type="Gst.GLib.Object" /> + </Parameters> + <Docs> + <param name="obj">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="GetObject"> + <MemberSignature Language="C#" Value="public static Gst.Interfaces.StreamVolume GetObject (IntPtr handle, bool owned);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Gst.Interfaces.StreamVolume</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="handle" Type="System.IntPtr" /> + <Parameter Name="owned" Type="System.Boolean" /> + </Parameters> + <Docs> + <param name="handle">To be added.</param> + <param name="owned">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="GetVolume"> + <MemberSignature Language="C#" Value="public double GetVolume (Gst.Interfaces.StreamVolumeFormat format);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.Double</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="format" Type="Gst.Interfaces.StreamVolumeFormat" /> + </Parameters> + <Docs> + <param name="format">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="GType"> + <MemberSignature Language="C#" Value="public override Gst.GLib.GType GType { get; }" /> + <MemberType>Property</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Gst.GLib.GType</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + <value>To be added.</value> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="Handle"> + <MemberSignature Language="C#" Value="public override IntPtr Handle { get; }" /> + <MemberType>Property</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.IntPtr</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + <value>To be added.</value> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="Implementor"> + <MemberSignature Language="C#" Value="public Gst.Interfaces.StreamVolumeImplementor Implementor { get; }" /> + <MemberType>Property</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Gst.Interfaces.StreamVolumeImplementor</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + <value>To be added.</value> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="Mute"> + <MemberSignature Language="C#" Value="public bool Mute { set; get; }" /> + <MemberType>Property</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.Boolean</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + <value>To be added.</value> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="OwnedHandle"> + <MemberSignature Language="C#" Value="public IntPtr OwnedHandle { get; }" /> + <MemberType>Property</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.IntPtr</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + <value>To be added.</value> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="SetVolume"> + <MemberSignature Language="C#" Value="public void SetVolume (Gst.Interfaces.StreamVolumeFormat format, double val);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.Void</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="format" Type="Gst.Interfaces.StreamVolumeFormat" /> + <Parameter Name="val" Type="System.Double" /> + </Parameters> + <Docs> + <param name="format">To be added.</param> + <param name="val">To be added.</param> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + </Members> +</Type> diff --git a/doc/en/Gst.Interfaces/StreamVolumeFormat.xml b/doc/en/Gst.Interfaces/StreamVolumeFormat.xml new file mode 100644 index 0000000..46e102a --- /dev/null +++ b/doc/en/Gst.Interfaces/StreamVolumeFormat.xml @@ -0,0 +1,60 @@ +<Type Name="StreamVolumeFormat" FullName="Gst.Interfaces.StreamVolumeFormat"> + <TypeSignature Language="C#" Value="public enum StreamVolumeFormat" /> + <AssemblyInfo> + <AssemblyName>gstreamer-sharp</AssemblyName> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <Base> + <BaseTypeName>System.Enum</BaseTypeName> + </Base> + <Attributes> + <Attribute> + <AttributeName>Gst.GLib.GType(typeof(Gst.Interfaces.StreamVolumeFormatGType))</AttributeName> + </Attribute> + </Attributes> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + <Members> + <Member MemberName="Cubic"> + <MemberSignature Language="C#" Value="Cubic" /> + <MemberType>Field</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Gst.Interfaces.StreamVolumeFormat</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + </Docs> + </Member> + <Member MemberName="Db"> + <MemberSignature Language="C#" Value="Db" /> + <MemberType>Field</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Gst.Interfaces.StreamVolumeFormat</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + </Docs> + </Member> + <Member MemberName="Linear"> + <MemberSignature Language="C#" Value="Linear" /> + <MemberType>Field</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Gst.Interfaces.StreamVolumeFormat</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + </Docs> + </Member> + </Members> +</Type> diff --git a/doc/en/Gst.Interfaces/StreamVolumeImplementor.xml b/doc/en/Gst.Interfaces/StreamVolumeImplementor.xml new file mode 100644 index 0000000..7920637 --- /dev/null +++ b/doc/en/Gst.Interfaces/StreamVolumeImplementor.xml @@ -0,0 +1,22 @@ +<Type Name="StreamVolumeImplementor" FullName="Gst.Interfaces.StreamVolumeImplementor"> + <TypeSignature Language="C#" Value="public interface StreamVolumeImplementor : Gst.GLib.IWrapper" /> + <AssemblyInfo> + <AssemblyName>gstreamer-sharp</AssemblyName> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <Interfaces> + <Interface> + <InterfaceName>Gst.GLib.IWrapper</InterfaceName> + </Interface> + </Interfaces> + <Attributes> + <Attribute> + <AttributeName>Gst.GLib.GInterface(typeof(Gst.Interfaces.StreamVolumeAdapter))</AttributeName> + </Attribute> + </Attributes> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + <Members /> +</Type> diff --git a/doc/en/Gst.Video/VideoSink.xml b/doc/en/Gst.Video/VideoSink.xml index 43773d2..bb8408f 100644 --- a/doc/en/Gst.Video/VideoSink.xml +++ b/doc/en/Gst.Video/VideoSink.xml @@ -89,5 +89,29 @@ <remarks>To be added.</remarks> </Docs> </Member> + <Member MemberName="OnShowFrame"> + <MemberSignature Language="C#" Value="protected virtual Gst.FlowReturn OnShowFrame (Gst.Buffer buf);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <Attributes> + <Attribute> + <AttributeName>Gst.GLib.DefaultSignalHandler(ConnectionMethod="OverrideShowFrame", Type=typeof(Gst.Video.VideoSink))</AttributeName> + </Attribute> + </Attributes> + <ReturnValue> + <ReturnType>Gst.FlowReturn</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="buf" Type="Gst.Buffer" /> + </Parameters> + <Docs> + <param name="buf">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> </Members> </Type> diff --git a/doc/en/Gst/Caps.xml b/doc/en/Gst/Caps.xml index 0944d79..a67db0e 100644 --- a/doc/en/Gst/Caps.xml +++ b/doc/en/Gst/Caps.xml @@ -156,6 +156,25 @@ <remarks>To be added.</remarks> </Docs> </Member> + <Member MemberName="CanIntersect"> + <MemberSignature Language="C#" Value="public bool CanIntersect (Gst.Caps caps2);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.Boolean</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="caps2" Type="Gst.Caps" /> + </Parameters> + <Docs> + <param name="caps2">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> <Member MemberName="Copy"> <MemberSignature Language="C#" Value="public Gst.Caps Copy ();" /> <MemberType>Method</MemberType> diff --git a/doc/en/Gst/Tag.xml b/doc/en/Gst/Tag.xml index d479bcb..388a94a 100644 --- a/doc/en/Gst/Tag.xml +++ b/doc/en/Gst/Tag.xml @@ -48,6 +48,34 @@ <remarks>To be added.</remarks> </Docs> </Member> + <Member MemberName="AlbumArtist"> + <MemberSignature Language="C#" Value="public const string AlbumArtist;" /> + <MemberType>Field</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.String</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="AlbumArtistSortname"> + <MemberSignature Language="C#" Value="public const string AlbumArtistSortname;" /> + <MemberType>Field</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.String</ReturnType> + </ReturnValue> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> <Member MemberName="AlbumGain"> <MemberSignature Language="C#" Value="public const string AlbumGain;" /> <MemberType>Field</MemberType> diff --git a/doc/en/Gst/Util.xml b/doc/en/Gst/Util.xml index 1dd218e..0afe91c 100644 --- a/doc/en/Gst/Util.xml +++ b/doc/en/Gst/Util.xml @@ -191,6 +191,98 @@ <remarks>To be added.</remarks> </Docs> </Member> + <Member MemberName="ScaleUInt64Ceil"> + <MemberSignature Language="C#" Value="public static ulong ScaleUInt64Ceil (ulong val, int num, int denom);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.UInt64</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="val" Type="System.UInt64" /> + <Parameter Name="num" Type="System.Int32" /> + <Parameter Name="denom" Type="System.Int32" /> + </Parameters> + <Docs> + <param name="val">To be added.</param> + <param name="num">To be added.</param> + <param name="denom">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="ScaleUInt64Ceil"> + <MemberSignature Language="C#" Value="public static ulong ScaleUInt64Ceil (ulong val, ulong num, ulong denom);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.UInt64</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="val" Type="System.UInt64" /> + <Parameter Name="num" Type="System.UInt64" /> + <Parameter Name="denom" Type="System.UInt64" /> + </Parameters> + <Docs> + <param name="val">To be added.</param> + <param name="num">To be added.</param> + <param name="denom">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="ScaleUInt64Round"> + <MemberSignature Language="C#" Value="public static ulong ScaleUInt64Round (ulong val, int num, int denom);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.UInt64</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="val" Type="System.UInt64" /> + <Parameter Name="num" Type="System.Int32" /> + <Parameter Name="denom" Type="System.Int32" /> + </Parameters> + <Docs> + <param name="val">To be added.</param> + <param name="num">To be added.</param> + <param name="denom">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="ScaleUInt64Round"> + <MemberSignature Language="C#" Value="public static ulong ScaleUInt64Round (ulong val, ulong num, ulong denom);" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyVersion>0.9.2.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>System.UInt64</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="val" Type="System.UInt64" /> + <Parameter Name="num" Type="System.UInt64" /> + <Parameter Name="denom" Type="System.UInt64" /> + </Parameters> + <Docs> + <param name="val">To be added.</param> + <param name="num">To be added.</param> + <param name="denom">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> <Member MemberName="SeqnumNext"> <MemberSignature Language="C#" Value="public static uint SeqnumNext ();" /> <MemberType>Method</MemberType> diff --git a/doc/en/index.xml b/doc/en/index.xml index 8d94ac3..942752d 100644 --- a/doc/en/index.xml +++ b/doc/en/index.xml @@ -458,6 +458,10 @@ <Type Name="PropertyProbeImplementor" Kind="Interface" /> <Type Name="SignalChangedArgs" Kind="Class" /> <Type Name="SignalChangedHandler" Kind="Delegate" /> + <Type Name="StreamVolume" Kind="Interface" /> + <Type Name="StreamVolumeAdapter" Kind="Class" /> + <Type Name="StreamVolumeFormat" Kind="Enumeration" /> + <Type Name="StreamVolumeImplementor" Kind="Interface" /> <Type Name="Tuner" Kind="Interface" /> <Type Name="TunerAdapter" Kind="Class" /> <Type Name="TunerChannel" Kind="Class" /> diff --git a/elementgen/interfaces/GstStreamVolume.cs b/elementgen/interfaces/GstStreamVolume.cs new file mode 100644 index 0000000..ae0052a --- /dev/null +++ b/elementgen/interfaces/GstStreamVolume.cs @@ -0,0 +1,41 @@ + [DllImport("libgstinterfaces-0.10.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool gst_stream_volume_get_mute(IntPtr raw); + [DllImport("libgstinterfaces-0.10.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_stream_volume_set_mute(IntPtr raw, bool mute); + + public bool Mute { + get { + bool raw_ret = gst_stream_volume_get_mute(Handle); + bool ret = raw_ret; + return ret; + } + set { + gst_stream_volume_set_mute(Handle, value); + } + } + + [DllImport("libgstinterfaces-0.10.dll", CallingConvention = CallingConvention.Cdecl)] + static extern double gst_stream_volume_convert_volume(int from, int to, double val); + + public static double ConvertVolume(Gst.Interfaces.StreamVolumeFormat from, Gst.Interfaces.StreamVolumeFormat to, double val) { + double raw_ret = gst_stream_volume_convert_volume((int) from, (int) to, val); + double ret = raw_ret; + return ret; + } + + [DllImport("libgstinterfaces-0.10.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_stream_volume_set_volume(IntPtr raw, int format, double val); + + public void SetVolume(Gst.Interfaces.StreamVolumeFormat format, double val) { + gst_stream_volume_set_volume(Handle, (int) format, val); + } + + [DllImport("libgstinterfaces-0.10.dll", CallingConvention = CallingConvention.Cdecl)] + static extern double gst_stream_volume_get_volume(IntPtr raw, int format); + + public double GetVolume(Gst.Interfaces.StreamVolumeFormat format) { + double raw_ret = gst_stream_volume_get_volume(Handle, (int) format); + double ret = raw_ret; + return ret; + } + diff --git a/gstreamer-sharp/Gstreamer.metadata b/gstreamer-sharp/Gstreamer.metadata index 338fa76..42d17eb 100644 --- a/gstreamer-sharp/Gstreamer.metadata +++ b/gstreamer-sharp/Gstreamer.metadata @@ -1014,6 +1014,10 @@ <attr path="/api/namespace/class[@name='Util']/method[@cname='gst_util_set_object_arg']" name="hidden">1</attr> <attr path="/api/namespace/class[@name='Util']/method[@cname='gst_util_uint64_scale']" name="name">ScaleUInt64</attr> <attr path="/api/namespace/class[@name='Util']/method[@cname='gst_util_uint64_scale_int']" name="name">ScaleUInt64</attr> + <attr path="/api/namespace/class[@name='Util']/method[@cname='gst_util_uint64_scale_round']" name="name">ScaleUInt64Round</attr> + <attr path="/api/namespace/class[@name='Util']/method[@cname='gst_util_uint64_scale_int_round']" name="name">ScaleUInt64Round</attr> + <attr path="/api/namespace/class[@name='Util']/method[@cname='gst_util_uint64_scale_ceil']" name="name">ScaleUInt64Ceil</attr> + <attr path="/api/namespace/class[@name='Util']/method[@cname='gst_util_uint64_scale_int_ceil']" name="name">ScaleUInt64Ceil</attr> <attr path="/api/namespace/class[@name='Util']/method[@cname='gst_util_set_value_from_string']" name="hidden">1</attr> <!-- We implement this ourselves --> @@ -1100,14 +1104,62 @@ <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint32_be']" name="name">GetUInt32Be</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint64_le']" name="name">GetUint64Le</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint64_be']" name="name">GetUInt64Be</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_float32_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_float32_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_float64_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_float64_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_float32_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_float32_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_float64_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_float64_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_int8_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_int16_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_int16_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_int24_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_int24_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_int32_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_int32_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_int64_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_int64_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint8_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint16_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint16_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint24_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint24_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint32_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint32_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint64_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_uint64_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_int8_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_int16_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_int16_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_int24_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_int24_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_int32_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_int32_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_int64_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_int64_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_uint8_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_uint16_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_uint16_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_uint24_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_uint24_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_uint32_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_uint32_be_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_uint64_le_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_uint64_be_unchecked']" name="hidden">1</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_data']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_data_unchecked']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_data_unchecked']" name="hidden">1</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_dup_data']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_dup_data_unchecked']" name="hidden">1</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_peek_data']" name="hidden">1</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_dup_string_utf8']" name="hidden">1</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_dup_string_utf16']" name="hidden">1</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_skip_string_utf16']" name="hidden">1</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_dup_string_utf32']" name="hidden">1</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_skip_string_utf32']" name="hidden">1</attr> + <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_skip_unchecked']" name="hidden">1</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_skip_string_utf8']" name="name">SkipString</attr> <attr path="/api/namespace/struct[@cname='GstByteReader']/method[@cname='gst_byte_reader_get_string_utf8']" name="name">GetString</attr> @@ -1283,6 +1335,7 @@ <attr path="/api/namespace/interface[@cname='GstNavigation']/method[@cname='gst_navigation_event_parse_mouse_move_event']" name="hidden">1</attr> <attr path="/api/namespace/interface[@cname='GstNavigation']/method[@cname='gst_navigation_event_parse_command']" name="hidden">1</attr> + <attr path="/api/namespace/interface[@cname='GstStreamVolume']/property" name="hidden">1</attr> <remove-node path="/api/namespace/interface[@cname='GstTuner']/method[@cname='gst_tuner_norm_changed']/parameters/parameter[@name='tuner']" /> <remove-attr path="/api/namespace/interface[@cname='GstTuner']/method[@cname='gst_tuner_norm_changed']" name="shared" /> diff --git a/gstreamer-sharp/Tag.custom b/gstreamer-sharp/Tag.custom index a799a3f..5791e99 100644 --- a/gstreamer-sharp/Tag.custom +++ b/gstreamer-sharp/Tag.custom @@ -23,58 +23,60 @@ public static void MergeUseFirst (out Gst.GLib.Value dest, ref Gst.GLib.Value sr gst_tag_merge_use_first (out dest, ref src); } -public const string Title = "title"; -public const string TitleSortname = "title-sortname"; -public const string Artist = "artist"; -public const string ArtistSortname = "musicbrainz-sortname"; -public const string Album = "album"; -public const string AlbumSortname = "album-sortname"; -public const string Composer = "composer"; -public const string Date = "date"; -public const string Genre = "genre"; -public const string Comment = "comment"; -public const string ExtendedComment = "extended-comment"; -public const string TrackNumber = "track-number"; -public const string TrackCount = "track-count"; -public const string AlbumVolumeNumber = "album-disc-number"; -public const string AlbumVolumeCount = "album-disc-count"; -public const string Location = "location"; -public const string Homepage = "homepage"; -public const string Description = "description"; -public const string Version = "version"; -public const string Isrc = "isrc"; -public const string Organization = "organization"; -public const string Copyright = "copyright"; -public const string CopyrightUri = "copyright-uri"; -public const string Contact = "contact"; -public const string License = "license"; -public const string LicenseUri = "license-uri"; -public const string Performer = "performer"; -public const string Duration = "duration"; -public const string Codec = "codec"; -public const string VideoCodec = "video-codec"; -public const string AudioCodec = "audio-codec"; -public const string SubtitleCodec = "subtitle-codec"; -public const string ContainerFormat = "container-format"; -public const string Bitrate = "bitrate"; -public const string NominalBitrate = "nominal-bitrate"; -public const string MinimumBitrate = "minimum-bitrate"; -public const string MaximumBitrate = "maximum-bitrate"; -public const string Serial = "serial"; -public const string Encoder = "encoder"; -public const string EncoderVersion = "encoder-version"; -public const string TrackGain = "replaygain-track-gain"; -public const string TrackPeak = "replaygain-track-peak"; -public const string AlbumGain = "replaygain-album-gain"; -public const string AlbumPeak = "replaygain-album-peak"; -public const string ReferenceLevel = "replaygain-reference-level"; -public const string LanguageCode = "language-code"; -public const string Image = "image"; -public const string PreviewImage = "preview-image"; -public const string Attachment = "attachment"; -public const string BeatsPerMinute = "beats-per-minute"; -public const string Keywords = "keywords"; -public const string GeoLocationName = "geo-location-name"; -public const string GeoLocationLatitude = "geo-location-latitude"; -public const string GeoLocationLongitude = "geo-location-longitude"; -public const string GeoLocationElevation = "geo-location-elevation"; + public const string Title = "title"; + public const string TitleSortname = "title-sortname"; + public const string Artist = "artist"; + public const string ArtistSortname = "musicbrainz-sortname"; + public const string Album = "album"; + public const string AlbumSortname = "album-sortname"; + public const string AlbumArtist = "album-artist"; + public const string AlbumArtistSortname = "album-artist-sortname"; + public const string Composer = "composer"; + public const string Date = "date"; + public const string Genre = "genre"; + public const string Comment = "comment"; + public const string ExtendedComment = "extended-comment"; + public const string TrackNumber = "track-number"; + public const string TrackCount = "track-count"; + public const string AlbumVolumeNumber = "album-disc-number"; + public const string AlbumVolumeCount = "album-disc-count"; + public const string Location = "location"; + public const string Homepage = "homepage"; + public const string Description = "description"; + public const string Version = "version"; + public const string Isrc = "isrc"; + public const string Organization = "organization"; + public const string Copyright = "copyright"; + public const string CopyrightUri = "copyright-uri"; + public const string Contact = "contact"; + public const string License = "license"; + public const string LicenseUri = "license-uri"; + public const string Performer = "performer"; + public const string Duration = "duration"; + public const string Codec = "codec"; + public const string VideoCodec = "video-codec"; + public const string AudioCodec = "audio-codec"; + public const string SubtitleCodec = "subtitle-codec"; + public const string ContainerFormat = "container-format"; + public const string Bitrate = "bitrate"; + public const string NominalBitrate = "nominal-bitrate"; + public const string MinimumBitrate = "minimum-bitrate"; + public const string MaximumBitrate = "maximum-bitrate"; + public const string Serial = "serial"; + public const string Encoder = "encoder"; + public const string EncoderVersion = "encoder-version"; + public const string TrackGain = "replaygain-track-gain"; + public const string TrackPeak = "replaygain-track-peak"; + public const string AlbumGain = "replaygain-album-gain"; + public const string AlbumPeak = "replaygain-album-peak"; + public const string ReferenceLevel = "replaygain-reference-level"; + public const string LanguageCode = "language-code"; + public const string Image = "image"; + public const string PreviewImage = "preview-image"; + public const string Attachment = "attachment"; + public const string BeatsPerMinute = "beats-per-minute"; + public const string Keywords = "keywords"; + public const string GeoLocationName = "geo-location-name"; + public const string GeoLocationLatitude = "geo-location-latitude"; + public const string GeoLocationLongitude = "geo-location-longitude"; + public const string GeoLocationElevation = "geo-location-elevation"; diff --git a/gstreamer-sharp/gstreamer-api.raw b/gstreamer-sharp/gstreamer-api.raw index 8831b85..14a491b 100644 --- a/gstreamer-sharp/gstreamer-api.raw +++ b/gstreamer-sharp/gstreamer-api.raw @@ -3626,10 +3626,10 @@ <method name="GetFixedCapsFunc" cname="gst_pad_get_fixed_caps_func"> <return-type type="GstCaps*" /> </method> - <method name="GetInternalLinks" cname="gst_pad_get_internal_links"> + <method name="GetInternalLinks" cname="gst_pad_get_internal_links" deprecated="1"> <return-type type="GList*" /> </method> - <method name="GetInternalLinksDefault" cname="gst_pad_get_internal_links_default"> + <method name="GetInternalLinksDefault" cname="gst_pad_get_internal_links_default" deprecated="1"> <return-type type="GList*" /> </method> <method name="GetNegotiatedCaps" cname="gst_pad_get_negotiated_caps"> @@ -3955,7 +3955,7 @@ <parameter type="GstPadGetRangeFunction" name="get" /> </parameters> </method> - <method name="SetInternalLinkFunction" cname="gst_pad_set_internal_link_function"> + <method name="SetInternalLinkFunction" cname="gst_pad_set_internal_link_function" deprecated="1"> <return-type type="void" /> <parameters> <parameter type="GstPadIntLinkFunction" name="intlink" /> @@ -5018,6 +5018,12 @@ <parameter type="GstStructure*" name="structure" /> </parameters> </method> + <method name="CanIntersect" cname="gst_caps_can_intersect"> + <return-type type="gboolean" /> + <parameters> + <parameter type="const-GstCaps*" name="caps2" /> + </parameters> + </method> <method name="Copy" cname="gst_caps_copy"> <return-type type="GstCaps*" owned="true" /> </method> @@ -6614,6 +6620,14 @@ <parameter type="guint64" name="denom" /> </parameters> </method> + <method name="Uint64ScaleCeil" cname="gst_util_uint64_scale_ceil" shared="true"> + <return-type type="guint64" /> + <parameters> + <parameter type="guint64" name="val" /> + <parameter type="guint64" name="num" /> + <parameter type="guint64" name="denom" /> + </parameters> + </method> <method name="Uint64ScaleInt" cname="gst_util_uint64_scale_int" shared="true"> <return-type type="guint64" /> <parameters> @@ -6622,6 +6636,30 @@ <parameter type="gint" name="denom" /> </parameters> </method> + <method name="Uint64ScaleIntCeil" cname="gst_util_uint64_scale_int_ceil" shared="true"> + <return-type type="guint64" /> + <parameters> + <parameter type="guint64" name="val" /> + <parameter type="gint" name="num" /> + <parameter type="gint" name="denom" /> + </parameters> + </method> + <method name="Uint64ScaleIntRound" cname="gst_util_uint64_scale_int_round" shared="true"> + <return-type type="guint64" /> + <parameters> + <parameter type="guint64" name="val" /> + <parameter type="gint" name="num" /> + <parameter type="gint" name="denom" /> + </parameters> + </method> + <method name="Uint64ScaleRound" cname="gst_util_uint64_scale_round" shared="true"> + <return-type type="guint64" /> + <parameters> + <parameter type="guint64" name="val" /> + <parameter type="guint64" name="num" /> + <parameter type="guint64" name="denom" /> + </parameters> + </method> </class> <class name="Value" cname="GstValue_"> <method name="DupMiniObject" cname="gst_value_dup_mini_object" shared="true"> @@ -7494,6 +7532,12 @@ <parameter type="guint8**" name="val" /> </parameters> </method> + <method name="DupDataUnchecked" cname="gst_byte_reader_dup_data_unchecked"> + <return-type type="guint8*" /> + <parameters> + <parameter type="guint" name="size" /> + </parameters> + </method> <method name="DupStringUtf16" cname="gst_byte_reader_dup_string_utf16"> <return-type type="gboolean" /> <parameters> @@ -7522,84 +7566,129 @@ <parameter type="const-guint8**" name="val" /> </parameters> </method> + <method name="GetDataUnchecked" cname="gst_byte_reader_get_data_unchecked"> + <return-type type="const-guint8*" /> + <parameters> + <parameter type="guint" name="size" /> + </parameters> + </method> <method name="GetFloat32Be" cname="gst_byte_reader_get_float32_be"> <return-type type="gboolean" /> <parameters> <parameter type="gfloat*" name="val" /> </parameters> </method> + <method name="GetFloat32BeUnchecked" cname="gst_byte_reader_get_float32_be_unchecked"> + <return-type type="gfloat" /> + </method> <method name="GetFloat32Le" cname="gst_byte_reader_get_float32_le"> <return-type type="gboolean" /> <parameters> <parameter type="gfloat*" name="val" /> </parameters> </method> + <method name="GetFloat32LeUnchecked" cname="gst_byte_reader_get_float32_le_unchecked"> + <return-type type="gfloat" /> + </method> <method name="GetFloat64Be" cname="gst_byte_reader_get_float64_be"> <return-type type="gboolean" /> <parameters> <parameter type="gdouble*" name="val" /> </parameters> </method> + <method name="GetFloat64BeUnchecked" cname="gst_byte_reader_get_float64_be_unchecked"> + <return-type type="gdouble" /> + </method> <method name="GetFloat64Le" cname="gst_byte_reader_get_float64_le"> <return-type type="gboolean" /> <parameters> <parameter type="gdouble*" name="val" /> </parameters> </method> + <method name="GetFloat64LeUnchecked" cname="gst_byte_reader_get_float64_le_unchecked"> + <return-type type="gdouble" /> + </method> <method name="GetInt16Be" cname="gst_byte_reader_get_int16_be"> <return-type type="gboolean" /> <parameters> <parameter type="gint16*" name="val" /> </parameters> </method> + <method name="GetInt16BeUnchecked" cname="gst_byte_reader_get_int16_be_unchecked"> + <return-type type="gint16" /> + </method> <method name="GetInt16Le" cname="gst_byte_reader_get_int16_le"> <return-type type="gboolean" /> <parameters> <parameter type="gint16*" name="val" /> </parameters> </method> + <method name="GetInt16LeUnchecked" cname="gst_byte_reader_get_int16_le_unchecked"> + <return-type type="gint16" /> + </method> <method name="GetInt24Be" cname="gst_byte_reader_get_int24_be"> <return-type type="gboolean" /> <parameters> <parameter type="gint32*" name="val" /> </parameters> </method> + <method name="GetInt24BeUnchecked" cname="gst_byte_reader_get_int24_be_unchecked"> + <return-type type="gint32" /> + </method> <method name="GetInt24Le" cname="gst_byte_reader_get_int24_le"> <return-type type="gboolean" /> <parameters> <parameter type="gint32*" name="val" /> </parameters> </method> + <method name="GetInt24LeUnchecked" cname="gst_byte_reader_get_int24_le_unchecked"> + <return-type type="gint32" /> + </method> <method name="GetInt32Be" cname="gst_byte_reader_get_int32_be"> <return-type type="gboolean" /> <parameters> <parameter type="gint32*" name="val" /> </parameters> </method> + <method name="GetInt32BeUnchecked" cname="gst_byte_reader_get_int32_be_unchecked"> + <return-type type="gint32" /> + </method> <method name="GetInt32Le" cname="gst_byte_reader_get_int32_le"> <return-type type="gboolean" /> <parameters> <parameter type="gint32*" name="val" /> </parameters> </method> + <method name="GetInt32LeUnchecked" cname="gst_byte_reader_get_int32_le_unchecked"> + <return-type type="gint32" /> + </method> <method name="GetInt64Be" cname="gst_byte_reader_get_int64_be"> <return-type type="gboolean" /> <parameters> <parameter type="gint64*" name="val" /> </parameters> </method> + <method name="GetInt64BeUnchecked" cname="gst_byte_reader_get_int64_be_unchecked"> + <return-type type="gint64" /> + </method> <method name="GetInt64Le" cname="gst_byte_reader_get_int64_le"> <return-type type="gboolean" /> <parameters> <parameter type="gint64*" name="val" /> </parameters> </method> + <method name="GetInt64LeUnchecked" cname="gst_byte_reader_get_int64_le_unchecked"> + <return-type type="gint64" /> + </method> <method name="GetInt8" cname="gst_byte_reader_get_int8"> <return-type type="gboolean" /> <parameters> <parameter type="gint8*" name="val" /> </parameters> </method> + <method name="GetInt8Unchecked" cname="gst_byte_reader_get_int8_unchecked"> + <return-type type="gint8" /> + </method> <method name="GetPos" cname="gst_byte_reader_get_pos"> <return-type type="guint" /> </method> @@ -7618,54 +7707,81 @@ <parameter type="guint16*" name="val" /> </parameters> </method> + <method name="GetUint16BeUnchecked" cname="gst_byte_reader_get_uint16_be_unchecked"> + <return-type type="guint16" /> + </method> <method name="GetUint16Le" cname="gst_byte_reader_get_uint16_le"> <return-type type="gboolean" /> <parameters> <parameter type="guint16*" name="val" /> </parameters> </method> + <method name="GetUint16LeUnchecked" cname="gst_byte_reader_get_uint16_le_unchecked"> + <return-type type="guint16" /> + </method> <method name="GetUint24Be" cname="gst_byte_reader_get_uint24_be"> <return-type type="gboolean" /> <parameters> <parameter type="guint32*" name="val" /> </parameters> </method> + <method name="GetUint24BeUnchecked" cname="gst_byte_reader_get_uint24_be_unchecked"> + <return-type type="guint32" /> + </method> <method name="GetUint24Le" cname="gst_byte_reader_get_uint24_le"> <return-type type="gboolean" /> <parameters> <parameter type="guint32*" name="val" /> </parameters> </method> + <method name="GetUint24LeUnchecked" cname="gst_byte_reader_get_uint24_le_unchecked"> + <return-type type="guint32" /> + </method> <method name="GetUint32Be" cname="gst_byte_reader_get_uint32_be"> <return-type type="gboolean" /> <parameters> <parameter type="guint32*" name="val" /> </parameters> </method> + <method name="GetUint32BeUnchecked" cname="gst_byte_reader_get_uint32_be_unchecked"> + <return-type type="guint32" /> + </method> <method name="GetUint32Le" cname="gst_byte_reader_get_uint32_le"> <return-type type="gboolean" /> <parameters> <parameter type="guint32*" name="val" /> </parameters> </method> + <method name="GetUint32LeUnchecked" cname="gst_byte_reader_get_uint32_le_unchecked"> + <return-type type="guint32" /> + </method> <method name="GetUint64Be" cname="gst_byte_reader_get_uint64_be"> <return-type type="gboolean" /> <parameters> <parameter type="guint64*" name="val" /> </parameters> </method> + <method name="GetUint64BeUnchecked" cname="gst_byte_reader_get_uint64_be_unchecked"> + <return-type type="guint64" /> + </method> <method name="GetUint64Le" cname="gst_byte_reader_get_uint64_le"> <return-type type="gboolean" /> <parameters> <parameter type="guint64*" name="val" /> </parameters> </method> + <method name="GetUint64LeUnchecked" cname="gst_byte_reader_get_uint64_le_unchecked"> + <return-type type="guint64" /> + </method> <method name="GetUint8" cname="gst_byte_reader_get_uint8"> <return-type type="gboolean" /> <parameters> <parameter type="guint8*" name="val" /> </parameters> </method> + <method name="GetUint8Unchecked" cname="gst_byte_reader_get_uint8_unchecked"> + <return-type type="guint8" /> + </method> <method name="Init" cname="gst_byte_reader_init"> <return-type type="void" /> <parameters> @@ -7706,84 +7822,126 @@ <parameter type="const-guint8**" name="val" /> </parameters> </method> + <method name="PeekDataUnchecked" cname="gst_byte_reader_peek_data_unchecked"> + <return-type type="const-guint8*" /> + </method> <method name="PeekFloat32Be" cname="gst_byte_reader_peek_float32_be"> <return-type type="gboolean" /> <parameters> <parameter type="gfloat*" name="val" /> </parameters> </method> + <method name="PeekFloat32BeUnchecked" cname="gst_byte_reader_peek_float32_be_unchecked"> + <return-type type="gfloat" /> + </method> <method name="PeekFloat32Le" cname="gst_byte_reader_peek_float32_le"> <return-type type="gboolean" /> <parameters> <parameter type="gfloat*" name="val" /> </parameters> </method> + <method name="PeekFloat32LeUnchecked" cname="gst_byte_reader_peek_float32_le_unchecked"> + <return-type type="gfloat" /> + </method> <method name="PeekFloat64Be" cname="gst_byte_reader_peek_float64_be"> <return-type type="gboolean" /> <parameters> <parameter type="gdouble*" name="val" /> </parameters> </method> + <method name="PeekFloat64BeUnchecked" cname="gst_byte_reader_peek_float64_be_unchecked"> + <return-type type="gdouble" /> + </method> <method name="PeekFloat64Le" cname="gst_byte_reader_peek_float64_le"> <return-type type="gboolean" /> <parameters> <parameter type="gdouble*" name="val" /> </parameters> </method> + <method name="PeekFloat64LeUnchecked" cname="gst_byte_reader_peek_float64_le_unchecked"> + <return-type type="gdouble" /> + </method> <method name="PeekInt16Be" cname="gst_byte_reader_peek_int16_be"> <return-type type="gboolean" /> <parameters> <parameter type="gint16*" name="val" /> </parameters> </method> + <method name="PeekInt16BeUnchecked" cname="gst_byte_reader_peek_int16_be_unchecked"> + <return-type type="gint16" /> + </method> <method name="PeekInt16Le" cname="gst_byte_reader_peek_int16_le"> <return-type type="gboolean" /> <parameters> <parameter type="gint16*" name="val" /> </parameters> </method> + <method name="PeekInt16LeUnchecked" cname="gst_byte_reader_peek_int16_le_unchecked"> + <return-type type="gint16" /> + </method> <method name="PeekInt24Be" cname="gst_byte_reader_peek_int24_be"> <return-type type="gboolean" /> <parameters> <parameter type="gint32*" name="val" /> </parameters> </method> + <method name="PeekInt24BeUnchecked" cname="gst_byte_reader_peek_int24_be_unchecked"> + <return-type type="gint32" /> + </method> <method name="PeekInt24Le" cname="gst_byte_reader_peek_int24_le"> <return-type type="gboolean" /> <parameters> <parameter type="gint32*" name="val" /> </parameters> </method> + <method name="PeekInt24LeUnchecked" cname="gst_byte_reader_peek_int24_le_unchecked"> + <return-type type="gint32" /> + </method> <method name="PeekInt32Be" cname="gst_byte_reader_peek_int32_be"> <return-type type="gboolean" /> <parameters> <parameter type="gint32*" name="val" /> </parameters> </method> + <method name="PeekInt32BeUnchecked" cname="gst_byte_reader_peek_int32_be_unchecked"> + <return-type type="gint32" /> + </method> <method name="PeekInt32Le" cname="gst_byte_reader_peek_int32_le"> <return-type type="gboolean" /> <parameters> <parameter type="gint32*" name="val" /> </parameters> </method> + <method name="PeekInt32LeUnchecked" cname="gst_byte_reader_peek_int32_le_unchecked"> + <return-type type="gint32" /> + </method> <method name="PeekInt64Be" cname="gst_byte_reader_peek_int64_be"> <return-type type="gboolean" /> <parameters> <parameter type="gint64*" name="val" /> </parameters> </method> + <method name="PeekInt64BeUnchecked" cname="gst_byte_reader_peek_int64_be_unchecked"> + <return-type type="gint64" /> + </method> <method name="PeekInt64Le" cname="gst_byte_reader_peek_int64_le"> <return-type type="gboolean" /> <parameters> <parameter type="gint64*" name="val" /> </parameters> </method> + <method name="PeekInt64LeUnchecked" cname="gst_byte_reader_peek_int64_le_unchecked"> + <return-type type="gint64" /> + </method> <method name="PeekInt8" cname="gst_byte_reader_peek_int8"> <return-type type="gboolean" /> <parameters> <parameter type="gint8*" name="val" /> </parameters> </method> + <method name="PeekInt8Unchecked" cname="gst_byte_reader_peek_int8_unchecked"> + <return-type type="gint8" /> + </method> <method name="PeekStringUtf8" cname="gst_byte_reader_peek_string_utf8"> <return-type type="gboolean" /> <parameters> @@ -7796,54 +7954,81 @@ <parameter type="guint16*" name="val" /> </parameters> </method> + <method name="PeekUint16BeUnchecked" cname="gst_byte_reader_peek_uint16_be_unchecked"> + <return-type type="guint16" /> + </method> <method name="PeekUint16Le" cname="gst_byte_reader_peek_uint16_le"> <return-type type="gboolean" /> <parameters> <parameter type="guint16*" name="val" /> </parameters> </method> + <method name="PeekUint16LeUnchecked" cname="gst_byte_reader_peek_uint16_le_unchecked"> + <return-type type="guint16" /> + </method> <method name="PeekUint24Be" cname="gst_byte_reader_peek_uint24_be"> <return-type type="gboolean" /> <parameters> <parameter type="guint32*" name="val" /> </parameters> </method> + <method name="PeekUint24BeUnchecked" cname="gst_byte_reader_peek_uint24_be_unchecked"> + <return-type type="guint32" /> + </method> <method name="PeekUint24Le" cname="gst_byte_reader_peek_uint24_le"> <return-type type="gboolean" /> <parameters> <parameter type="guint32*" name="val" /> </parameters> </method> + <method name="PeekUint24LeUnchecked" cname="gst_byte_reader_peek_uint24_le_unchecked"> + <return-type type="guint32" /> + </method> <method name="PeekUint32Be" cname="gst_byte_reader_peek_uint32_be"> <return-type type="gboolean" /> <parameters> <parameter type="guint32*" name="val" /> </parameters> </method> + <method name="PeekUint32BeUnchecked" cname="gst_byte_reader_peek_uint32_be_unchecked"> + <return-type type="guint32" /> + </method> <method name="PeekUint32Le" cname="gst_byte_reader_peek_uint32_le"> <return-type type="gboolean" /> <parameters> <parameter type="guint32*" name="val" /> </parameters> </method> + <method name="PeekUint32LeUnchecked" cname="gst_byte_reader_peek_uint32_le_unchecked"> + <return-type type="guint32" /> + </method> <method name="PeekUint64Be" cname="gst_byte_reader_peek_uint64_be"> <return-type type="gboolean" /> <parameters> <parameter type="guint64*" name="val" /> </parameters> </method> + <method name="PeekUint64BeUnchecked" cname="gst_byte_reader_peek_uint64_be_unchecked"> + <return-type type="guint64" /> + </method> <method name="PeekUint64Le" cname="gst_byte_reader_peek_uint64_le"> <return-type type="gboolean" /> <parameters> <parameter type="guint64*" name="val" /> </parameters> </method> + <method name="PeekUint64LeUnchecked" cname="gst_byte_reader_peek_uint64_le_unchecked"> + <return-type type="guint64" /> + </method> <method name="PeekUint8" cname="gst_byte_reader_peek_uint8"> <return-type type="gboolean" /> <parameters> <parameter type="guint8*" name="val" /> </parameters> </method> + <method name="PeekUint8Unchecked" cname="gst_byte_reader_peek_uint8_unchecked"> + <return-type type="guint8" /> + </method> <method name="SetPos" cname="gst_byte_reader_set_pos"> <return-type type="gboolean" /> <parameters> @@ -7865,6 +8050,12 @@ <method name="SkipStringUtf8" cname="gst_byte_reader_skip_string_utf8"> <return-type type="gboolean" /> </method> + <method name="SkipUnchecked" cname="gst_byte_reader_skip_unchecked"> + <return-type type="void" /> + <parameters> + <parameter type="guint" name="nbytes" /> + </parameters> + </method> </struct> </namespace> <namespace name="Gst.Controller" library="libgstcontroller-0.10.dll"> @@ -8599,6 +8790,8 @@ <member cname="GST_MIXER_TRACK_NO_RECORD" name="NoRecord" value="1 << 6" /> <member cname="GST_MIXER_TRACK_NO_MUTE" name="NoMute" value="1 << 7" /> <member cname="GST_MIXER_TRACK_WHITELIST" name="Whitelist" value="1 << 8" /> + <member cname="GST_MIXER_TRACK_READONLY" name="Readonly" value="1 << 9" /> + <member cname="GST_MIXER_TRACK_WRITEONLY" name="Writeonly" value="1 << 10" /> </enum> <enum name="MixerType" cname="GstMixerType" gtype="gst_mixer_type_get_type" type="enum"> <member cname="GST_MIXER_HARDWARE" name="Hardware" /> @@ -8641,6 +8834,11 @@ <member cname="GST_NAVIGATION_QUERY_COMMANDS" name="Commands" value="1" /> <member cname="GST_NAVIGATION_QUERY_ANGLES" name="Angles" value="2" /> </enum> + <enum name="StreamVolumeFormat" cname="GstStreamVolumeFormat" gtype="gst_stream_volume_format_get_type" type="enum"> + <member cname="GST_STREAM_VOLUME_FORMAT_LINEAR" name="Linear" /> + <member cname="GST_STREAM_VOLUME_FORMAT_CUBIC" name="Cubic" /> + <member cname="GST_STREAM_VOLUME_FORMAT_DB" name="Db" /> + </enum> <enum name="TunerChannelFlags" cname="GstTunerChannelFlags" gtype="gst_tuner_channel_flags_get_type" type="flags"> <member cname="GST_TUNER_CHANNEL_INPUT" name="Input" value="1 << 0" /> <member cname="GST_TUNER_CHANNEL_OUTPUT" name="Output" value="1 << 1" /> @@ -9191,6 +9389,47 @@ </parameters> </method> </interface> + <interface name="StreamVolume" cname="GstStreamVolume"> + <class_struct cname="GstStreamVolumeInterface"> + <field name="Parent" cname="parent" type="GTypeInterface" /> + <field name="GstReserved" cname="_gst_reserved" type="gpointer" array_len="GST_PADDING" /> + </class_struct> + <property name="Volume" cname="volume" type="gdouble" readable="true" writeable="true" /> + <property name="Mute" cname="mute" type="gboolean" readable="true" writeable="true" /> + <method name="ConvertVolume" cname="gst_stream_volume_convert_volume" shared="true"> + <return-type type="gdouble" /> + <parameters> + <parameter type="GstStreamVolumeFormat" name="from" /> + <parameter type="GstStreamVolumeFormat" name="to" /> + <parameter type="gdouble" name="val" /> + </parameters> + </method> + <method name="GetMute" cname="gst_stream_volume_get_mute"> + <return-type type="gboolean" /> + </method> + <method name="GetType" cname="gst_stream_volume_get_type" shared="true"> + <return-type type="GType" /> + </method> + <method name="GetVolume" cname="gst_stream_volume_get_volume"> + <return-type type="gdouble" /> + <parameters> + <parameter type="GstStreamVolumeFormat" name="format" /> + </parameters> + </method> + <method name="SetMute" cname="gst_stream_volume_set_mute"> + <return-type type="void" /> + <parameters> + <parameter type="gboolean" name="mute" /> + </parameters> + </method> + <method name="SetVolume" cname="gst_stream_volume_set_volume"> + <return-type type="void" /> + <parameters> + <parameter type="GstStreamVolumeFormat" name="format" /> + <parameter type="gdouble" name="val" /> + </parameters> + </method> + </interface> <interface name="Tuner" cname="GstTuner"> <class_struct cname="GstTunerClass"> <field name="Klass" cname="klass" type="GTypeInterface" /> @@ -9679,11 +9918,19 @@ <object name="VideoSink" cname="GstVideoSink" parent="GstBaseSink"> <class_struct cname="GstVideoSinkClass"> <field name="ParentClass" cname="parent_class" type="GstBaseSinkClass" /> - <field name="GstReserved" cname="_gst_reserved" type="gpointer" array_len="GST_PADDING" /> + <method vm="show_frame" /> + <field name="GstReserved" cname="_gst_reserved" type="gpointer" array_len="GST_PADDING - 1" /> </class_struct> <field name="Width" cname="width" type="gint" /> <field name="Height" cname="height" type="gint" /> - <field name="GstReserved" cname="_gst_reserved" array_len="GST_PADDING" type="gpointer" /> + <field name="Priv" cname="priv" type="GstVideoSinkPrivate*" /> + <field name="GstReserved" cname="_gst_reserved" array_len="GST_PADDING - 1" type="gpointer" /> + <virtual_method name="ShowFrame" cname="show_frame"> + <return-type type="GstFlowReturn" /> + <parameters> + <parameter type="GstBuffer*" name="buf" /> + </parameters> + </virtual_method> <method name="CenterRect" cname="gst_video_sink_center_rect" shared="true"> <return-type type="void" /> <parameters> @@ -9965,4 +10212,4 @@ </method> </class> </namespace> -</api> +</api>
\ No newline at end of file |