1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
4 namespace Gst.PbUtils {
7 using System.Collections;
8 using System.Collections.Generic;
9 using System.Runtime.InteropServices;
11 #region Autogenerated code
12 public partial class DiscovererAudioInfo : Gst.PbUtils.DiscovererStreamInfo {
14 public DiscovererAudioInfo (IntPtr raw) : base(raw) {}
16 protected DiscovererAudioInfo() : base(IntPtr.Zero)
18 CreateNativeObject (new string [0], new GLib.Value [0]);
21 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
22 static extern IntPtr gst_discoverer_audio_info_get_type();
24 public static new GLib.GType GType {
26 IntPtr raw_ret = gst_discoverer_audio_info_get_type();
27 GLib.GType ret = new GLib.GType(raw_ret);
32 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
33 static extern uint gst_discoverer_audio_info_get_bitrate(IntPtr raw);
37 uint raw_ret = gst_discoverer_audio_info_get_bitrate(Handle);
43 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
44 static extern ulong gst_discoverer_audio_info_get_channel_mask(IntPtr raw);
46 public ulong ChannelMask {
48 ulong raw_ret = gst_discoverer_audio_info_get_channel_mask(Handle);
54 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
55 static extern uint gst_discoverer_audio_info_get_channels(IntPtr raw);
57 public uint Channels {
59 uint raw_ret = gst_discoverer_audio_info_get_channels(Handle);
65 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
66 static extern uint gst_discoverer_audio_info_get_depth(IntPtr raw);
70 uint raw_ret = gst_discoverer_audio_info_get_depth(Handle);
76 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
77 static extern IntPtr gst_discoverer_audio_info_get_language(IntPtr raw);
79 public string Language {
81 IntPtr raw_ret = gst_discoverer_audio_info_get_language(Handle);
82 string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
87 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
88 static extern uint gst_discoverer_audio_info_get_max_bitrate(IntPtr raw);
90 public uint MaxBitrate {
92 uint raw_ret = gst_discoverer_audio_info_get_max_bitrate(Handle);
98 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
99 static extern uint gst_discoverer_audio_info_get_sample_rate(IntPtr raw);
101 public uint SampleRate {
103 uint raw_ret = gst_discoverer_audio_info_get_sample_rate(Handle);
110 static DiscovererAudioInfo ()
112 GtkSharp.GstreamerSharp.ObjectManager.Initialize ();