build: on Windows, use MSVC format for gst*, glib and gobject dlls

Generated files were generated using 'ninja -C build update-code'
except for libgstfft, which had to be updated manually
(see issue #25).

Note: with these changes, building on MS Windows will require
the msvc compiler - mingw will no longer work.
This commit is contained in:
Aaron Boxer 2019-10-24 10:00:17 -04:00
parent de2554e637
commit 38a0731461
461 changed files with 3448 additions and 3448 deletions

View file

@ -931,7 +931,7 @@ namespace GES {
v.Dispose ();
}
[DllImport("libgio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void g_async_initable_init_async(IntPtr raw, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data);
public void InitAsync(int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback cb) {
@ -940,7 +940,7 @@ namespace GES {
g_async_initable_init_async(Handle, io_priority, cancellable == null ? IntPtr.Zero : cancellable.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero);
}
[DllImport("libgio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool g_async_initable_init_finish(IntPtr raw, IntPtr res, out IntPtr error);
public bool InitFinish(GLib.IAsyncResult res) {
@ -951,7 +951,7 @@ namespace GES {
return ret;
}
[DllImport("libgio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gio-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool g_initable_init(IntPtr raw, IntPtr cancellable, out IntPtr error);
public bool Init(GLib.Cancellable cancellable) {

View file

@ -246,35 +246,35 @@ namespace GES {
return ret;
}
[DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_video_overlay_expose(IntPtr raw);
public void Expose() {
gst_video_overlay_expose(Handle);
}
[DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_video_overlay_got_window_handle(IntPtr raw, IntPtr handle);
public void GotWindowHandle(IntPtr handle) {
gst_video_overlay_got_window_handle(Handle, handle);
}
[DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_video_overlay_handle_events(IntPtr raw, bool handle_events);
public void HandleEvents(bool handle_events) {
gst_video_overlay_handle_events(Handle, handle_events);
}
[DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_video_overlay_prepare_window_handle(IntPtr raw);
public void PrepareWindowHandle() {
gst_video_overlay_prepare_window_handle(Handle);
}
[DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_video_overlay_set_render_rectangle(IntPtr raw, int x, int y, int width, int height);
public bool SetRenderRectangle(int x, int y, int width, int height) {
@ -283,7 +283,7 @@ namespace GES {
return ret;
}
[DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_video_overlay_set_window_handle(IntPtr raw, IntPtr handle);
public IntPtr WindowHandle {

View file

@ -1,6 +1,6 @@
<configuration>
<!-- Linux -->
<dllmap dll="libges-1.0-0.dll" target="libges-1.0.so" os="linux"/>
<dllmap dll="ges-1.0-0.dll" target="libges-1.0.so" os="linux"/>
<!-- Mac OS X -->
<dllmap dll="libges-1.0-0.dll" target="libges-1.0.dylib" os="osx"/>
<dllmap dll="ges-1.0-0.dll" target="libges-1.0.dylib" os="osx"/>
</configuration>

View file

@ -358,7 +358,7 @@ namespace GstreamerSharp
[DllImport ("libgdk-3.so.0") ]
static extern IntPtr gdk_x11_window_get_xid (IntPtr handle);
[DllImport ("libgdk-win32-3.0-0.dll") ]
[DllImport ("gdk-win32-3.0-0.dll") ]
static extern IntPtr gdk_win32_drawable_get_handle (IntPtr handle);
[DllImport ("libX11.so.6")]

View file

@ -190,7 +190,7 @@ namespace GstreamerSharp
pipeline.SetState (State.Null);
}
[DllImport ("libglib-2.0.dll")]
[DllImport ("glib-2.0.dll")]
static extern IntPtr g_quark_to_string (uint quark);
}
}

View file

@ -265,7 +265,7 @@ namespace Gstreameroverlay
[DllImport ("libgdk-3.so.0") ]
static extern IntPtr gdk_x11_window_get_xid (IntPtr handle);
[DllImport ("libgdk-win32-3.0-0.dll") ]
[DllImport ("gdk-win32-3.0-0.dll") ]
static extern IntPtr gdk_win32_drawable_get_handle (IntPtr handle);
[DllImport ("libX11.so.6")]

View file

@ -21,7 +21,7 @@ namespace Gst.Base {
public partial class Adapter
{
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_adapter_copy(IntPtr raw, out IntPtr dest, int offset, int size);
public byte[] Copy(int offset, int size) {
@ -36,7 +36,7 @@ namespace Gst.Base {
return bytes;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_map(IntPtr raw, out int size);
public byte[] Map() {

View file

@ -36,10 +36,10 @@ namespace Gst {
GLib.GType.Register(Gst.WebRTC.WebRTCSessionDescription.GType, typeof(Gst.WebRTC.WebRTCSessionDescription));
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_init(ref int argc, ref IntPtr[] argv);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_init(IntPtr argc, IntPtr argv);
private static void CheckVersion() {
@ -66,10 +66,10 @@ namespace Gst {
CheckVersion();
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_init_check(ref int argc, ref IntPtr[] argv, out IntPtr error);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_init_check(IntPtr argc, IntPtr argv, out IntPtr error);
public static bool InitCheck() {

View file

@ -27,7 +27,7 @@ namespace Gst.Audio {
partial class AudioFilter
{
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_filter_class_add_pad_templates(IntPtr klass, IntPtr allowed_caps);
public void AddPadTemplates(Gst.Caps allowed_caps) {

View file

@ -21,7 +21,7 @@ namespace Gst {
using System.Runtime.InteropServices;
partial class Buffer {
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_buffer_extract(IntPtr raw, UIntPtr offset, byte[] dest, UIntPtr size);
public ulong Extract(ulong offset, ref byte[] dest) {
@ -30,7 +30,7 @@ namespace Gst {
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_buffer_extract_dup(IntPtr raw, UIntPtr offset, UIntPtr size, out IntPtr dest, out UIntPtr dest_size);
public ulong ExtractDup(ulong offset, ulong size, out byte[] dest) {

View file

@ -27,7 +27,7 @@ namespace Gst {
partial class DeviceProvider
{
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_device_provider_class_add_metadata(IntPtr klass, IntPtr key, IntPtr value);
public void AddMetadata(string key, string value) {
@ -38,7 +38,7 @@ namespace Gst {
GLib.Marshaller.Free (native_value);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_device_provider_class_add_static_metadata(IntPtr klass, IntPtr key, IntPtr value);
public void AddStaticMetadata(string key, string value) {
@ -50,7 +50,7 @@ namespace Gst {
GLib.Marshaller.Free (native_value);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_device_provider_class_set_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author);
public void SetMetadata(string longname, string classification, string description, string author) {
@ -65,7 +65,7 @@ namespace Gst {
GLib.Marshaller.Free (native_author);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_device_provider_class_set_static_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author);
public void SetStaticMetadata(string longname, string classification, string description, string author) {

View file

@ -289,14 +289,14 @@ namespace Gst
}
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr g_closure_new_simple (int size, IntPtr data);
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint g_signal_connect_closure (IntPtr instance,
string name, IntPtr closure, bool after);
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void g_closure_set_meta_marshal (IntPtr closure, IntPtr data, GClosureMarshal marshal);
class GTypeSignalKey
@ -432,16 +432,16 @@ namespace Gst
return ret;
}
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int g_signal_handler_disconnect (IntPtr o, uint handler_id);
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint g_signal_lookup (IntPtr name, IntPtr itype);
[DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint g_quark_from_string (IntPtr str);
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void g_signal_emitv (GLib.Value[] parameters, uint signal_id, uint detail, ref GLib.Value return_value);
[StructLayout (LayoutKind.Sequential)]
@ -456,7 +456,7 @@ namespace Gst
public IntPtr param_types;
}
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void g_signal_query (uint signal_id, ref GSignalQuery query);
}
}

View file

@ -46,7 +46,7 @@ namespace Gst {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_element_class_add_metadata(IntPtr klass, IntPtr key, IntPtr value);
public void AddMetadata(string key, string value) {
@ -57,14 +57,14 @@ namespace Gst {
GLib.Marshaller.Free (native_value);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_element_class_add_pad_template(IntPtr klass, IntPtr templ);
public void AddPadTemplate(Gst.PadTemplate templ) {
gst_element_class_add_pad_template(LookupGType().GetClassPtr (), templ == null ? IntPtr.Zero : templ.OwnedHandle);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_element_class_add_static_metadata(IntPtr klass, IntPtr key, IntPtr value);
public void AddStaticMetadata(string key, string value) {
@ -75,7 +75,7 @@ namespace Gst {
GLib.Marshaller.Free (native_value);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_element_class_set_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author);
public void SetMetadata(string longname, string classification, string description, string author) {
@ -90,7 +90,7 @@ namespace Gst {
GLib.Marshaller.Free (native_author);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_element_class_set_static_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author);
public void SetStaticMetadata(string longname, string classification, string description, string author) {

View file

@ -24,21 +24,21 @@ namespace Gst.FFT {
public partial class FFTF32 : GLib.Opaque {
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_fft_f32_new (int len, bool inverse);
public FFTF32 (int len, bool inverse) {
Raw = gst_fft_f32_new (len, inverse);
}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_f32_fft(IntPtr raw, float[] timedata, [MarshalAs (UnmanagedType.LPArray, ArraySubType=UnmanagedType.Struct)] FFTF32Complex[] freqdata);
public void Fft(float[] timedata, Gst.FFT.FFTF32Complex[] freqdata) {
gst_fft_f32_fft(Handle, timedata, freqdata);
}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_f32_window(IntPtr raw, float[] timedata, int window);
public void Window(float[] timedata, Gst.FFT.FFTWindow window) {

View file

@ -33,10 +33,10 @@ namespace Gst {
public partial class Iterator : IEnumerable {
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr g_value_reset (ref GLib.Value val);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_iterator_next(IntPtr raw, ref GLib.Value elem);
public Gst.IteratorResult Next(ref GLib.Value elem) {

View file

@ -22,7 +22,7 @@ namespace Gst {
partial class Message
{
[DllImport ("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_message_parse_error (IntPtr msg, out IntPtr err, out IntPtr debug);
public void ParseError (out GLib.GException error, out string debug) {
@ -43,10 +43,10 @@ namespace Gst {
error = new GLib.GException (err);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_message_get_stream_status_object(IntPtr raw);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_message_set_stream_status_object(IntPtr raw, IntPtr value);
public GLib.Value StreamStatusObject {

View file

@ -24,7 +24,7 @@ namespace Gst {
{
protected MiniObject () {}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_mini_object_replace(IntPtr olddata, IntPtr newdata);
public static bool Replace(ref Gst.MiniObject olddata, Gst.MiniObject newdata) {
@ -35,14 +35,14 @@ namespace Gst {
return Replace (ref olddata, null);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_mini_object_take(IntPtr olddata, IntPtr newdata);
public static bool Take(ref Gst.MiniObject olddata, Gst.MiniObject newdata) {
return gst_mini_object_take(olddata.Handle, newdata == null ? IntPtr.Zero : newdata.Handle);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_mini_object_make_writable(IntPtr mini_object);
public void MakeWritable() {

View file

@ -48,7 +48,7 @@ namespace Gst {
{
private Dictionary <string, bool> PropertyNameCache = new Dictionary<string, bool> ();
[DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr g_object_class_find_property (IntPtr klass, IntPtr name);
bool PropertyExists (string name) {

View file

@ -144,19 +144,19 @@ namespace Gst
return new Fraction (a.Numerator * b.Denominator, a.Denominator * b.Numerator);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void gst_value_set_fraction (ref GLib.Value v, int numerator, int denominator);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern int gst_value_get_fraction_numerator (ref GLib.Value v);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern int gst_value_get_fraction_denominator (ref GLib.Value v);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_fraction_get_type ();
}
@ -205,19 +205,19 @@ namespace Gst
return val;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_double_range_get_type ();
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void gst_value_set_double_range (ref GLib.Value v, double min, double max);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern double gst_value_get_double_range_min (ref GLib.Value v);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern double gst_value_get_double_range_max (ref GLib.Value v);
}
@ -266,19 +266,19 @@ namespace Gst
return val;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_int_range_get_type ();
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void gst_value_set_int_range (ref GLib.Value v, int min, int max);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern int gst_value_get_int_range_min (ref GLib.Value v);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern int gst_value_get_int_range_max (ref GLib.Value v);
}
@ -345,19 +345,19 @@ namespace Gst
return val;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_fraction_range_get_type ();
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void gst_value_set_fraction_range (ref GLib.Value v, ref GLib.Value min, ref GLib.Value max);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_value_get_fraction_range_min (ref GLib.Value v);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_value_get_fraction_range_max (ref GLib.Value v);
}
@ -432,30 +432,30 @@ namespace Gst
return val;
}
[DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern byte g_date_get_day (IntPtr date);
[DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern int g_date_get_month (IntPtr date);
[DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern ushort g_date_get_year (IntPtr date);
[DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr g_date_new_dmy (byte day, int month, ushort year);
[DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("glib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void g_date_free (IntPtr date);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_date_get_type ();
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_value_get_date (ref GLib.Value val);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void gst_value_set_date (ref GLib.Value val, IntPtr date);
}
@ -538,19 +538,19 @@ namespace Gst
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_value_list_get_type ();
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern uint gst_value_list_get_size (ref GLib.Value val);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_value_list_get_value (ref GLib.Value val, uint index);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void gst_value_list_append_value (ref GLib.Value val, ref GLib.Value el);
}
@ -633,19 +633,19 @@ namespace Gst
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_value_array_get_type ();
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern uint gst_value_array_get_size (ref GLib.Value val);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_value_array_get_value (ref GLib.Value val, uint index);
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void gst_value_array_append_value (ref GLib.Value val, ref GLib.Value el);
}

View file

@ -75,10 +75,10 @@ namespace Gst
}
}
[DllImport ("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void gst_version (out uint major, out uint minor, out uint micro, out uint nano);
[DllImport ("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr gst_version_string ();
}
}

View file

@ -33,10 +33,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_app_sink_get_caps(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_sink_set_caps(IntPtr raw, IntPtr caps);
[GLib.Property ("caps")]
@ -51,10 +51,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_app_sink_get_drop(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_sink_set_drop(IntPtr raw, bool drop);
[GLib.Property ("drop")]
@ -69,10 +69,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_app_sink_get_emit_signals(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_sink_set_emit_signals(IntPtr raw, bool emit);
[GLib.Property ("emit-signals")]
@ -98,10 +98,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_app_sink_get_max_buffers(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_sink_set_max_buffers(IntPtr raw, uint max);
[GLib.Property ("max-buffers")]
@ -116,10 +116,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_app_sink_get_wait_on_eos(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_sink_set_wait_on_eos(IntPtr raw, bool wait);
[GLib.Property ("wait-on-eos")]
@ -549,7 +549,7 @@ namespace Gst.App {
// End of the ABI representation.
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_app_sink_get_type();
public static new GLib.GType GType {
@ -560,10 +560,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_app_sink_get_buffer_list_support(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_sink_set_buffer_list_support(IntPtr raw, bool enable_lists);
public bool BufferListSupport {
@ -577,7 +577,7 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_app_sink_is_eos(IntPtr raw);
public bool IsEos {
@ -588,7 +588,7 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_app_sink_pull_preroll(IntPtr raw);
public Gst.Sample PullPreroll() {
@ -597,7 +597,7 @@ namespace Gst.App {
return ret;
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_app_sink_pull_sample(IntPtr raw);
public Gst.Sample PullSample() {
@ -606,7 +606,7 @@ namespace Gst.App {
return ret;
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_app_sink_try_pull_preroll(IntPtr raw, ulong timeout);
public Gst.Sample TryPullPreroll(ulong timeout) {
@ -615,7 +615,7 @@ namespace Gst.App {
return ret;
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_app_sink_try_pull_sample(IntPtr raw, ulong timeout);
public Gst.Sample TryPullSample(ulong timeout) {
@ -624,7 +624,7 @@ namespace Gst.App {
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_uri_handler_get_uri(IntPtr raw);
public string Uri {
@ -635,7 +635,7 @@ namespace Gst.App {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_uri_handler_get_uri_type(IntPtr raw);
public Gst.URIType UriType {
@ -646,7 +646,7 @@ namespace Gst.App {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_uri_handler_set_uri(IntPtr raw, IntPtr uri, out IntPtr error);
public bool SetUri(string uri) {

View file

@ -33,10 +33,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_app_src_get_caps(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_src_set_caps(IntPtr raw, IntPtr caps);
[GLib.Property ("caps")]
@ -51,7 +51,7 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_app_src_get_current_level_bytes(IntPtr raw);
[GLib.Property ("current-level-bytes")]
@ -63,10 +63,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_app_src_get_duration(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_src_set_duration(IntPtr raw, ulong duration);
[GLib.Property ("duration")]
@ -81,10 +81,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_app_src_get_emit_signals(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_src_set_emit_signals(IntPtr raw, bool emit);
[GLib.Property ("emit-signals")]
@ -129,10 +129,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_app_src_get_max_bytes(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_src_set_max_bytes(IntPtr raw, ulong max);
[GLib.Property ("max-bytes")]
@ -192,10 +192,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern long gst_app_src_get_size(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_src_set_size(IntPtr raw, long size);
[GLib.Property ("size")]
@ -210,10 +210,10 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_app_src_get_stream_type(IntPtr raw);
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_src_set_stream_type(IntPtr raw, int type);
[GLib.Property ("stream-type")]
@ -774,7 +774,7 @@ namespace Gst.App {
// End of the ABI representation.
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_app_src_get_type();
public static new GLib.GType GType {
@ -785,7 +785,7 @@ namespace Gst.App {
}
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_app_src_end_of_stream(IntPtr raw);
public Gst.FlowReturn EndOfStream() {
@ -794,14 +794,14 @@ namespace Gst.App {
return ret;
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_src_get_latency(IntPtr raw, out ulong min, out ulong max);
public void GetLatency(out ulong min, out ulong max) {
gst_app_src_get_latency(Handle, out min, out max);
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_app_src_push_buffer(IntPtr raw, IntPtr buffer);
public Gst.FlowReturn PushBuffer(Gst.Buffer buffer) {
@ -811,7 +811,7 @@ namespace Gst.App {
return ret;
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_app_src_push_buffer_list(IntPtr raw, IntPtr buffer_list);
public Gst.FlowReturn PushBufferList(Gst.BufferList buffer_list) {
@ -821,7 +821,7 @@ namespace Gst.App {
return ret;
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_app_src_push_sample(IntPtr raw, IntPtr sample);
public Gst.FlowReturn PushSample(Gst.Sample sample) {
@ -830,14 +830,14 @@ namespace Gst.App {
return ret;
}
[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_app_src_set_latency(IntPtr raw, ulong min, ulong max);
public void SetLatency(ulong min, ulong max) {
gst_app_src_set_latency(Handle, min, max);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_uri_handler_get_uri(IntPtr raw);
public string Uri {
@ -848,7 +848,7 @@ namespace Gst.App {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_uri_handler_get_uri_type(IntPtr raw);
public Gst.URIType UriType {
@ -859,7 +859,7 @@ namespace Gst.App {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_uri_handler_set_uri(IntPtr raw, IntPtr uri, out IntPtr error);
public bool SetUri(string uri) {

View file

@ -16,7 +16,7 @@ namespace Gst.App {
}
internal class AppStreamTypeGType {
[DllImport ("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_app_stream_type_get_type ();
public static GLib.GType GType {

View file

@ -18,10 +18,10 @@ namespace Gst.Audio {
CreateNativeObject (new string [0], new GLib.Value [0]);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_base_sink_get_alignment_threshold(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_base_sink_set_alignment_threshold(IntPtr raw, ulong alignment_threshold);
[GLib.Property ("alignment-threshold")]
@ -66,10 +66,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_base_sink_get_discont_wait(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_base_sink_set_discont_wait(IntPtr raw, ulong discont_wait);
[GLib.Property ("discont-wait")]
@ -84,10 +84,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern long gst_audio_base_sink_get_drift_tolerance(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_base_sink_set_drift_tolerance(IntPtr raw, long drift_tolerance);
[GLib.Property ("drift-tolerance")]
@ -117,10 +117,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_base_sink_get_provide_clock(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_base_sink_set_provide_clock(IntPtr raw, bool provide);
[GLib.Property ("provide-clock")]
@ -135,10 +135,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_base_sink_get_slave_method(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_base_sink_set_slave_method(IntPtr raw, int method);
[GLib.Property ("slave-method")]
@ -363,7 +363,7 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_base_sink_get_type();
public static new GLib.GType GType {
@ -374,7 +374,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_base_sink_create_ringbuffer(IntPtr raw);
public Gst.Audio.AudioRingBuffer CreateRingbuffer() {
@ -383,14 +383,14 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_base_sink_report_device_failure(IntPtr raw);
public void ReportDeviceFailure() {
gst_audio_base_sink_report_device_failure(Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_base_sink_set_custom_slaving_callback(IntPtr raw, Gst.AudioSharp.AudioBaseSinkCustomSlavingCallbackNative cb, IntPtr user_data, GLib.DestroyNotify notify);
public Gst.Audio.AudioBaseSinkCustomSlavingCallback CustomSlavingCallback {

View file

@ -19,7 +19,7 @@ namespace Gst.Audio {
}
internal class AudioBaseSinkDiscontReasonGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_base_sink_discont_reason_get_type ();
public static GLib.GType GType {

View file

@ -17,7 +17,7 @@ namespace Gst.Audio {
}
internal class AudioBaseSinkSlaveMethodGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_base_sink_slave_method_get_type ();
public static GLib.GType GType {

View file

@ -68,10 +68,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_base_src_get_provide_clock(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_base_src_set_provide_clock(IntPtr raw, bool provide);
[GLib.Property ("provide-clock")]
@ -86,10 +86,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_base_src_get_slave_method(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_base_src_set_slave_method(IntPtr raw, int method);
[GLib.Property ("slave-method")]
@ -239,7 +239,7 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_base_src_get_type();
public static new GLib.GType GType {
@ -250,7 +250,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_base_src_create_ringbuffer(IntPtr raw);
public Gst.Audio.AudioRingBuffer CreateRingbuffer() {

View file

@ -17,7 +17,7 @@ namespace Gst.Audio {
}
internal class AudioBaseSrcSlaveMethodGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_base_src_slave_method_get_type ();
public static GLib.GType GType {

View file

@ -54,7 +54,7 @@ namespace Gst.Audio {
return (Gst.Audio.AudioBuffer) Marshal.PtrToStructure (raw, typeof (Gst.Audio.AudioBuffer));
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_buffer_map(IntPtr raw, IntPtr info, IntPtr gstbuffer, int flags);
public bool Map(Gst.Audio.AudioInfo info, Gst.Buffer gstbuffer, Gst.MapFlags flags) {
@ -67,7 +67,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_buffer_unmap(IntPtr raw);
public void Unmap() {
@ -78,7 +78,7 @@ namespace Gst.Audio {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_buffer_clip(IntPtr buffer, IntPtr segment, int rate, int bpf);
public static Gst.Buffer Clip(Gst.Buffer buffer, Gst.Segment segment, int rate, int bpf) {
@ -90,7 +90,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_buffer_reorder_channels(IntPtr buffer, int format, int channels, int[] from, int[] to);
public static bool ReorderChannels(Gst.Buffer buffer, Gst.Audio.AudioFormat format, int channels, Gst.Audio.AudioChannelPosition[] from, Gst.Audio.AudioChannelPosition[] to) {
@ -107,7 +107,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_buffer_truncate(IntPtr buffer, int bpf, UIntPtr trim, UIntPtr samples);
public static Gst.Buffer Truncate(Gst.Buffer buffer, int bpf, ulong trim, ulong samples) {

View file

@ -291,7 +291,7 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_cd_src_get_type();
public static new GLib.GType GType {
@ -302,7 +302,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_cd_src_add_track(IntPtr raw, IntPtr track);
public bool AddTrack(Gst.Audio.AudioCdSrcTrack track) {
@ -313,7 +313,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_uri_handler_get_uri(IntPtr raw);
public string Uri {
@ -324,7 +324,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_uri_handler_get_uri_type(IntPtr raw);
public Gst.URIType UriType {
@ -335,7 +335,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_uri_handler_set_uri(IntPtr raw, IntPtr uri, out IntPtr error);
public bool SetUri(string uri) {

View file

@ -15,7 +15,7 @@ namespace Gst.Audio {
}
internal class AudioCdSrcModeGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_cd_src_mode_get_type ();
public static GLib.GType GType {

View file

@ -11,7 +11,7 @@ namespace Gst.Audio {
#region Autogenerated code
public partial class AudioChannelMixer : GLib.Opaque {
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_channel_mixer_is_passthrough(IntPtr raw);
public bool IsPassthrough {
@ -22,7 +22,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_channel_mixer_samples(IntPtr raw, IntPtr in_param, IntPtr out_param, int samples);
public void Samples(IntPtr in_param, IntPtr out_param, int samples) {
@ -35,7 +35,7 @@ namespace Gst.Audio {
public AudioChannelMixer(IntPtr raw) : base(raw) {}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_channel_mixer_free(IntPtr raw);
protected override void Free (IntPtr raw)

View file

@ -19,7 +19,7 @@ namespace Gst.Audio {
}
internal class AudioChannelMixerFlagsGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_channel_mixer_flags_get_type ();
public static GLib.GType GType {

View file

@ -44,7 +44,7 @@ namespace Gst.Audio {
}
internal class AudioChannelPositionGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_channel_position_get_type ();
public static GLib.GType GType {

View file

@ -25,7 +25,7 @@ namespace Gst.Audio {
return (Gst.Audio.AudioClippingMeta) Marshal.PtrToStructure (raw, typeof (Gst.Audio.AudioClippingMeta));
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_clipping_meta_get_info();
public static Gst.MetaInfo Info {

View file

@ -13,7 +13,7 @@ namespace Gst.Audio {
public AudioClock (IntPtr raw) : base(raw) {}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_clock_new(IntPtr name, Gst.AudioSharp.AudioClockGetTimeFuncNative func, IntPtr user_data, GLib.DestroyNotify destroy_notify);
public AudioClock (string name, Gst.Audio.AudioClockGetTimeFunc func, IntPtr user_data, GLib.DestroyNotify destroy_notify) : base (IntPtr.Zero)
@ -75,7 +75,7 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_clock_get_type();
public static new GLib.GType GType {
@ -86,7 +86,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_clock_adjust(IntPtr raw, ulong time);
public ulong Adjust(ulong time) {
@ -95,7 +95,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_clock_get_time(IntPtr raw);
public new ulong Time {
@ -106,14 +106,14 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_clock_invalidate(IntPtr raw);
public void Invalidate() {
gst_audio_clock_invalidate(Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_clock_reset(IntPtr raw, ulong time);
public void Reset(ulong time) {

View file

@ -21,7 +21,7 @@ namespace Gst.Audio {
return (Gst.Audio.AudioConverter) Marshal.PtrToStructure (raw, typeof (Gst.Audio.AudioConverter));
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_converter_new(int flags, IntPtr in_info, IntPtr out_info, IntPtr config);
public static AudioConverter New(Gst.Audio.AudioConverterFlags flags, Gst.Audio.AudioInfo in_info, Gst.Audio.AudioInfo out_info, Gst.Structure config)
@ -31,7 +31,7 @@ namespace Gst.Audio {
return result;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_converter_get_type();
public static GLib.GType GType {
@ -42,7 +42,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_converter_get_config(IntPtr raw, out int in_rate, out int out_rate);
public Gst.Structure GetConfig(out int in_rate, out int out_rate) {
@ -55,7 +55,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_audio_converter_get_in_frames(IntPtr raw, UIntPtr out_frames);
public ulong GetInFrames(ulong out_frames) {
@ -68,7 +68,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_audio_converter_get_max_latency(IntPtr raw);
public ulong MaxLatency {
@ -83,7 +83,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_audio_converter_get_out_frames(IntPtr raw, UIntPtr in_frames);
public ulong GetOutFrames(ulong in_frames) {
@ -96,7 +96,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_converter_is_passthrough(IntPtr raw);
public bool IsPassthrough {
@ -111,7 +111,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_converter_reset(IntPtr raw);
public void Reset() {
@ -122,7 +122,7 @@ namespace Gst.Audio {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_converter_samples(IntPtr raw, int flags, IntPtr in_param, UIntPtr in_frames, IntPtr out_param, UIntPtr out_frames);
public bool Samples(Gst.Audio.AudioConverterFlags flags, IntPtr in_param, ulong in_frames, IntPtr out_param, ulong out_frames) {
@ -139,7 +139,7 @@ namespace Gst.Audio {
return Samples (flags, IntPtr.Zero, in_frames, IntPtr.Zero, out_frames);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_converter_supports_inplace(IntPtr raw);
public bool SupportsInplace() {
@ -152,7 +152,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_converter_update_config(IntPtr raw, int in_rate, int out_rate, IntPtr config);
public bool UpdateConfig(int in_rate, int out_rate, Gst.Structure config) {

View file

@ -17,7 +17,7 @@ namespace Gst.Audio {
}
internal class AudioConverterFlagsGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_converter_flags_get_type ();
public static GLib.GType GType {

View file

@ -18,10 +18,10 @@ namespace Gst.Audio {
CreateNativeObject (new string [0], new GLib.Value [0]);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_decoder_get_min_latency(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_min_latency(IntPtr raw, ulong num);
[GLib.Property ("min-latency")]
@ -36,10 +36,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_decoder_get_plc(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_plc(IntPtr raw, bool enabled);
[GLib.Property ("plc")]
@ -54,10 +54,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_decoder_get_tolerance(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_tolerance(IntPtr raw, ulong tolerance);
[GLib.Property ("tolerance")]
@ -1326,7 +1326,7 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_decoder_get_type();
public static new GLib.GType GType {
@ -1337,7 +1337,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_decoder_allocate_output_buffer(IntPtr raw, UIntPtr size);
public Gst.Buffer AllocateOutputBuffer(ulong size) {
@ -1346,7 +1346,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_decoder_finish_frame(IntPtr raw, IntPtr buf, int frames);
public Gst.FlowReturn FinishFrame(Gst.Buffer buf, int frames) {
@ -1355,7 +1355,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_decoder_finish_subframe(IntPtr raw, IntPtr buf);
public Gst.FlowReturn FinishSubframe(Gst.Buffer buf) {
@ -1364,7 +1364,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_get_allocator(IntPtr raw, out IntPtr allocator, IntPtr parms);
public void GetAllocator(out Gst.Allocator allocator, out Gst.AllocationParams parms) {
@ -1376,7 +1376,7 @@ namespace Gst.Audio {
Marshal.FreeHGlobal (native_parms);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_decoder_get_audio_info(IntPtr raw);
public Gst.Audio.AudioInfo AudioInfo {
@ -1387,7 +1387,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_decoder_get_delay(IntPtr raw);
public int Delay {
@ -1398,10 +1398,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_decoder_get_drainable(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_drainable(IntPtr raw, bool enabled);
public bool Drainable {
@ -1415,7 +1415,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_decoder_get_estimate_rate(IntPtr raw);
public int EstimateRate {
@ -1426,17 +1426,17 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_get_latency(IntPtr raw, out ulong min, out ulong max);
public void GetLatency(out ulong min, out ulong max) {
gst_audio_decoder_get_latency(Handle, out min, out max);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_decoder_get_max_errors(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_max_errors(IntPtr raw, int num);
public int MaxErrors {
@ -1450,10 +1450,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_decoder_get_needs_format(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_needs_format(IntPtr raw, bool enabled);
public bool NeedsFormat {
@ -1467,14 +1467,14 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_get_parse_state(IntPtr raw, out bool sync, out bool eos);
public void GetParseState(out bool sync, out bool eos) {
gst_audio_decoder_get_parse_state(Handle, out sync, out eos);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_decoder_get_plc_aware(IntPtr raw);
public int PlcAware {
@ -1485,7 +1485,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_merge_tags(IntPtr raw, IntPtr tags, int mode);
public void MergeTags(Gst.TagList tags, Gst.TagMergeMode mode) {
@ -1496,7 +1496,7 @@ namespace Gst.Audio {
MergeTags (null, mode);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_decoder_negotiate(IntPtr raw);
public bool Negotiate() {
@ -1505,7 +1505,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_decoder_proxy_getcaps(IntPtr raw, IntPtr caps, IntPtr filter);
public Gst.Caps ProxyGetcaps(Gst.Caps caps, Gst.Caps filter) {
@ -1518,7 +1518,7 @@ namespace Gst.Audio {
return ProxyGetcaps (null, null);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_allocation_caps(IntPtr raw, IntPtr allocation_caps);
public Gst.Caps AllocationCaps {
@ -1527,21 +1527,21 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_estimate_rate(IntPtr raw, bool enabled);
public void SetEstimateRate(bool enabled) {
gst_audio_decoder_set_estimate_rate(Handle, enabled);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_latency(IntPtr raw, ulong min, ulong max);
public void SetLatency(ulong min, ulong max) {
gst_audio_decoder_set_latency(Handle, min, max);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_decoder_set_output_caps(IntPtr raw, IntPtr caps);
public bool SetOutputCaps(Gst.Caps caps) {
@ -1550,7 +1550,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_decoder_set_output_format(IntPtr raw, IntPtr info);
public bool SetOutputFormat(Gst.Audio.AudioInfo info) {
@ -1559,14 +1559,14 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_plc_aware(IntPtr raw, bool plc);
public void SetPlcAware(bool plc) {
gst_audio_decoder_set_plc_aware(Handle, plc);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_set_use_default_pad_acceptcaps(IntPtr raw, bool use);
public bool UseDefaultPadAcceptcaps {

View file

@ -17,7 +17,7 @@ namespace Gst.Audio {
}
internal class AudioDitherMethodGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_dither_method_get_type ();
public static GLib.GType GType {

View file

@ -27,7 +27,7 @@ namespace Gst.Audio {
return (Gst.Audio.AudioDownmixMeta) Marshal.PtrToStructure (raw, typeof (Gst.Audio.AudioDownmixMeta));
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_downmix_meta_get_info();
public static Gst.MetaInfo Info {

View file

@ -18,10 +18,10 @@ namespace Gst.Audio {
CreateNativeObject (new string [0], new GLib.Value [0]);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_encoder_get_hard_resync(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_hard_resync(IntPtr raw, bool enabled);
[GLib.Property ("hard-resync")]
@ -36,10 +36,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_encoder_get_mark_granule(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_mark_granule(IntPtr raw, bool enabled);
[GLib.Property ("mark-granule")]
@ -54,10 +54,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_encoder_get_perfect_timestamp(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_perfect_timestamp(IntPtr raw, bool enabled);
[GLib.Property ("perfect-timestamp")]
@ -72,10 +72,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_encoder_get_tolerance(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_tolerance(IntPtr raw, ulong tolerance);
[GLib.Property ("tolerance")]
@ -1278,7 +1278,7 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_encoder_get_type();
public static new GLib.GType GType {
@ -1289,7 +1289,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_encoder_allocate_output_buffer(IntPtr raw, UIntPtr size);
public Gst.Buffer AllocateOutputBuffer(ulong size) {
@ -1298,7 +1298,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_encoder_finish_frame(IntPtr raw, IntPtr buffer, int samples);
public Gst.FlowReturn FinishFrame(Gst.Buffer buffer, int samples) {
@ -1307,7 +1307,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_get_allocator(IntPtr raw, out IntPtr allocator, IntPtr parms);
public void GetAllocator(out Gst.Allocator allocator, out Gst.AllocationParams parms) {
@ -1319,7 +1319,7 @@ namespace Gst.Audio {
Marshal.FreeHGlobal (native_parms);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_encoder_get_audio_info(IntPtr raw);
public Gst.Audio.AudioInfo AudioInfo {
@ -1330,10 +1330,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_encoder_get_drainable(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_drainable(IntPtr raw, bool enabled);
public bool Drainable {
@ -1347,10 +1347,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_encoder_get_frame_max(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_frame_max(IntPtr raw, int num);
public int FrameMax {
@ -1364,10 +1364,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_encoder_get_frame_samples_max(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_frame_samples_max(IntPtr raw, int num);
public int FrameSamplesMax {
@ -1381,10 +1381,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_encoder_get_frame_samples_min(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_frame_samples_min(IntPtr raw, int num);
public int FrameSamplesMin {
@ -1398,10 +1398,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_encoder_get_hard_min(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_hard_min(IntPtr raw, bool enabled);
public bool HardMin {
@ -1415,17 +1415,17 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_get_latency(IntPtr raw, out ulong min, out ulong max);
public void GetLatency(out ulong min, out ulong max) {
gst_audio_encoder_get_latency(Handle, out min, out max);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_encoder_get_lookahead(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_lookahead(IntPtr raw, int num);
public int Lookahead {
@ -1439,7 +1439,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_merge_tags(IntPtr raw, IntPtr tags, int mode);
public void MergeTags(Gst.TagList tags, Gst.TagMergeMode mode) {
@ -1450,7 +1450,7 @@ namespace Gst.Audio {
MergeTags (null, mode);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_encoder_negotiate(IntPtr raw);
public bool Negotiate() {
@ -1459,7 +1459,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_encoder_proxy_getcaps(IntPtr raw, IntPtr caps, IntPtr filter);
public Gst.Caps ProxyGetcaps(Gst.Caps caps, Gst.Caps filter) {
@ -1472,7 +1472,7 @@ namespace Gst.Audio {
return ProxyGetcaps (null, null);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_allocation_caps(IntPtr raw, IntPtr allocation_caps);
public Gst.Caps AllocationCaps {
@ -1481,7 +1481,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_headers(IntPtr raw, IntPtr headers);
public GLib.List Headers {
@ -1490,14 +1490,14 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_encoder_set_latency(IntPtr raw, ulong min, ulong max);
public void SetLatency(ulong min, ulong max) {
gst_audio_encoder_set_latency(Handle, min, max);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_encoder_set_output_format(IntPtr raw, IntPtr caps);
public bool SetOutputFormat(Gst.Caps caps) {
@ -1506,7 +1506,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_preset_delete_preset(IntPtr raw, IntPtr name);
public bool DeletePreset(string name) {
@ -1517,7 +1517,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_preset_get_meta(IntPtr raw, IntPtr name, IntPtr tag, out IntPtr value);
public bool GetMeta(string name, string tag, out string value) {
@ -1532,7 +1532,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_preset_get_preset_names(IntPtr raw);
public string[] PresetNames {
@ -1543,7 +1543,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_preset_get_property_names(IntPtr raw);
public string[] PropertyNames {
@ -1554,7 +1554,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_preset_is_editable(IntPtr raw);
public bool IsEditable {
@ -1565,7 +1565,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_preset_load_preset(IntPtr raw, IntPtr name);
public bool LoadPreset(string name) {
@ -1576,7 +1576,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_preset_rename_preset(IntPtr raw, IntPtr old_name, IntPtr new_name);
public bool RenamePreset(string old_name, string new_name) {
@ -1589,7 +1589,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_preset_save_preset(IntPtr raw, IntPtr name);
public bool SavePreset(string name) {
@ -1600,7 +1600,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_preset_set_meta(IntPtr raw, IntPtr name, IntPtr tag, IntPtr value);
public bool SetMeta(string name, string tag, string value) {

View file

@ -117,14 +117,14 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_filter_class_add_pad_templates(IntPtr allowed_caps);
public static void AddAudioPadTemplate(Gst.Caps allowed_caps) {
gst_audio_filter_class_add_pad_templates(allowed_caps == null ? IntPtr.Zero : allowed_caps.Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_filter_get_type();
public static new GLib.GType GType {

View file

@ -16,7 +16,7 @@ namespace Gst.Audio {
}
internal class AudioFlagsGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_flags_get_type ();
public static GLib.GType GType {

View file

@ -59,7 +59,7 @@ namespace Gst.Audio {
}
internal class AudioFormatGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_format_get_type ();
public static GLib.GType GType {

View file

@ -19,7 +19,7 @@ namespace Gst.Audio {
}
internal class AudioFormatFlagsGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_format_flags_get_type ();
public static GLib.GType GType {

View file

@ -101,7 +101,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_info_get_type();
public static GLib.GType GType {
@ -112,7 +112,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_info_convert(IntPtr raw, int src_fmt, long src_val, int dest_fmt, out long dest_val);
public bool Convert(Gst.Format src_fmt, long src_val, Gst.Format dest_fmt, out long dest_val) {
@ -121,7 +121,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_info_copy(IntPtr raw);
public Gst.Audio.AudioInfo Copy() {
@ -130,7 +130,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_info_from_caps(IntPtr raw, IntPtr caps);
public bool FromCaps(Gst.Caps caps) {
@ -139,14 +139,14 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_info_init(IntPtr raw);
public void Init() {
gst_audio_info_init(Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_info_is_equal(IntPtr raw, IntPtr other);
public bool IsEqual(Gst.Audio.AudioInfo other) {
@ -155,7 +155,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_info_set_format(IntPtr raw, int format, int rate, int channels, int[] position);
public void SetFormat(Gst.Audio.AudioFormat format, int rate, int channels, Gst.Audio.AudioChannelPosition[] position) {
@ -170,7 +170,7 @@ namespace Gst.Audio {
SetFormat (format, rate, channels, null);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_info_to_caps(IntPtr raw);
public Gst.Caps ToCaps() {
@ -181,7 +181,7 @@ namespace Gst.Audio {
public AudioInfo(IntPtr raw) : base(raw) {}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_info_new();
public AudioInfo ()
@ -189,7 +189,7 @@ namespace Gst.Audio {
Raw = gst_audio_info_new();
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_info_free(IntPtr raw);
protected override void Free (IntPtr raw)

View file

@ -15,7 +15,7 @@ namespace Gst.Audio {
}
internal class AudioLayoutGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_layout_get_type ();
public static GLib.GType GType {

View file

@ -18,7 +18,7 @@ namespace Gst.Audio {
}
internal class AudioNoiseShapingMethodGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_noise_shaping_method_get_type ();
public static GLib.GType GType {

View file

@ -16,7 +16,7 @@ namespace Gst.Audio {
}
internal class AudioPackFlagsGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_pack_flags_get_type ();
public static GLib.GType GType {

View file

@ -11,14 +11,14 @@ namespace Gst.Audio {
#region Autogenerated code
public partial class AudioQuantize : GLib.Opaque {
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_quantize_reset(IntPtr raw);
public void Reset() {
gst_audio_quantize_reset(Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_quantize_samples(IntPtr raw, IntPtr in_param, IntPtr out_param, uint samples);
public void Samples(IntPtr in_param, IntPtr out_param, uint samples) {
@ -31,7 +31,7 @@ namespace Gst.Audio {
public AudioQuantize(IntPtr raw) : base(raw) {}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_quantize_free(IntPtr raw);
protected override void Free (IntPtr raw)

View file

@ -16,7 +16,7 @@ namespace Gst.Audio {
}
internal class AudioQuantizeFlagsGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_quantize_flags_get_type ();
public static GLib.GType GType {

View file

@ -11,7 +11,7 @@ namespace Gst.Audio {
#region Autogenerated code
public partial class AudioResampler : GLib.Opaque {
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_audio_resampler_get_in_frames(IntPtr raw, UIntPtr out_frames);
public ulong GetInFrames(ulong out_frames) {
@ -20,7 +20,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_audio_resampler_get_max_latency(IntPtr raw);
public ulong MaxLatency {
@ -31,7 +31,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_audio_resampler_get_out_frames(IntPtr raw, UIntPtr in_frames);
public ulong GetOutFrames(ulong in_frames) {
@ -40,7 +40,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_resampler_resample(IntPtr raw, IntPtr in_param, UIntPtr in_frames, IntPtr out_param, UIntPtr out_frames);
public void Resample(IntPtr in_param, ulong in_frames, IntPtr out_param, ulong out_frames) {
@ -51,14 +51,14 @@ namespace Gst.Audio {
Resample (IntPtr.Zero, in_frames, IntPtr.Zero, out_frames);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_resampler_reset(IntPtr raw);
public void Reset() {
gst_audio_resampler_reset(Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_resampler_update(IntPtr raw, int in_rate, int out_rate, IntPtr options);
public bool Update(int in_rate, int out_rate, Gst.Structure options) {
@ -67,7 +67,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_resampler_new(int method, int flags, int format, int channels, int in_rate, int out_rate, IntPtr options);
public static Gst.Audio.AudioResampler New(Gst.Audio.AudioResamplerMethod method, Gst.Audio.AudioResamplerFlags flags, Gst.Audio.AudioFormat format, int channels, int in_rate, int out_rate, Gst.Structure options) {
@ -76,7 +76,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_resampler_options_set_quality(int method, uint quality, int in_rate, int out_rate, IntPtr options);
public static void OptionsSetQuality(Gst.Audio.AudioResamplerMethod method, uint quality, int in_rate, int out_rate, Gst.Structure options) {
@ -85,7 +85,7 @@ namespace Gst.Audio {
public AudioResampler(IntPtr raw) : base(raw) {}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_resampler_free(IntPtr raw);
protected override void Free (IntPtr raw)

View file

@ -16,7 +16,7 @@ namespace Gst.Audio {
}
internal class AudioResamplerFilterInterpolationGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_resampler_filter_interpolation_get_type ();
public static GLib.GType GType {

View file

@ -16,7 +16,7 @@ namespace Gst.Audio {
}
internal class AudioResamplerFilterModeGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_resampler_filter_mode_get_type ();
public static GLib.GType GType {

View file

@ -18,7 +18,7 @@ namespace Gst.Audio {
}
internal class AudioResamplerFlagsGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_resampler_flags_get_type ();
public static GLib.GType GType {

View file

@ -18,7 +18,7 @@ namespace Gst.Audio {
}
internal class AudioResamplerMethodGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_resampler_method_get_type ();
public static GLib.GType GType {

View file

@ -126,7 +126,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_set_flushing(IntPtr raw, bool flushing);
public bool Flushing {
@ -946,7 +946,7 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_ring_buffer_get_type();
public static new GLib.GType GType {
@ -957,21 +957,21 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_debug_spec_buff(IntPtr spec);
public static void DebugSpecBuff(Gst.Audio.AudioRingBufferSpec spec) {
gst_audio_ring_buffer_debug_spec_buff(spec == null ? IntPtr.Zero : spec.Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_debug_spec_caps(IntPtr spec);
public static void DebugSpecCaps(Gst.Audio.AudioRingBufferSpec spec) {
gst_audio_ring_buffer_debug_spec_caps(spec == null ? IntPtr.Zero : spec.Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_parse_caps(IntPtr spec, IntPtr caps);
public static bool ParseCaps(Gst.Audio.AudioRingBufferSpec spec, Gst.Caps caps) {
@ -980,7 +980,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_acquire(IntPtr raw, IntPtr spec);
public bool Acquire(Gst.Audio.AudioRingBufferSpec spec) {
@ -989,7 +989,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_activate(IntPtr raw, bool active);
public bool Activate(bool active) {
@ -998,28 +998,28 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_advance(IntPtr raw, uint advance);
public void Advance(uint advance) {
gst_audio_ring_buffer_advance(Handle, advance);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_clear(IntPtr raw, int segment);
public void Clear(int segment) {
gst_audio_ring_buffer_clear(Handle, segment);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_clear_all(IntPtr raw);
public void ClearAll() {
gst_audio_ring_buffer_clear_all(Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_close_device(IntPtr raw);
public bool CloseDevice() {
@ -1028,7 +1028,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_audio_ring_buffer_commit(IntPtr raw, ulong sample, byte[] data, int in_samples, int out_samples, ref int accum);
public uint Commit(ulong sample, byte[] data, int in_samples, int out_samples, ref int accum) {
@ -1037,7 +1037,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_convert(IntPtr raw, int src_fmt, long src_val, int dest_fmt, out long dest_val);
public bool Convert(Gst.Format src_fmt, long src_val, Gst.Format dest_fmt, out long dest_val) {
@ -1046,7 +1046,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_audio_ring_buffer_delay(IntPtr raw);
public uint Delay() {
@ -1055,7 +1055,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_device_is_open(IntPtr raw);
public bool DeviceIsOpen() {
@ -1064,7 +1064,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_is_acquired(IntPtr raw);
public bool IsAcquired {
@ -1075,7 +1075,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_is_active(IntPtr raw);
public bool IsActive {
@ -1086,7 +1086,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_is_flushing(IntPtr raw);
public bool IsFlushing {
@ -1097,14 +1097,14 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_may_start(IntPtr raw, bool allowed);
public void MayStart(bool allowed) {
gst_audio_ring_buffer_may_start(Handle, allowed);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_open_device(IntPtr raw);
public bool OpenDevice() {
@ -1113,7 +1113,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_pause(IntPtr raw);
public bool Pause() {
@ -1122,7 +1122,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_audio_ring_buffer_read(IntPtr raw, ulong sample, byte[] data, uint len, out ulong timestamp);
public uint Read(ulong sample, byte[] data, uint len, out ulong timestamp) {
@ -1131,7 +1131,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_release(IntPtr raw);
public bool Release() {
@ -1140,7 +1140,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_ring_buffer_samples_done(IntPtr raw);
public ulong SamplesDone() {
@ -1149,7 +1149,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_set_callback_full(IntPtr raw, Gst.AudioSharp.AudioRingBufferCallbackNative cb, IntPtr user_data, GLib.DestroyNotify notify);
public Gst.Audio.AudioRingBufferCallback CallbackFull {
@ -1168,7 +1168,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_set_channel_positions(IntPtr raw, int[] position);
public Gst.Audio.AudioChannelPosition[] ChannelPositions {
@ -1181,7 +1181,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_set_sample(IntPtr raw, ulong sample);
public ulong Sample {
@ -1190,14 +1190,14 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_ring_buffer_set_timestamp(IntPtr raw, int readseg, ulong timestamp);
public void SetTimestamp(int readseg, ulong timestamp) {
gst_audio_ring_buffer_set_timestamp(Handle, readseg, timestamp);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_start(IntPtr raw);
public bool Start() {
@ -1206,7 +1206,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_ring_buffer_stop(IntPtr raw);
public bool Stop() {

View file

@ -28,7 +28,7 @@ namespace Gst.Audio {
}
internal class AudioRingBufferFormatTypeGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_ring_buffer_format_type_get_type ();
public static GLib.GType GType {

View file

@ -17,7 +17,7 @@ namespace Gst.Audio {
}
internal class AudioRingBufferStateGType {
[DllImport ("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_ring_buffer_state_get_type ();
public static GLib.GType GType {

View file

@ -499,7 +499,7 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_sink_get_type();
public static new GLib.GType GType {

View file

@ -499,7 +499,7 @@ namespace Gst.Audio {
// End of the ABI representation.
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_src_get_type();
public static new GLib.GType GType {

View file

@ -21,7 +21,7 @@ namespace Gst.Audio {
return (Gst.Audio.AudioStreamAlign) Marshal.PtrToStructure (raw, typeof (Gst.Audio.AudioStreamAlign));
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_stream_align_new(int rate, ulong alignment_threshold, ulong discont_wait);
public static AudioStreamAlign New(int rate, ulong alignment_threshold, ulong discont_wait)
@ -30,7 +30,7 @@ namespace Gst.Audio {
return result;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_stream_align_get_type();
public static GLib.GType GType {
@ -41,10 +41,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_stream_align_get_alignment_threshold(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_stream_align_set_alignment_threshold(IntPtr raw, ulong alignment_threshold);
public ulong AlignmentThreshold {
@ -66,10 +66,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_stream_align_get_discont_wait(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_stream_align_set_discont_wait(IntPtr raw, ulong discont_wait);
public ulong DiscontWait {
@ -91,10 +91,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_stream_align_get_rate(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_stream_align_set_rate(IntPtr raw, int rate);
public int Rate {
@ -116,7 +116,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_stream_align_get_samples_since_discont(IntPtr raw);
public ulong SamplesSinceDiscont {
@ -131,7 +131,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_stream_align_get_timestamp_at_discont(IntPtr raw);
public ulong TimestampAtDiscont {
@ -146,7 +146,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_stream_align_mark_discont(IntPtr raw);
public void MarkDiscont() {
@ -157,7 +157,7 @@ namespace Gst.Audio {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_stream_align_process(IntPtr raw, bool discont, ulong timestamp, uint n_samples, out ulong out_timestamp, out ulong out_duration, out ulong out_sample_position);
public bool Process(bool discont, ulong timestamp, uint n_samples, out ulong out_timestamp, out ulong out_duration, out ulong out_sample_position) {

View file

@ -11,7 +11,7 @@ namespace Gst.Audio {
#region Autogenerated code
public partial class Global {
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_buffer_clip(IntPtr buffer, IntPtr segment, int rate, int bpf);
public static Gst.Buffer AudioBufferClip(Gst.Buffer buffer, Gst.Segment segment, int rate, int bpf) {
@ -23,7 +23,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_buffer_reorder_channels(IntPtr buffer, int format, int channels, int[] from, int[] to);
public static bool AudioBufferReorderChannels(Gst.Buffer buffer, Gst.Audio.AudioFormat format, int channels, Gst.Audio.AudioChannelPosition[] from, Gst.Audio.AudioChannelPosition[] to) {
@ -40,7 +40,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_buffer_truncate(IntPtr buffer, int bpf, UIntPtr trim, UIntPtr samples);
public static Gst.Buffer AudioBufferTruncate(Gst.Buffer buffer, int bpf, ulong trim, ulong samples) {
@ -50,7 +50,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_audio_channel_get_fallback_mask(int channels);
public static ulong AudioChannelGetFallbackMask(int channels) {
@ -59,7 +59,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_channel_positions_from_mask(int channels, ulong channel_mask, int[] position);
public static bool AudioChannelPositionsFromMask(int channels, ulong channel_mask, Gst.Audio.AudioChannelPosition[] position) {
@ -72,7 +72,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_channel_positions_to_mask(int[] position, int channels, bool force_order, out ulong channel_mask);
public static bool AudioChannelPositionsToMask(Gst.Audio.AudioChannelPosition[] position, int channels, bool force_order, out ulong channel_mask) {
@ -85,7 +85,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_channel_positions_to_string(int[] position, int channels);
public static string AudioChannelPositionsToString(Gst.Audio.AudioChannelPosition[] position, int channels) {
@ -98,7 +98,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_channel_positions_to_valid_order(int[] position, int channels);
public static bool AudioChannelPositionsToValidOrder(Gst.Audio.AudioChannelPosition[] position, int channels) {
@ -111,7 +111,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_check_valid_channel_positions(int[] position, int channels, bool force_order);
public static bool AudioCheckValidChannelPositions(Gst.Audio.AudioChannelPosition[] position, int channels, bool force_order) {
@ -124,7 +124,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_clipping_meta_api_get_type();
public static GLib.GType AudioClippingMetaApiGetType() {
@ -133,7 +133,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_clipping_meta_get_info();
public static Gst.MetaInfo AudioClippingMetaGetInfo() {
@ -142,7 +142,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_downmix_meta_api_get_type();
public static GLib.GType AudioDownmixMetaApiGetType() {
@ -151,7 +151,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_downmix_meta_get_info();
public static Gst.MetaInfo AudioDownmixMetaGetInfo() {
@ -160,7 +160,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_format_build_integer(bool sign, int endianness, int width, int depth);
public static Gst.Audio.AudioFormat AudioFormatBuildInteger(bool sign, int endianness, int width, int depth) {
@ -169,7 +169,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_format_fill_silence(IntPtr info, byte[] dest, UIntPtr n_length);
public static void AudioFormatFillSilence(Gst.Audio.AudioFormatInfo info, byte[] dest) {
@ -178,7 +178,7 @@ namespace Gst.Audio {
Marshal.FreeHGlobal (native_info);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_format_from_string(IntPtr format);
public static Gst.Audio.AudioFormat AudioFormatFromString(string format) {
@ -189,7 +189,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_format_get_info(int format);
public static Gst.Audio.AudioFormatInfo AudioFormatGetInfo(Gst.Audio.AudioFormat format) {
@ -198,7 +198,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_format_info_get_type();
public static GLib.GType AudioFormatInfoGetType() {
@ -207,7 +207,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_format_to_string(int format);
public static string AudioFormatToString(Gst.Audio.AudioFormat format) {
@ -216,7 +216,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_get_channel_reorder_map(int channels, int[] from, int[] to, int[] reorder_map);
public static bool AudioGetChannelReorderMap(int channels, Gst.Audio.AudioChannelPosition[] from, Gst.Audio.AudioChannelPosition[] to, int[] reorder_map) {
@ -233,7 +233,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_audio_iec61937_frame_size(IntPtr spec);
public static uint AudioIec61937FrameSize(Gst.Audio.AudioRingBufferSpec spec) {
@ -242,7 +242,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_iec61937_payload(byte[] src, uint src_n, byte[] dst, uint dst_n, IntPtr spec, int endianness);
public static bool AudioIec61937Payload(byte[] src, uint src_n, byte[] dst, uint dst_n, Gst.Audio.AudioRingBufferSpec spec, int endianness) {
@ -251,7 +251,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_meta_api_get_type();
public static GLib.GType AudioMetaApiGetType() {
@ -260,7 +260,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_meta_get_info();
public static Gst.MetaInfo AudioMetaGetInfo() {
@ -269,7 +269,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_audio_reorder_channels(byte[] data, UIntPtr n_length, int format, int channels, int[] from, int[] to);
public static bool AudioReorderChannels(byte[] data, Gst.Audio.AudioFormat format, int channels, Gst.Audio.AudioChannelPosition[] from, Gst.Audio.AudioChannelPosition[] to) {
@ -286,7 +286,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_resampler_new(int method, int flags, int format, int channels, int in_rate, int out_rate, IntPtr options);
public static Gst.Audio.AudioResampler AudioResamplerNew(Gst.Audio.AudioResamplerMethod method, Gst.Audio.AudioResamplerFlags flags, Gst.Audio.AudioFormat format, int channels, int in_rate, int out_rate, Gst.Structure options) {
@ -295,14 +295,14 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_resampler_options_set_quality(int method, uint quality, int in_rate, int out_rate, IntPtr options);
public static void AudioResamplerOptionsSetQuality(Gst.Audio.AudioResamplerMethod method, uint quality, int in_rate, int out_rate, Gst.Structure options) {
gst_audio_resampler_options_set_quality((int) method, quality, in_rate, out_rate, options == null ? IntPtr.Zero : options.Handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_add_audio_clipping_meta(IntPtr buffer, int format, ulong start, ulong end);
public static Gst.Audio.AudioClippingMeta BufferAddAudioClippingMeta(Gst.Buffer buffer, Gst.Format format, ulong start, ulong end) {
@ -311,7 +311,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_add_audio_downmix_meta(IntPtr buffer, int[] from_position, int from_channels, int[] to_position, int to_channels, float matrix);
public static Gst.Audio.AudioDownmixMeta BufferAddAudioDownmixMeta(Gst.Buffer buffer, Gst.Audio.AudioChannelPosition[] from_position, int from_channels, Gst.Audio.AudioChannelPosition[] to_position, int to_channels, float matrix) {
@ -328,7 +328,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_add_audio_meta(IntPtr buffer, IntPtr info, UIntPtr samples, UIntPtr offsets);
public static Gst.Audio.AudioMeta BufferAddAudioMeta(Gst.Buffer buffer, Gst.Audio.AudioInfo info, ulong samples, ulong offsets) {
@ -341,7 +341,7 @@ namespace Gst.Audio {
return BufferAddAudioMeta (buffer, info, samples, 0);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_get_audio_downmix_meta_for_channels(IntPtr buffer, int[] to_position, int to_channels);
public static Gst.Audio.AudioDownmixMeta BufferGetAudioDownmixMetaForChannels(Gst.Buffer buffer, Gst.Audio.AudioChannelPosition[] to_position, int to_channels) {
@ -354,7 +354,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern double gst_stream_volume_convert_volume(int from, int to, double val);
public static double StreamVolumeConvertVolume(Gst.Audio.StreamVolumeFormat from, Gst.Audio.StreamVolumeFormat to, double val) {

View file

@ -47,7 +47,7 @@ namespace Gst.Audio {
implementor = GLib.Object.GetObject (handle);
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_stream_volume_get_type();
private static GLib.GType _gtype = new GLib.GType (gst_stream_volume_get_type ());
@ -100,10 +100,10 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_stream_volume_get_mute(IntPtr raw);
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_stream_volume_set_mute(IntPtr raw, bool mute);
[GLib.Property ("mute")]
@ -118,7 +118,7 @@ namespace Gst.Audio {
}
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern double gst_stream_volume_convert_volume(int from, int to, double val);
public static double ConvertVolume(Gst.Audio.StreamVolumeFormat from, Gst.Audio.StreamVolumeFormat to, double val) {
@ -127,7 +127,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern double gst_stream_volume_get_volume(IntPtr raw, int format);
public double GetVolume(Gst.Audio.StreamVolumeFormat format) {
@ -136,7 +136,7 @@ namespace Gst.Audio {
return ret;
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_stream_volume_set_volume(IntPtr raw, int format, double val);
public void SetVolume(Gst.Audio.StreamVolumeFormat format, double val) {

View file

@ -13,7 +13,7 @@ namespace Gst.Base {
public Adapter (IntPtr raw) : base(raw) {}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_new();
public Adapter () : base (IntPtr.Zero)
@ -40,7 +40,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_get_type();
public static new GLib.GType GType {
@ -51,7 +51,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_adapter_available(IntPtr raw);
public ulong Available() {
@ -60,7 +60,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_adapter_available_fast(IntPtr raw);
public ulong AvailableFast() {
@ -69,14 +69,14 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_adapter_clear(IntPtr raw);
public void Clear() {
gst_adapter_clear(Handle);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_copy_bytes(IntPtr raw, UIntPtr offset, UIntPtr size);
public GLib.Bytes CopyBytes(ulong offset, ulong size) {
@ -85,7 +85,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_adapter_distance_from_discont(IntPtr raw);
public ulong DistanceFromDiscont() {
@ -94,7 +94,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_adapter_dts_at_discont(IntPtr raw);
public ulong DtsAtDiscont() {
@ -103,14 +103,14 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_adapter_flush(IntPtr raw, UIntPtr flush);
public void Flush(ulong flush) {
gst_adapter_flush(Handle, new UIntPtr (flush));
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_get_buffer(IntPtr raw, UIntPtr nbytes);
public Gst.Buffer GetBuffer(ulong nbytes) {
@ -119,7 +119,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_get_buffer_fast(IntPtr raw, UIntPtr nbytes);
public Gst.Buffer GetBufferFast(ulong nbytes) {
@ -128,7 +128,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_get_buffer_list(IntPtr raw, UIntPtr nbytes);
public Gst.BufferList GetBufferList(ulong nbytes) {
@ -137,7 +137,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_get_list(IntPtr raw, UIntPtr nbytes);
public GLib.List[] GetList(ulong nbytes) {
@ -146,7 +146,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_masked_scan_uint32(IntPtr raw, uint mask, uint pattern, UIntPtr offset, UIntPtr size);
public long MaskedScanUint32(uint mask, uint pattern, ulong offset, ulong size) {
@ -155,7 +155,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_masked_scan_uint32_peek(IntPtr raw, uint mask, uint pattern, UIntPtr offset, UIntPtr size, out uint value);
public long MaskedScanUint32Peek(uint mask, uint pattern, ulong offset, ulong size, out uint value) {
@ -164,7 +164,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_adapter_offset_at_discont(IntPtr raw);
public ulong OffsetAtDiscont() {
@ -173,7 +173,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_adapter_prev_dts(IntPtr raw, out ulong distance);
public ulong PrevDts(out ulong distance) {
@ -182,7 +182,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_adapter_prev_dts_at_offset(IntPtr raw, UIntPtr offset, out ulong distance);
public ulong PrevDtsAtOffset(ulong offset, out ulong distance) {
@ -191,7 +191,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_adapter_prev_offset(IntPtr raw, out ulong distance);
public ulong PrevOffset(out ulong distance) {
@ -200,7 +200,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_adapter_prev_pts(IntPtr raw, out ulong distance);
public ulong PrevPts(out ulong distance) {
@ -209,7 +209,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_adapter_prev_pts_at_offset(IntPtr raw, UIntPtr offset, out ulong distance);
public ulong PrevPtsAtOffset(ulong offset, out ulong distance) {
@ -218,7 +218,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_adapter_pts_at_discont(IntPtr raw);
public ulong PtsAtDiscont() {
@ -227,7 +227,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_adapter_push(IntPtr raw, IntPtr buf);
public void Push(Gst.Buffer buf) {
@ -235,7 +235,7 @@ namespace Gst.Base {
gst_adapter_push(Handle, buf == null ? IntPtr.Zero : buf.Handle);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_take_buffer(IntPtr raw, UIntPtr nbytes);
public Gst.Buffer TakeBuffer(ulong nbytes) {
@ -244,7 +244,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_take_buffer_fast(IntPtr raw, UIntPtr nbytes);
public Gst.Buffer TakeBufferFast(ulong nbytes) {
@ -253,7 +253,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_take_buffer_list(IntPtr raw, UIntPtr nbytes);
public Gst.BufferList TakeBufferList(ulong nbytes) {
@ -262,7 +262,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_adapter_take_list(IntPtr raw, UIntPtr nbytes);
public GLib.List[] TakeList(ulong nbytes) {
@ -271,7 +271,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_adapter_unmap(IntPtr raw);
public void Unmap() {

View file

@ -18,7 +18,7 @@ namespace Gst.Base {
CreateNativeObject (new string [0], new GLib.Value [0]);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_aggregator_get_latency(IntPtr raw);
[GLib.Property ("latency")]
@ -1233,7 +1233,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_aggregator_get_type();
public static new GLib.GType GType {
@ -1244,7 +1244,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_aggregator_finish_buffer(IntPtr raw, IntPtr buffer);
public Gst.FlowReturn FinishBuffer(Gst.Buffer buffer) {
@ -1254,7 +1254,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_aggregator_get_allocator(IntPtr raw, out IntPtr allocator, IntPtr parms);
public void GetAllocator(out Gst.Allocator allocator, out Gst.AllocationParams parms) {
@ -1266,7 +1266,7 @@ namespace Gst.Base {
Marshal.FreeHGlobal (native_parms);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_aggregator_get_buffer_pool(IntPtr raw);
public Gst.BufferPool BufferPool {
@ -1277,14 +1277,14 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_aggregator_set_latency(IntPtr raw, ulong min_latency, ulong max_latency);
public void SetLatency(ulong min_latency, ulong max_latency) {
gst_aggregator_set_latency(Handle, min_latency, max_latency);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_aggregator_set_src_caps(IntPtr raw, IntPtr caps);
public Gst.Caps SrcCaps {
@ -1293,7 +1293,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_aggregator_simple_get_next_time(IntPtr raw);
public ulong SimpleGetNextTime() {

View file

@ -259,7 +259,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_aggregator_pad_get_type();
public static new GLib.GType GType {
@ -270,7 +270,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_aggregator_pad_drop_buffer(IntPtr raw);
public bool DropBuffer() {
@ -279,7 +279,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_aggregator_pad_has_buffer(IntPtr raw);
public bool HasBuffer {
@ -290,7 +290,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_aggregator_pad_is_eos(IntPtr raw);
public bool IsEos {
@ -301,7 +301,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_aggregator_pad_peek_buffer(IntPtr raw);
public Gst.Buffer PeekBuffer() {
@ -310,7 +310,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_aggregator_pad_pop_buffer(IntPtr raw);
public Gst.Buffer PopBuffer() {

View file

@ -889,7 +889,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_base_parse_get_type();
public static new GLib.GType GType {
@ -900,7 +900,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_parse_add_index_entry(IntPtr raw, ulong offset, ulong ts, bool key, bool force);
public bool AddIndexEntry(ulong offset, ulong ts, bool key, bool force) {
@ -909,7 +909,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_parse_convert_default(IntPtr raw, int src_format, long src_value, int dest_format, out long dest_value);
public bool ConvertDefault(Gst.Format src_format, long src_value, Gst.Format dest_format, out long dest_value) {
@ -918,14 +918,14 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_drain(IntPtr raw);
public void Drain() {
gst_base_parse_drain(Handle);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_base_parse_finish_frame(IntPtr raw, IntPtr frame, int size);
public Gst.FlowReturn FinishFrame(Gst.Base.BaseParseFrame frame, int size) {
@ -936,7 +936,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_merge_tags(IntPtr raw, IntPtr tags, int mode);
public void MergeTags(Gst.TagList tags, Gst.TagMergeMode mode) {
@ -947,7 +947,7 @@ namespace Gst.Base {
MergeTags (null, mode);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_base_parse_push_frame(IntPtr raw, IntPtr frame);
public Gst.FlowReturn PushFrame(Gst.Base.BaseParseFrame frame) {
@ -958,7 +958,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_average_bitrate(IntPtr raw, uint bitrate);
public uint AverageBitrate {
@ -967,21 +967,21 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_duration(IntPtr raw, int fmt, long duration, int interval);
public void SetDuration(Gst.Format fmt, long duration, int interval) {
gst_base_parse_set_duration(Handle, (int) fmt, duration, interval);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_frame_rate(IntPtr raw, uint fps_num, uint fps_den, uint lead_in, uint lead_out);
public void SetFrameRate(uint fps_num, uint fps_den, uint lead_in, uint lead_out) {
gst_base_parse_set_frame_rate(Handle, fps_num, fps_den, lead_in, lead_out);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_has_timing_info(IntPtr raw, bool has_timing);
public bool HasTimingInfo {
@ -990,7 +990,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_infer_ts(IntPtr raw, bool infer_ts);
public bool InferTs {
@ -999,14 +999,14 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_latency(IntPtr raw, ulong min_latency, ulong max_latency);
public void SetLatency(ulong min_latency, ulong max_latency) {
gst_base_parse_set_latency(Handle, min_latency, max_latency);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_min_frame_size(IntPtr raw, uint min_size);
public uint MinFrameSize {
@ -1015,7 +1015,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_passthrough(IntPtr raw, bool passthrough);
public bool Passthrough {
@ -1024,7 +1024,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_pts_interpolation(IntPtr raw, bool pts_interpolate);
public bool PtsInterpolation {
@ -1033,7 +1033,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_syncable(IntPtr raw, bool syncable);
public bool Syncable {
@ -1042,7 +1042,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_set_ts_at_offset(IntPtr raw, UIntPtr offset);
public ulong TsAtOffset {

View file

@ -48,7 +48,7 @@ namespace Gst.Base {
return (Gst.Base.BaseParseFrame) Marshal.PtrToStructure (raw, typeof (Gst.Base.BaseParseFrame));
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_base_parse_frame_new(IntPtr buffer, int flags, int overhead);
public static BaseParseFrame New(Gst.Buffer buffer, Gst.Base.BaseParseFrameFlags flags, int overhead)
@ -57,7 +57,7 @@ namespace Gst.Base {
return result;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_base_parse_frame_get_type();
public static GLib.GType GType {
@ -68,7 +68,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_parse_frame_init(IntPtr raw);
public void Init() {

View file

@ -33,10 +33,10 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_base_sink_get_blocksize(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_blocksize(IntPtr raw, uint blocksize);
[GLib.Property ("blocksize")]
@ -66,7 +66,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_base_sink_get_last_sample(IntPtr raw);
[GLib.Property ("last-sample")]
@ -78,10 +78,10 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_base_sink_get_max_bitrate(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_max_bitrate(IntPtr raw, ulong max_bitrate);
[GLib.Property ("max-bitrate")]
@ -96,10 +96,10 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern long gst_base_sink_get_max_lateness(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_max_lateness(IntPtr raw, long max_lateness);
[GLib.Property ("max-lateness")]
@ -114,10 +114,10 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_base_sink_get_processing_deadline(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_processing_deadline(IntPtr raw, ulong processing_deadline);
[GLib.Property ("processing-deadline")]
@ -147,10 +147,10 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_base_sink_get_render_delay(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_render_delay(IntPtr raw, ulong delay);
[GLib.Property ("render-delay")]
@ -165,10 +165,10 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_sink_get_sync(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_sync(IntPtr raw, bool sync);
[GLib.Property ("sync")]
@ -183,10 +183,10 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_base_sink_get_throttle_time(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_throttle_time(IntPtr raw, ulong throttle);
[GLib.Property ("throttle-time")]
@ -201,10 +201,10 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern long gst_base_sink_get_ts_offset(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_ts_offset(IntPtr raw, long offset);
[GLib.Property ("ts-offset")]
@ -1543,7 +1543,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_base_sink_get_type();
public static new GLib.GType GType {
@ -1554,7 +1554,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_base_sink_do_preroll(IntPtr raw, IntPtr obj);
public Gst.FlowReturn DoPreroll(Gst.MiniObject obj) {
@ -1563,10 +1563,10 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_sink_get_drop_out_of_segment(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_drop_out_of_segment(IntPtr raw, bool drop_out_of_segment);
public bool DropOutOfSegment {
@ -1580,7 +1580,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern ulong gst_base_sink_get_latency(IntPtr raw);
public ulong Latency {
@ -1591,7 +1591,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_sink_is_async_enabled(IntPtr raw);
public bool IsAsyncEnabled {
@ -1602,7 +1602,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_sink_is_last_sample_enabled(IntPtr raw);
public bool IsLastSampleEnabled {
@ -1613,7 +1613,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_sink_is_qos_enabled(IntPtr raw);
public bool IsQosEnabled {
@ -1624,7 +1624,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_sink_query_latency(IntPtr raw, out bool live, out bool upstream_live, out ulong min_latency, out ulong max_latency);
public bool QueryLatency(out bool live, out bool upstream_live, out ulong min_latency, out ulong max_latency) {
@ -1633,7 +1633,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_async_enabled(IntPtr raw, bool enabled);
public bool AsyncEnabled {
@ -1642,7 +1642,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_last_sample_enabled(IntPtr raw, bool enabled);
public bool LastSampleEnabled {
@ -1651,7 +1651,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_sink_set_qos_enabled(IntPtr raw, bool enabled);
public bool QosEnabled {
@ -1660,7 +1660,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_base_sink_wait(IntPtr raw, ulong time, out long jitter);
public Gst.FlowReturn Wait(ulong time, out long jitter) {
@ -1669,7 +1669,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_base_sink_wait_clock(IntPtr raw, ulong time, out long jitter);
public Gst.ClockReturn WaitClock(ulong time, out long jitter) {
@ -1678,7 +1678,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_base_sink_wait_preroll(IntPtr raw);
public Gst.FlowReturn WaitPreroll() {

View file

@ -18,10 +18,10 @@ namespace Gst.Base {
CreateNativeObject (new string [0], new GLib.Value [0]);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_base_src_get_blocksize(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_set_blocksize(IntPtr raw, uint blocksize);
[GLib.Property ("blocksize")]
@ -36,10 +36,10 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_src_get_do_timestamp(IntPtr raw);
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_set_do_timestamp(IntPtr raw, bool timestamp);
[GLib.Property ("do-timestamp")]
@ -1511,7 +1511,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_base_src_get_type();
public static new GLib.GType GType {
@ -1522,7 +1522,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_get_allocator(IntPtr raw, out IntPtr allocator, IntPtr parms);
public void GetAllocator(out Gst.Allocator allocator, out Gst.AllocationParams parms) {
@ -1534,7 +1534,7 @@ namespace Gst.Base {
Marshal.FreeHGlobal (native_parms);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_base_src_get_buffer_pool(IntPtr raw);
public Gst.BufferPool BufferPool {
@ -1545,7 +1545,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_src_is_async(IntPtr raw);
public bool IsAsync {
@ -1556,7 +1556,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_src_is_live(IntPtr raw);
public bool IsLive {
@ -1567,7 +1567,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_src_new_seamless_segment(IntPtr raw, long start, long stop, long time);
public bool NewSeamlessSegment(long start, long stop, long time) {
@ -1576,7 +1576,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_src_query_latency(IntPtr raw, out bool live, out ulong min_latency, out ulong max_latency);
public bool QueryLatency(out bool live, out ulong min_latency, out ulong max_latency) {
@ -1585,7 +1585,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_set_async(IntPtr raw, bool async);
public bool Async {
@ -1594,7 +1594,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_set_automatic_eos(IntPtr raw, bool automatic_eos);
public bool AutomaticEos {
@ -1603,7 +1603,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_src_set_caps(IntPtr raw, IntPtr caps);
public bool SetCaps(Gst.Caps caps) {
@ -1612,7 +1612,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_set_dynamic_size(IntPtr raw, bool dynamic);
public bool DynamicSize {
@ -1621,7 +1621,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_set_format(IntPtr raw, int format);
public Gst.Format Format {
@ -1630,7 +1630,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_set_live(IntPtr raw, bool live);
public bool Live {
@ -1639,14 +1639,14 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_start_complete(IntPtr raw, int _ret);
public void StartComplete(Gst.FlowReturn _ret) {
gst_base_src_start_complete(Handle, (int) _ret);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_base_src_start_wait(IntPtr raw);
public Gst.FlowReturn StartWait() {
@ -1655,7 +1655,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_src_submit_buffer_list(IntPtr raw, IntPtr buffer_list);
public void SubmitBufferList(Gst.BufferList buffer_list) {
@ -1663,7 +1663,7 @@ namespace Gst.Base {
gst_base_src_submit_buffer_list(Handle, buffer_list == null ? IntPtr.Zero : buffer_list.Handle);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_base_src_wait_playing(IntPtr raw);
public Gst.FlowReturn WaitPlaying() {

View file

@ -1597,7 +1597,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_base_transform_get_type();
public static new GLib.GType GType {
@ -1608,7 +1608,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_transform_get_allocator(IntPtr raw, out IntPtr allocator, IntPtr parms);
public void GetAllocator(out Gst.Allocator allocator, out Gst.AllocationParams parms) {
@ -1620,7 +1620,7 @@ namespace Gst.Base {
Marshal.FreeHGlobal (native_parms);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_base_transform_get_buffer_pool(IntPtr raw);
public Gst.BufferPool BufferPool {
@ -1631,7 +1631,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_transform_is_in_place(IntPtr raw);
public bool IsInPlace {
@ -1642,7 +1642,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_transform_is_passthrough(IntPtr raw);
public bool IsPassthrough {
@ -1653,7 +1653,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_transform_is_qos_enabled(IntPtr raw);
public bool IsQosEnabled {
@ -1664,21 +1664,21 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_transform_reconfigure_sink(IntPtr raw);
public void ReconfigureSink() {
gst_base_transform_reconfigure_sink(Handle);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_transform_reconfigure_src(IntPtr raw);
public void ReconfigureSrc() {
gst_base_transform_reconfigure_src(Handle);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_transform_set_gap_aware(IntPtr raw, bool gap_aware);
public bool GapAware {
@ -1687,7 +1687,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_transform_set_in_place(IntPtr raw, bool in_place);
public bool InPlace {
@ -1696,7 +1696,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_transform_set_passthrough(IntPtr raw, bool passthrough);
public bool Passthrough {
@ -1705,7 +1705,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_transform_set_prefer_passthrough(IntPtr raw, bool prefer_passthrough);
public bool PreferPassthrough {
@ -1714,7 +1714,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_transform_set_qos_enabled(IntPtr raw, bool enabled);
public bool QosEnabled {
@ -1723,14 +1723,14 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_base_transform_update_qos(IntPtr raw, double proportion, long diff, ulong timestamp);
public void UpdateQos(double proportion, long diff, ulong timestamp) {
gst_base_transform_update_qos(Handle, proportion, diff, timestamp);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_base_transform_update_src_caps(IntPtr raw, IntPtr updated_caps);
public bool UpdateSrcCaps(Gst.Caps updated_caps) {

View file

@ -28,7 +28,7 @@ namespace Gst.Base {
return (Gst.Base.BitReader) Marshal.PtrToStructure (raw, typeof (Gst.Base.BitReader));
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_bit_reader_free(IntPtr raw);
public void Free() {
@ -39,7 +39,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_get_bits_uint16(IntPtr raw, out ushort val, uint nbits);
public bool GetBitsUint16(out ushort val, uint nbits) {
@ -52,7 +52,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_get_bits_uint32(IntPtr raw, out uint val, uint nbits);
public bool GetBitsUint32(out uint val, uint nbits) {
@ -65,7 +65,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_get_bits_uint64(IntPtr raw, out ulong val, uint nbits);
public bool GetBitsUint64(out ulong val, uint nbits) {
@ -78,7 +78,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_get_bits_uint8(IntPtr raw, out byte val, uint nbits);
public bool GetBitsUint8(out byte val, uint nbits) {
@ -91,7 +91,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_bit_reader_get_pos(IntPtr raw);
public uint Pos {
@ -106,7 +106,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_bit_reader_get_remaining(IntPtr raw);
public uint Remaining {
@ -121,7 +121,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_bit_reader_init(IntPtr raw, byte[] data, uint size);
public void Init(byte[] data, uint size) {
@ -132,7 +132,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_peek_bits_uint16(IntPtr raw, out ushort val, uint nbits);
public bool PeekBitsUint16(out ushort val, uint nbits) {
@ -145,7 +145,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_peek_bits_uint32(IntPtr raw, out uint val, uint nbits);
public bool PeekBitsUint32(out uint val, uint nbits) {
@ -158,7 +158,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_peek_bits_uint64(IntPtr raw, out ulong val, uint nbits);
public bool PeekBitsUint64(out ulong val, uint nbits) {
@ -171,7 +171,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_peek_bits_uint8(IntPtr raw, out byte val, uint nbits);
public bool PeekBitsUint8(out byte val, uint nbits) {
@ -184,7 +184,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_set_pos(IntPtr raw, uint pos);
public bool SetPos(uint pos) {
@ -197,7 +197,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_skip(IntPtr raw, uint nbits);
public bool Skip(uint nbits) {
@ -210,7 +210,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_reader_skip_to_byte(IntPtr raw);
public bool SkipToByte() {

View file

@ -28,7 +28,7 @@ namespace Gst.Base {
return (Gst.Base.BitWriter) Marshal.PtrToStructure (raw, typeof (Gst.Base.BitWriter));
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_writer_align_bytes(IntPtr raw, byte trailing_bit);
public bool AlignBytes(byte trailing_bit) {
@ -41,7 +41,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_bit_writer_free(IntPtr raw);
public void Free() {
@ -52,7 +52,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_bit_writer_free_and_get_buffer(IntPtr raw);
public Gst.Buffer FreeAndGetBuffer() {
@ -65,7 +65,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_bit_writer_get_remaining(IntPtr raw);
public uint Remaining {
@ -80,7 +80,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_bit_writer_get_size(IntPtr raw);
public uint Size {
@ -95,7 +95,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_writer_put_bits_uint16(IntPtr raw, ushort value, uint nbits);
public bool PutBitsUint16(ushort value, uint nbits) {
@ -108,7 +108,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_writer_put_bits_uint32(IntPtr raw, uint value, uint nbits);
public bool PutBitsUint32(uint value, uint nbits) {
@ -121,7 +121,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_writer_put_bits_uint64(IntPtr raw, ulong value, uint nbits);
public bool PutBitsUint64(ulong value, uint nbits) {
@ -134,7 +134,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_writer_put_bits_uint8(IntPtr raw, byte value, uint nbits);
public bool PutBitsUint8(byte value, uint nbits) {
@ -147,7 +147,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_writer_put_bytes(IntPtr raw, byte data, uint nbytes);
public bool PutBytes(byte data, uint nbytes) {
@ -160,7 +160,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_bit_writer_reset(IntPtr raw);
public void Reset() {
@ -171,7 +171,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_bit_writer_reset_and_get_buffer(IntPtr raw);
public Gst.Buffer ResetAndGetBuffer() {
@ -184,7 +184,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_bit_writer_set_pos(IntPtr raw, uint pos);
public bool SetPos(uint pos) {

View file

@ -35,7 +35,7 @@ namespace Gst.Base {
return (Gst.Base.ByteWriter) Marshal.PtrToStructure (raw, typeof (Gst.Base.ByteWriter));
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_ensure_free_space(IntPtr raw, uint size);
public bool EnsureFreeSpace(uint size) {
@ -48,7 +48,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_fill(IntPtr raw, byte value, uint size);
public bool Fill(byte value, uint size) {
@ -61,7 +61,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_byte_writer_free(IntPtr raw);
public void Free() {
@ -72,7 +72,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_byte_writer_free_and_get_buffer(IntPtr raw);
public Gst.Buffer FreeAndGetBuffer() {
@ -85,7 +85,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern byte gst_byte_writer_free_and_get_data(IntPtr raw);
public byte FreeAndGetData() {
@ -98,7 +98,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_byte_writer_get_remaining(IntPtr raw);
public uint Remaining {
@ -113,7 +113,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_byte_writer_init(IntPtr raw);
public void Init() {
@ -124,7 +124,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_byte_writer_init_with_data(IntPtr raw, byte[] data, uint size, bool initialized);
public void InitWithData(byte[] data, uint size, bool initialized) {
@ -135,7 +135,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_byte_writer_init_with_size(IntPtr raw, uint size, bool mfixed);
public void InitWithSize(uint size, bool mfixed) {
@ -146,7 +146,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_buffer(IntPtr raw, IntPtr buffer, UIntPtr offset, IntPtr size);
public bool PutBuffer(Gst.Buffer buffer, ulong offset, long size) {
@ -159,7 +159,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_data(IntPtr raw, byte[] data, uint size);
public bool PutData(byte[] data, uint size) {
@ -172,7 +172,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_float32_be(IntPtr raw, float val);
public bool PutFloat32Be(float val) {
@ -185,7 +185,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_float32_le(IntPtr raw, float val);
public bool PutFloat32Le(float val) {
@ -198,7 +198,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_float64_be(IntPtr raw, double val);
public bool PutFloat64Be(double val) {
@ -211,7 +211,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_float64_le(IntPtr raw, double val);
public bool PutFloat64Le(double val) {
@ -224,7 +224,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_int16_be(IntPtr raw, short val);
public bool PutInt16Be(short val) {
@ -237,7 +237,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_int16_le(IntPtr raw, short val);
public bool PutInt16Le(short val) {
@ -250,7 +250,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_int24_be(IntPtr raw, int val);
public bool PutInt24Be(int val) {
@ -263,7 +263,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_int24_le(IntPtr raw, int val);
public bool PutInt24Le(int val) {
@ -276,7 +276,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_int32_be(IntPtr raw, int val);
public bool PutInt32Be(int val) {
@ -289,7 +289,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_int32_le(IntPtr raw, int val);
public bool PutInt32Le(int val) {
@ -302,7 +302,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_int64_be(IntPtr raw, long val);
public bool PutInt64Be(long val) {
@ -315,7 +315,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_int64_le(IntPtr raw, long val);
public bool PutInt64Le(long val) {
@ -328,7 +328,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_int8(IntPtr raw, sbyte val);
public bool PutInt8(sbyte val) {
@ -341,7 +341,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_string_utf16(IntPtr raw, ushort[] data);
public bool PutStringUtf16(ushort[] data) {
@ -354,7 +354,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_string_utf32(IntPtr raw, uint[] data);
public bool PutStringUtf32(uint[] data) {
@ -367,7 +367,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_string_utf8(IntPtr raw, IntPtr data);
public bool PutStringUtf8(string data) {
@ -382,7 +382,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_uint16_be(IntPtr raw, ushort val);
public bool PutUint16Be(ushort val) {
@ -395,7 +395,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_uint16_le(IntPtr raw, ushort val);
public bool PutUint16Le(ushort val) {
@ -408,7 +408,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_uint24_be(IntPtr raw, uint val);
public bool PutUint24Be(uint val) {
@ -421,7 +421,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_uint24_le(IntPtr raw, uint val);
public bool PutUint24Le(uint val) {
@ -434,7 +434,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_uint32_be(IntPtr raw, uint val);
public bool PutUint32Be(uint val) {
@ -447,7 +447,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_uint32_le(IntPtr raw, uint val);
public bool PutUint32Le(uint val) {
@ -460,7 +460,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_uint64_be(IntPtr raw, ulong val);
public bool PutUint64Be(ulong val) {
@ -473,7 +473,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_uint64_le(IntPtr raw, ulong val);
public bool PutUint64Le(ulong val) {
@ -486,7 +486,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_byte_writer_put_uint8(IntPtr raw, byte val);
public bool PutUint8(byte val) {
@ -499,7 +499,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_byte_writer_reset(IntPtr raw);
public void Reset() {
@ -510,7 +510,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_byte_writer_reset_and_get_buffer(IntPtr raw);
public Gst.Buffer ResetAndGetBuffer() {

View file

@ -13,7 +13,7 @@ namespace Gst.Base {
public CollectPads (IntPtr raw) : base(raw) {}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_collect_pads_new();
public CollectPads () : base (IntPtr.Zero)
@ -58,7 +58,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_collect_pads_get_type();
public static new GLib.GType GType {
@ -69,7 +69,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_collect_pads_add_pad(IntPtr raw, IntPtr pad, uint size, Gst.BaseSharp.CollectDataDestroyNotifyNative destroy_notify, bool _lock);
public Gst.Base.CollectData AddPad(Gst.Pad pad, uint size, Gst.Base.CollectDataDestroyNotify destroy_notify, bool _lock) {
@ -80,7 +80,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_collect_pads_available(IntPtr raw);
public uint Available() {
@ -89,7 +89,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_collect_pads_clip_running_time(IntPtr raw, IntPtr cdata, IntPtr buf, out IntPtr outbuf, IntPtr user_data);
public Gst.FlowReturn ClipRunningTime(Gst.Base.CollectData cdata, Gst.Buffer buf, out Gst.Buffer outbuf, IntPtr user_data) {
@ -102,7 +102,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_collect_pads_event_default(IntPtr raw, IntPtr data, IntPtr evnt, bool discard);
public bool EventDefault(Gst.Base.CollectData data, Gst.Event evnt, bool discard) {
@ -113,7 +113,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_collect_pads_flush(IntPtr raw, IntPtr data, uint size);
public uint Flush(Gst.Base.CollectData data, uint size) {
@ -124,7 +124,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_collect_pads_peek(IntPtr raw, IntPtr data);
public Gst.Buffer Peek(Gst.Base.CollectData data) {
@ -135,7 +135,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_collect_pads_pop(IntPtr raw, IntPtr data);
public Gst.Buffer Pop(Gst.Base.CollectData data) {
@ -146,7 +146,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_collect_pads_query_default(IntPtr raw, IntPtr data, IntPtr query, bool discard);
public bool QueryDefault(Gst.Base.CollectData data, Gst.Query query, bool discard) {
@ -157,7 +157,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_collect_pads_read_buffer(IntPtr raw, IntPtr data, uint size);
public Gst.Buffer ReadBuffer(Gst.Base.CollectData data, uint size) {
@ -168,7 +168,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_collect_pads_remove_pad(IntPtr raw, IntPtr pad);
public bool RemovePad(Gst.Pad pad) {
@ -177,7 +177,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_set_buffer_function(IntPtr raw, Gst.BaseSharp.CollectPadsBufferFunctionNative func, IntPtr user_data);
public Gst.Base.CollectPadsBufferFunction BufferFunction {
@ -187,7 +187,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_set_clip_function(IntPtr raw, Gst.BaseSharp.CollectPadsClipFunctionNative clipfunc, IntPtr user_data);
public Gst.Base.CollectPadsClipFunction ClipFunction {
@ -197,7 +197,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_set_compare_function(IntPtr raw, Gst.BaseSharp.CollectPadsCompareFunctionNative func, IntPtr user_data);
public Gst.Base.CollectPadsCompareFunction CompareFunction {
@ -207,7 +207,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_set_event_function(IntPtr raw, Gst.BaseSharp.CollectPadsEventFunctionNative func, IntPtr user_data);
public Gst.Base.CollectPadsEventFunction EventFunction {
@ -217,7 +217,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_set_flush_function(IntPtr raw, Gst.BaseSharp.CollectPadsFlushFunctionNative func, IntPtr user_data);
public Gst.Base.CollectPadsFlushFunction FlushFunction {
@ -227,7 +227,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_set_flushing(IntPtr raw, bool flushing);
public bool Flushing {
@ -236,7 +236,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_set_function(IntPtr raw, Gst.BaseSharp.CollectPadsFunctionNative func, IntPtr user_data);
public Gst.Base.CollectPadsFunction Function {
@ -246,7 +246,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_set_query_function(IntPtr raw, Gst.BaseSharp.CollectPadsQueryFunctionNative func, IntPtr user_data);
public Gst.Base.CollectPadsQueryFunction QueryFunction {
@ -256,7 +256,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_set_waiting(IntPtr raw, IntPtr data, bool waiting);
public void SetWaiting(Gst.Base.CollectData data, bool waiting) {
@ -265,7 +265,7 @@ namespace Gst.Base {
Marshal.FreeHGlobal (native_data);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_collect_pads_src_event_default(IntPtr raw, IntPtr pad, IntPtr evnt);
public bool SrcEventDefault(Gst.Pad pad, Gst.Event evnt) {
@ -274,21 +274,21 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_start(IntPtr raw);
public void Start() {
gst_collect_pads_start(Handle);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_collect_pads_stop(IntPtr raw);
public void Stop() {
gst_collect_pads_stop(Handle);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_collect_pads_take_buffer(IntPtr raw, IntPtr data, uint size);
public Gst.Buffer TakeBuffer(Gst.Base.CollectData data, uint size) {

View file

@ -214,7 +214,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_data_queue_get_type();
public static new GLib.GType GType {

View file

@ -21,7 +21,7 @@ namespace Gst.Base {
return (Gst.Base.FlowCombiner) Marshal.PtrToStructure (raw, typeof (Gst.Base.FlowCombiner));
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_flow_combiner_new();
public static FlowCombiner New()
@ -30,7 +30,7 @@ namespace Gst.Base {
return result;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_flow_combiner_get_type();
public static GLib.GType GType {
@ -41,7 +41,7 @@ namespace Gst.Base {
}
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_flow_combiner_add_pad(IntPtr raw, IntPtr pad);
public void AddPad(Gst.Pad pad) {
@ -52,7 +52,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_flow_combiner_clear(IntPtr raw);
public void Clear() {
@ -63,7 +63,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_flow_combiner_ref(IntPtr raw);
public Gst.Base.FlowCombiner Ref() {
@ -76,7 +76,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_flow_combiner_remove_pad(IntPtr raw, IntPtr pad);
public void RemovePad(Gst.Pad pad) {
@ -87,7 +87,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_flow_combiner_reset(IntPtr raw);
public void Reset() {
@ -98,7 +98,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_flow_combiner_unref(IntPtr raw);
public void Unref() {
@ -109,7 +109,7 @@ namespace Gst.Base {
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_flow_combiner_update_flow(IntPtr raw, int fret);
public Gst.FlowReturn UpdateFlow(Gst.FlowReturn fret) {
@ -122,7 +122,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_flow_combiner_update_pad_flow(IntPtr raw, IntPtr pad, int fret);
public Gst.FlowReturn UpdatePadFlow(Gst.Pad pad, Gst.FlowReturn fret) {

View file

@ -11,7 +11,7 @@ namespace Gst.Base {
#region Autogenerated code
public partial class Global {
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_type_find_helper(IntPtr src, ulong size);
public static Gst.Caps TypeFindHelper(Gst.Pad src, ulong size) {
@ -20,7 +20,7 @@ namespace Gst.Base {
return ret;
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_type_find_helper_for_buffer(IntPtr obj, IntPtr buf, out int prob);
public static Gst.Caps TypeFindHelperForBuffer(Gst.Object obj, Gst.Buffer buf, out Gst.TypeFindProbability prob) {
@ -35,7 +35,7 @@ namespace Gst.Base {
return TypeFindHelperForBuffer (null, buf, out prob);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_type_find_helper_for_buffer_with_extension(IntPtr obj, IntPtr buf, IntPtr extension, out int prob);
public static Gst.Caps TypeFindHelperForBufferWithExtension(Gst.Object obj, Gst.Buffer buf, string extension, out Gst.TypeFindProbability prob) {
@ -52,7 +52,7 @@ namespace Gst.Base {
return TypeFindHelperForBufferWithExtension (null, buf, null, out prob);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_type_find_helper_for_data(IntPtr obj, byte[] data, UIntPtr size, out int prob);
public static Gst.Caps TypeFindHelperForData(Gst.Object obj, byte[] data, ulong size, out Gst.TypeFindProbability prob) {
@ -67,7 +67,7 @@ namespace Gst.Base {
return TypeFindHelperForData (null, data, size, out prob);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_type_find_helper_for_data_with_extension(IntPtr obj, byte[] data, UIntPtr size, IntPtr extension, out int prob);
public static Gst.Caps TypeFindHelperForDataWithExtension(Gst.Object obj, byte[] data, ulong size, string extension, out Gst.TypeFindProbability prob) {
@ -84,7 +84,7 @@ namespace Gst.Base {
return TypeFindHelperForDataWithExtension (null, data, size, null, out prob);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_type_find_helper_for_extension(IntPtr obj, IntPtr extension);
public static Gst.Caps TypeFindHelperForExtension(Gst.Object obj, string extension) {
@ -99,7 +99,7 @@ namespace Gst.Base {
return TypeFindHelperForExtension (null, extension);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_type_find_helper_get_range(IntPtr obj, IntPtr parent, Gst.BaseSharp.TypeFindHelperGetRangeFunctionNative func, ulong size, IntPtr extension, out int prob);
public static Gst.Caps TypeFindHelperGetRange(Gst.Object obj, Gst.Object parent, Gst.Base.TypeFindHelperGetRangeFunction func, ulong size, string extension, out Gst.TypeFindProbability prob) {
@ -117,7 +117,7 @@ namespace Gst.Base {
return TypeFindHelperGetRange (obj, null, func, size, null, out prob);
}
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_type_find_helper_get_range_full(IntPtr obj, IntPtr parent, Gst.BaseSharp.TypeFindHelperGetRangeFunctionNative func, ulong size, IntPtr extension, out IntPtr caps, out int prob);
public static Gst.FlowReturn TypeFindHelperGetRangeFull(Gst.Object obj, Gst.Object parent, Gst.Base.TypeFindHelperGetRangeFunction func, ulong size, string extension, out Gst.Caps caps, out Gst.TypeFindProbability prob) {

View file

@ -240,7 +240,7 @@ namespace Gst.Base {
// End of the ABI representation.
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_push_src_get_type();
public static new GLib.GType GType {

View file

@ -11,7 +11,7 @@ namespace Gst.Base {
#region Autogenerated code
public partial class QueueArray : GLib.Opaque {
[DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_queue_array_push_tail_struct(IntPtr raw, IntPtr p_struct);
public void PushTailStruct(IntPtr p_struct) {

View file

@ -13,7 +13,7 @@ namespace Gst.Controller {
public ARGBControlBinding (IntPtr raw) : base(raw) {}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_argb_control_binding_new(IntPtr _object, IntPtr property_name, IntPtr cs_a, IntPtr cs_r, IntPtr cs_g, IntPtr cs_b);
public ARGBControlBinding (Gst.Object _object, string property_name, Gst.ControlSource cs_a, Gst.ControlSource cs_r, Gst.ControlSource cs_g, Gst.ControlSource cs_b) : base (IntPtr.Zero)
@ -117,7 +117,7 @@ namespace Gst.Controller {
// End of the ABI representation.
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_argb_control_binding_get_type();
public static new GLib.GType GType {

View file

@ -23,7 +23,7 @@ namespace Gst.Controller {
return (Gst.Controller.ControlPoint) Marshal.PtrToStructure (raw, typeof (Gst.Controller.ControlPoint));
}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_control_point_get_type();
public static GLib.GType GType {

View file

@ -13,7 +13,7 @@ namespace Gst.Controller {
public DirectControlBinding (IntPtr raw) : base(raw) {}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_direct_control_binding_new(IntPtr _object, IntPtr property_name, IntPtr cs);
public DirectControlBinding (Gst.Object _object, string property_name, Gst.ControlSource cs) : base (IntPtr.Zero)
@ -33,7 +33,7 @@ namespace Gst.Controller {
GLib.Marshaller.Free (native_property_name);
}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_direct_control_binding_new_absolute(IntPtr _object, IntPtr property_name, IntPtr cs);
public static DirectControlBinding NewAbsolute(Gst.Object _object, string property_name, Gst.ControlSource cs)
@ -93,7 +93,7 @@ namespace Gst.Controller {
// End of the ABI representation.
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_direct_control_binding_get_type();
public static new GLib.GType GType {

View file

@ -11,7 +11,7 @@ namespace Gst.Controller {
#region Autogenerated code
public partial class Global {
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_timed_value_control_invalidate_cache(IntPtr self);
public static void TimedValueControlInvalidateCache(Gst.Controller.TimedValueControlSource self) {

View file

@ -13,7 +13,7 @@ namespace Gst.Controller {
public InterpolationControlSource (IntPtr raw) : base(raw) {}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_interpolation_control_source_new();
public InterpolationControlSource () : base (IntPtr.Zero)
@ -64,7 +64,7 @@ namespace Gst.Controller {
// End of the ABI representation.
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_interpolation_control_source_get_type();
public static new GLib.GType GType {

View file

@ -17,7 +17,7 @@ namespace Gst.Controller {
}
internal class InterpolationModeGType {
[DllImport ("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_interpolation_mode_get_type ();
public static GLib.GType GType {

View file

@ -13,7 +13,7 @@ namespace Gst.Controller {
public LFOControlSource (IntPtr raw) : base(raw) {}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_lfo_control_source_new();
public LFOControlSource () : base (IntPtr.Zero)
@ -124,7 +124,7 @@ namespace Gst.Controller {
// End of the ABI representation.
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_lfo_control_source_get_type();
public static new GLib.GType GType {

View file

@ -18,7 +18,7 @@ namespace Gst.Controller {
}
internal class LFOWaveformGType {
[DllImport ("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport ("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_lfo_waveform_get_type ();
public static GLib.GType GType {

View file

@ -13,7 +13,7 @@ namespace Gst.Controller {
public ProxyControlBinding (IntPtr raw) : base(raw) {}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_proxy_control_binding_new(IntPtr _object, IntPtr property_name, IntPtr ref_object, IntPtr ref_property_name);
public ProxyControlBinding (Gst.Object _object, string property_name, Gst.Object ref_object, string ref_property_name) : base (IntPtr.Zero)
@ -35,7 +35,7 @@ namespace Gst.Controller {
GLib.Marshaller.Free (native_ref_property_name);
}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_proxy_control_binding_get_type();
public static new GLib.GType GType {

View file

@ -252,7 +252,7 @@ namespace Gst.Controller {
// End of the ABI representation.
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_timed_value_control_source_get_type();
public static new GLib.GType GType {
@ -263,7 +263,7 @@ namespace Gst.Controller {
}
}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_timed_value_control_source_get_all(IntPtr raw);
public GLib.List[] All {
@ -274,7 +274,7 @@ namespace Gst.Controller {
}
}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_timed_value_control_source_get_count(IntPtr raw);
public int Count {
@ -285,7 +285,7 @@ namespace Gst.Controller {
}
}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_timed_value_control_source_set(IntPtr raw, ulong timestamp, double value);
public bool Set(ulong timestamp, double value) {
@ -294,7 +294,7 @@ namespace Gst.Controller {
return ret;
}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_timed_value_control_source_set_from_list(IntPtr raw, IntPtr timedvalues);
public bool SetFromList(GLib.SList timedvalues) {
@ -303,7 +303,7 @@ namespace Gst.Controller {
return ret;
}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_timed_value_control_source_unset(IntPtr raw, ulong timestamp);
public bool Unset(ulong timestamp) {
@ -312,7 +312,7 @@ namespace Gst.Controller {
return ret;
}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_timed_value_control_source_unset_all(IntPtr raw);
public void UnsetAll() {

View file

@ -13,7 +13,7 @@ namespace Gst.Controller {
public TriggerControlSource (IntPtr raw) : base(raw) {}
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_trigger_control_source_new();
public TriggerControlSource () : base (IntPtr.Zero)
@ -64,7 +64,7 @@ namespace Gst.Controller {
// End of the ABI representation.
[DllImport("libgstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstcontroller-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_trigger_control_source_get_type();
public static new GLib.GType GType {

View file

@ -11,7 +11,7 @@ namespace Gst.FFT {
#region Autogenerated code
public partial class FFTF32 : GLib.Opaque {
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_f32_inverse_fft(IntPtr raw, IntPtr freqdata, float timedata);
public void InverseFft(Gst.FFT.FFTF32Complex freqdata, float timedata) {
@ -22,7 +22,7 @@ namespace Gst.FFT {
public FFTF32(IntPtr raw) : base(raw) {}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_f32_free(IntPtr raw);
protected override void Free (IntPtr raw)

View file

@ -11,7 +11,7 @@ namespace Gst.FFT {
#region Autogenerated code
public partial class FFTF64 : GLib.Opaque {
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_f64_fft(IntPtr raw, double timedata, IntPtr freqdata);
public void Fft(double timedata, Gst.FFT.FFTF64Complex freqdata) {
@ -20,7 +20,7 @@ namespace Gst.FFT {
Marshal.FreeHGlobal (native_freqdata);
}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_f64_inverse_fft(IntPtr raw, IntPtr freqdata, double timedata);
public void InverseFft(Gst.FFT.FFTF64Complex freqdata, double timedata) {
@ -29,7 +29,7 @@ namespace Gst.FFT {
Marshal.FreeHGlobal (native_freqdata);
}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_f64_window(IntPtr raw, double timedata, int window);
public void Window(double timedata, Gst.FFT.FFTWindow window) {
@ -38,7 +38,7 @@ namespace Gst.FFT {
public FFTF64(IntPtr raw) : base(raw) {}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_f64_free(IntPtr raw);
protected override void Free (IntPtr raw)

View file

@ -11,7 +11,7 @@ namespace Gst.FFT {
#region Autogenerated code
public partial class FFTS16 : GLib.Opaque {
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_s16_fft(IntPtr raw, short timedata, IntPtr freqdata);
public void Fft(short timedata, Gst.FFT.FFTS16Complex freqdata) {
@ -20,7 +20,7 @@ namespace Gst.FFT {
Marshal.FreeHGlobal (native_freqdata);
}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_s16_inverse_fft(IntPtr raw, IntPtr freqdata, short timedata);
public void InverseFft(Gst.FFT.FFTS16Complex freqdata, short timedata) {
@ -29,7 +29,7 @@ namespace Gst.FFT {
Marshal.FreeHGlobal (native_freqdata);
}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_s16_window(IntPtr raw, short timedata, int window);
public void Window(short timedata, Gst.FFT.FFTWindow window) {
@ -38,7 +38,7 @@ namespace Gst.FFT {
public FFTS16(IntPtr raw) : base(raw) {}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_s16_free(IntPtr raw);
protected override void Free (IntPtr raw)

View file

@ -11,7 +11,7 @@ namespace Gst.FFT {
#region Autogenerated code
public partial class FFTS32 : GLib.Opaque {
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_s32_fft(IntPtr raw, int timedata, IntPtr freqdata);
public void Fft(int timedata, Gst.FFT.FFTS32Complex freqdata) {
@ -20,7 +20,7 @@ namespace Gst.FFT {
Marshal.FreeHGlobal (native_freqdata);
}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_s32_inverse_fft(IntPtr raw, IntPtr freqdata, int timedata);
public void InverseFft(Gst.FFT.FFTS32Complex freqdata, int timedata) {
@ -29,7 +29,7 @@ namespace Gst.FFT {
Marshal.FreeHGlobal (native_freqdata);
}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_s32_window(IntPtr raw, int timedata, int window);
public void Window(int timedata, Gst.FFT.FFTWindow window) {
@ -38,7 +38,7 @@ namespace Gst.FFT {
public FFTS32(IntPtr raw) : base(raw) {}
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_fft_s32_free(IntPtr raw);
protected override void Free (IntPtr raw)

View file

@ -11,7 +11,7 @@ namespace Gst.FFT {
#region Autogenerated code
public partial class Global {
[DllImport("libgstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstfft-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_fft_next_fast_length(int n);
public static int FftNextFastLength(int n) {

View file

@ -11,7 +11,7 @@ namespace Gst.Net {
#region Autogenerated code
public partial class Global {
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_add_net_address_meta(IntPtr buffer, IntPtr addr);
public static Gst.Net.NetAddressMeta BufferAddNetAddressMeta(Gst.Buffer buffer, GLib.SocketAddress addr) {
@ -20,7 +20,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_add_net_control_message_meta(IntPtr buffer, IntPtr message);
public static Gst.Net.NetControlMessageMeta BufferAddNetControlMessageMeta(Gst.Buffer buffer, GLib.SocketControlMessage message) {
@ -29,7 +29,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_get_net_address_meta(IntPtr buffer);
public static Gst.Net.NetAddressMeta BufferGetNetAddressMeta(Gst.Buffer buffer) {
@ -38,7 +38,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_net_address_meta_api_get_type();
public static GLib.GType NetAddressMetaApiGetType() {
@ -47,7 +47,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_net_address_meta_get_info();
public static Gst.MetaInfo NetAddressMetaGetInfo() {
@ -56,7 +56,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_net_control_message_meta_api_get_type();
public static GLib.GType NetControlMessageMetaApiGetType() {
@ -65,7 +65,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_net_control_message_meta_get_info();
public static Gst.MetaInfo NetControlMessageMetaGetInfo() {
@ -74,7 +74,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern unsafe IntPtr gst_net_time_packet_receive(IntPtr socket, out IntPtr src_address, out IntPtr error);
public static unsafe Gst.Net.NetTimePacket NetTimePacketReceive(GLib.Socket socket, out GLib.SocketAddress src_address) {
@ -87,14 +87,14 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_ptp_deinit();
public static void PtpDeinit() {
gst_ptp_deinit();
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_ptp_init(ulong clock_id, IntPtr[] interfaces);
public static bool PtpInit(ulong clock_id, string[] interfaces) {
@ -116,7 +116,7 @@ namespace Gst.Net {
return PtpInit (clock_id, null);
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_ptp_is_initialized();
public static bool PtpIsInitialized() {
@ -125,7 +125,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_ptp_is_supported();
public static bool PtpIsSupported() {
@ -134,7 +134,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern UIntPtr gst_ptp_statistics_callback_add(Gst.NetSharp.PtpStatisticsCallbackNative cb, IntPtr user_data, GLib.DestroyNotify destroy_data);
public static ulong PtpStatisticsCallbackAdd(Gst.Net.PtpStatisticsCallback cb) {
@ -153,7 +153,7 @@ namespace Gst.Net {
return ret;
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_ptp_statistics_callback_remove(UIntPtr id);
public static void PtpStatisticsCallbackRemove(ulong id) {

View file

@ -31,7 +31,7 @@ namespace Gst.Net {
return (Gst.Net.NetAddressMeta) Marshal.PtrToStructure (raw, typeof (Gst.Net.NetAddressMeta));
}
[DllImport("libgstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("gstnet-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_net_address_meta_get_info();
public static Gst.MetaInfo Info {

Some files were not shown because too many files have changed in this diff Show more