Use libgst*.dll in DllImport attribute, instead of gst*.dll

Nescessary for .NET, which doesn't prefix the library filename
with lib automatically.
This commit is contained in:
Maarten Bosmans 2009-05-25 12:09:52 +02:00 committed by Sebastian Dröge
parent e37e8d7c17
commit f665c749b6
38 changed files with 326 additions and 326 deletions

View file

@ -157,13 +157,13 @@ namespace Gst {
RegisterManagedTypes (); RegisterManagedTypes ();
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_init (ref int argc, ref IntPtr argv); private static extern void gst_init (ref int argc, ref IntPtr argv);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern bool gst_init_check (ref int argc, ref IntPtr argv, out IntPtr error); private static extern bool gst_init_check (ref int argc, ref IntPtr argv, out IntPtr error);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_deinit(); private static extern void gst_deinit();
} }
} }

View file

@ -1,4 +1,4 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_bin_add (IntPtr raw, IntPtr element); static extern bool gst_bin_add (IntPtr raw, IntPtr element);
[DllImport ("libgobject-2.0-0.dll") ] [DllImport ("libgobject-2.0-0.dll") ]
@ -51,17 +51,17 @@ public Gst.Element GetByInterface (System.Type type) {
return GetByInterface (t); return GetByInterface (t);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_bin_iterate_elements (IntPtr bin); static extern IntPtr gst_bin_iterate_elements (IntPtr bin);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_bin_iterate_recurse (IntPtr bin); static extern IntPtr gst_bin_iterate_recurse (IntPtr bin);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_bin_iterate_sinks (IntPtr bin); static extern IntPtr gst_bin_iterate_sinks (IntPtr bin);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_bin_iterate_sorted (IntPtr bin); static extern IntPtr gst_bin_iterate_sorted (IntPtr bin);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_bin_iterate_sources (IntPtr bin); static extern IntPtr gst_bin_iterate_sources (IntPtr bin);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_bin_iterate_all_by_interface (IntPtr bin, IntPtr gtype); static extern IntPtr gst_bin_iterate_all_by_interface (IntPtr bin, IntPtr gtype);
public IEnumerable Elements { public IEnumerable Elements {

View file

@ -1,4 +1,4 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_buffer_try_new_and_alloc (uint size); static extern IntPtr gst_buffer_try_new_and_alloc (uint size);
public Buffer (GLib.Value val) : base (val) { } public Buffer (GLib.Value val) : base (val) { }
@ -71,7 +71,7 @@ public byte this [uint index] {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport ("libgstreamer-0.10.dll") ]
static extern void gst_mini_object_unref (IntPtr raw); static extern void gst_mini_object_unref (IntPtr raw);
/* FIXME: This is not optimal */ /* FIXME: This is not optimal */
@ -85,9 +85,9 @@ public void MakeMetadataWritable() {
gst_mini_object_unref (old); gst_mini_object_unref (old);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_buffer_get_caps (IntPtr raw); static extern IntPtr gst_buffer_get_caps (IntPtr raw);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_buffer_set_caps (IntPtr raw, IntPtr caps); static extern void gst_buffer_set_caps (IntPtr raw, IntPtr caps);
public Gst.Caps Caps { public Gst.Caps Caps {

View file

@ -1,6 +1,6 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_bus_post (IntPtr raw, IntPtr message); static extern bool gst_bus_post (IntPtr raw, IntPtr message);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_mini_object_copy (IntPtr raw); static extern IntPtr gst_mini_object_copy (IntPtr raw);
public bool Post (Gst.Message message) { public bool Post (Gst.Message message) {
@ -10,7 +10,7 @@ public bool Post (Gst.Message message) {
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern int gst_bus_sync_signal_handler (IntPtr raw, IntPtr message, IntPtr data); static extern int gst_bus_sync_signal_handler (IntPtr raw, IntPtr message, IntPtr data);
public Gst.BusSyncReply SyncSignalHandler (Gst.Message message) { public Gst.BusSyncReply SyncSignalHandler (Gst.Message message) {
@ -23,7 +23,7 @@ public uint AddWatch (Gst.BusFunc func) {
return AddWatch (0, func); return AddWatch (0, func);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_bus_async_signal_func (IntPtr raw, IntPtr message, IntPtr data); static extern bool gst_bus_async_signal_func (IntPtr raw, IntPtr message, IntPtr data);
public bool AsyncSignalFunc (Gst.Message message) { public bool AsyncSignalFunc (Gst.Message message) {

View file

@ -11,7 +11,7 @@ public Caps (Structure[] s) : this () {
Append (o); Append (o);
} }
[DllImport ("gstreamersharpglue-0.10") ] [DllImport ("gstreamersharpglue-0.10.dll") ]
extern static uint gstsharp_gst_caps_get_refcount_offset (); extern static uint gstsharp_gst_caps_get_refcount_offset ();
static uint refcount_offset = gstsharp_gst_caps_get_refcount_offset (); static uint refcount_offset = gstsharp_gst_caps_get_refcount_offset ();
@ -57,7 +57,7 @@ private void RemoveStructureReferences () {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_caps_get_structure (IntPtr handle, uint index); private static extern IntPtr gst_caps_get_structure (IntPtr handle, uint index);
public Structure this [uint index] { public Structure this [uint index] {
@ -116,10 +116,10 @@ public IEnumerator GetEnumerator() {
return new StructureEnumerator (this); return new StructureEnumerator (this);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_caps_append_structure (IntPtr caps, IntPtr structure); static extern void gst_caps_append_structure (IntPtr caps, IntPtr structure);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_structure_copy (IntPtr raw); static extern IntPtr gst_structure_copy (IntPtr raw);
public void Append (Structure s) { public void Append (Structure s) {
@ -129,7 +129,7 @@ public void Append (Structure s) {
gst_caps_append_structure (Handle, gst_structure_copy (s.Handle)); gst_caps_append_structure (Handle, gst_structure_copy (s.Handle));
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_caps_append (IntPtr caps, IntPtr caps2); static extern void gst_caps_append (IntPtr caps, IntPtr caps2);
public void Append (Caps caps) { public void Append (Caps caps) {
@ -139,7 +139,7 @@ public void Append (Caps caps) {
gst_caps_append (Handle, gst_caps_copy (caps.Handle)); gst_caps_append (Handle, gst_caps_copy (caps.Handle));
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_caps_merge_structure (IntPtr caps, IntPtr structure); static extern void gst_caps_merge_structure (IntPtr caps, IntPtr structure);
public void Merge (Structure s) { public void Merge (Structure s) {
@ -149,7 +149,7 @@ public void Merge (Structure s) {
gst_caps_merge_structure (Handle, gst_structure_copy (s.Handle)); gst_caps_merge_structure (Handle, gst_structure_copy (s.Handle));
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_caps_merge (IntPtr caps, IntPtr caps2); static extern void gst_caps_merge (IntPtr caps, IntPtr caps2);
public void Merge (Caps caps) { public void Merge (Caps caps) {
@ -163,7 +163,7 @@ public void Merge (Caps caps) {
gst_caps_merge (Handle, gst_caps_copy (caps.Handle)); gst_caps_merge (Handle, gst_caps_copy (caps.Handle));
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_caps_remove_structure (IntPtr caps, uint index); static extern void gst_caps_remove_structure (IntPtr caps, uint index);
public void RemoveStructure (uint index) { public void RemoveStructure (uint index) {
@ -179,7 +179,7 @@ public void RemoveStructure (uint index) {
gst_caps_remove_structure (Handle, index); gst_caps_remove_structure (Handle, index);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_caps_do_simplify (IntPtr caps); static extern bool gst_caps_do_simplify (IntPtr caps);
public bool DoSimplify () { public bool DoSimplify () {
@ -193,7 +193,7 @@ public bool DoSimplify () {
return gst_caps_do_simplify (Handle); return gst_caps_do_simplify (Handle);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_caps_truncate (IntPtr caps); static extern void gst_caps_truncate (IntPtr caps);
public void Truncate () { public void Truncate () {
@ -206,7 +206,7 @@ public void Truncate () {
gst_caps_truncate (Handle); gst_caps_truncate (Handle);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_caps_unref (IntPtr raw); static extern void gst_caps_unref (IntPtr raw);
protected override void Unref (IntPtr raw) { protected override void Unref (IntPtr raw) {

View file

@ -92,9 +92,9 @@ public bool TrySlaveLock () {
return g_mutex_trylock (SlaveLockPtr); return g_mutex_trylock (SlaveLockPtr);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_clock_get_master (IntPtr raw); static extern IntPtr gst_clock_get_master (IntPtr raw);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_clock_set_master (IntPtr raw, IntPtr master); static extern bool gst_clock_set_master (IntPtr raw, IntPtr master);
public Gst.Clock Master { public Gst.Clock Master {
get { get {

View file

@ -1,5 +1,5 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_debug_set_default_threshold (Gst.DebugLevel debug_level); static extern void gst_debug_set_default_threshold (Gst.DebugLevel debug_level);
public static void SetDefaultThreshold (Gst.DebugLevel debug_level) { public static void SetDefaultThreshold (Gst.DebugLevel debug_level) {

View file

@ -1,6 +1,6 @@
[DllImport ("libgobject-2.0-0.dll") ] [DllImport ("libgobject-2.0-0.dll") ]
static extern IntPtr g_object_ref (IntPtr raw); static extern IntPtr g_object_ref (IntPtr raw);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_element_add_pad (IntPtr raw, IntPtr pad); static extern bool gst_element_add_pad (IntPtr raw, IntPtr pad);
public bool AddPad (Pad p) { public bool AddPad (Pad p) {
@ -25,11 +25,11 @@ public static void UnlinkMany (params Element [] elements) {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_element_iterate_pads (IntPtr element); static extern IntPtr gst_element_iterate_pads (IntPtr element);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_element_iterate_src_pads (IntPtr element); static extern IntPtr gst_element_iterate_src_pads (IntPtr element);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_element_iterate_sink_pads (IntPtr element); static extern IntPtr gst_element_iterate_sink_pads (IntPtr element);
public IEnumerable Pads { public IEnumerable Pads {
@ -55,25 +55,25 @@ public Gst.StateChangeReturn GetState (out Gst.State state, ulong timeout) {
return GetState (out state, out pending, timeout); return GetState (out state, out pending, timeout);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_element_found_tags (IntPtr raw, IntPtr list); static extern void gst_element_found_tags (IntPtr raw, IntPtr list);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_tag_list_copy (IntPtr raw); static extern IntPtr gst_tag_list_copy (IntPtr raw);
public void FoundTags (Gst.TagList list) { public void FoundTags (Gst.TagList list) {
gst_element_found_tags (Handle, list == null ? IntPtr.Zero : gst_tag_list_copy (list.Handle)); gst_element_found_tags (Handle, list == null ? IntPtr.Zero : gst_tag_list_copy (list.Handle));
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_element_found_tags_for_pad (IntPtr raw, IntPtr pad, IntPtr list); static extern void gst_element_found_tags_for_pad (IntPtr raw, IntPtr pad, IntPtr list);
public void FoundTagsForPad (Gst.Pad pad, Gst.TagList list) { public void FoundTagsForPad (Gst.Pad pad, Gst.TagList list) {
gst_element_found_tags_for_pad (Handle, pad == null ? IntPtr.Zero : pad.Handle, list == null ? IntPtr.Zero : gst_tag_list_copy (list.Handle)); gst_element_found_tags_for_pad (Handle, pad == null ? IntPtr.Zero : pad.Handle, list == null ? IntPtr.Zero : gst_tag_list_copy (list.Handle));
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_element_post_message (IntPtr raw, IntPtr message); static extern bool gst_element_post_message (IntPtr raw, IntPtr message);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_mini_object_ref (IntPtr raw); static extern IntPtr gst_mini_object_ref (IntPtr raw);
public bool PostMessage (Gst.Message message) { public bool PostMessage (Gst.Message message) {
@ -82,7 +82,7 @@ public bool PostMessage (Gst.Message message) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_element_get_query_types (IntPtr raw); static extern IntPtr gst_element_get_query_types (IntPtr raw);
public Gst.QueryType[] GetQueryTypes () { public Gst.QueryType[] GetQueryTypes () {
@ -107,7 +107,7 @@ public Gst.QueryType[] GetQueryTypes () {
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_element_send_event (IntPtr raw, IntPtr evnt); static extern bool gst_element_send_event (IntPtr raw, IntPtr evnt);
public bool SendEvent (Gst.Event evnt) { public bool SendEvent (Gst.Event evnt) {
@ -116,7 +116,7 @@ public bool SendEvent (Gst.Event evnt) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_element_class_add_pad_template (IntPtr klass, IntPtr templ); static extern void gst_element_class_add_pad_template (IntPtr klass, IntPtr templ);
protected static void AddPadTemplate (GLib.GType gtype, Gst.PadTemplate templ) { protected static void AddPadTemplate (GLib.GType gtype, Gst.PadTemplate templ) {
@ -124,7 +124,7 @@ protected static void AddPadTemplate (GLib.GType gtype, Gst.PadTemplate templ) {
gst_element_class_add_pad_template (class_ptr, templ.Handle); gst_element_class_add_pad_template (class_ptr, templ.Handle);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_element_class_get_pad_template (IntPtr klass, IntPtr name); static extern IntPtr gst_element_class_get_pad_template (IntPtr klass, IntPtr name);
public Gst.PadTemplate GetPadTemplate (string name) { public Gst.PadTemplate GetPadTemplate (string name) {
@ -137,7 +137,7 @@ public Gst.PadTemplate GetPadTemplate (string name) {
return GLib.Object.GetObject (raw_ret, false) as Gst.PadTemplate; return GLib.Object.GetObject (raw_ret, false) as Gst.PadTemplate;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_element_class_get_pad_template_list (IntPtr klass); static extern IntPtr gst_element_class_get_pad_template_list (IntPtr klass);
public Gst.PadTemplate[] PadTemplates { public Gst.PadTemplate[] PadTemplates {
@ -150,7 +150,7 @@ public Gst.PadTemplate[] PadTemplates {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_element_class_set_details_simple (IntPtr klass, IntPtr longname, IntPtr classification, IntPtr desc, IntPtr author); static extern void gst_element_class_set_details_simple (IntPtr klass, IntPtr longname, IntPtr classification, IntPtr desc, IntPtr author);
protected static void SetDetails (GLib.GType gtype, string longname, string klass, string description, string author) { protected static void SetDetails (GLib.GType gtype, string longname, string klass, string description, string author) {

View file

@ -53,10 +53,10 @@ public Gst.Object Src {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern uint gst_event_get_seqnum (IntPtr raw); static extern uint gst_event_get_seqnum (IntPtr raw);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_event_set_seqnum (IntPtr raw, uint seqnum); static extern void gst_event_set_seqnum (IntPtr raw, uint seqnum);
public uint Seqnum { public uint Seqnum {
@ -76,7 +76,7 @@ public uint Seqnum {
private Gst.Structure cached_structure = null; private Gst.Structure cached_structure = null;
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_get_structure (IntPtr raw); static extern IntPtr gst_event_get_structure (IntPtr raw);
public Gst.Structure Structure { public Gst.Structure Structure {
@ -123,7 +123,7 @@ public bool IsSerialized {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern Gst.EventTypeFlags gst_event_type_get_flags (Gst.EventType type); static extern Gst.EventTypeFlags gst_event_type_get_flags (Gst.EventType type);
public static Gst.EventTypeFlags GetTypeFlags (Gst.EventType type) { public static Gst.EventTypeFlags GetTypeFlags (Gst.EventType type) {
@ -138,7 +138,7 @@ public static uint GetTypeNumber (Gst.EventType type) {
return ( (uint) type) >> 4; return ( (uint) type) >> 4;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_custom (Gst.EventType type, IntPtr structure); static extern IntPtr gst_event_new_custom (Gst.EventType type, IntPtr structure);
public static Gst.Event NewCustom (Gst.EventType type, Gst.Structure structure) { public static Gst.Event NewCustom (Gst.EventType type, Gst.Structure structure) {
@ -149,7 +149,7 @@ public static Gst.Event NewCustom (Gst.EventType type, Gst.Structure structure)
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_flush_start (); static extern IntPtr gst_event_new_flush_start ();
public static Gst.Event NewFlushStart () { public static Gst.Event NewFlushStart () {
@ -158,7 +158,7 @@ public static Gst.Event NewFlushStart () {
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_flush_stop (); static extern IntPtr gst_event_new_flush_stop ();
public static Gst.Event NewFlushStop () { public static Gst.Event NewFlushStop () {
@ -167,7 +167,7 @@ public static Gst.Event NewFlushStop () {
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_eos (); static extern IntPtr gst_event_new_eos ();
public static Gst.Event NewEos () { public static Gst.Event NewEos () {
@ -176,7 +176,7 @@ public static Gst.Event NewEos () {
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_new_segment_full (bool update, double rate, double applied_rate, Gst.Format format, long start, long stop, long position); static extern IntPtr gst_event_new_new_segment_full (bool update, double rate, double applied_rate, Gst.Format format, long start, long stop, long position);
public static Gst.Event NewNewSegment (bool update, double rate, double applied_rate, Gst.Format format, long start, long stop, long position) { public static Gst.Event NewNewSegment (bool update, double rate, double applied_rate, Gst.Format format, long start, long stop, long position) {
@ -189,7 +189,7 @@ public static Gst.Event NewNewSegment (bool update, double rate, Gst.Format form
return NewNewSegment (update, rate, 1.0, format, start, stop, position); return NewNewSegment (update, rate, 1.0, format, start, stop, position);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_event_parse_new_segment_full (IntPtr raw, out bool update, out double rate, out double applied_rate, out Gst.Format format, out long start, out long stop, out long position); static extern void gst_event_parse_new_segment_full (IntPtr raw, out bool update, out double rate, out double applied_rate, out Gst.Format format, out long start, out long stop, out long position);
public void ParseNewSegment (out bool update, out double rate, out double applied_rate, out Gst.Format format, out long start, out long stop, out long position) { public void ParseNewSegment (out bool update, out double rate, out double applied_rate, out Gst.Format format, out long start, out long stop, out long position) {
@ -205,10 +205,10 @@ public void ParseNewSegment (out bool update, out double rate, Gst.Format format
ParseNewSegment (out update, out rate, out applied_rate, out format, out start, out stop, out position); ParseNewSegment (out update, out rate, out applied_rate, out format, out start, out stop, out position);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_tag (IntPtr tags); static extern IntPtr gst_event_new_tag (IntPtr tags);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_tag_list_copy (IntPtr raw); static extern IntPtr gst_tag_list_copy (IntPtr raw);
public static Gst.Event NewTag (Gst.TagList tags) { public static Gst.Event NewTag (Gst.TagList tags) {
@ -217,7 +217,7 @@ public static Gst.Event NewTag (Gst.TagList tags) {
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_event_parse_tag (IntPtr ev, out IntPtr tags); static extern void gst_event_parse_tag (IntPtr ev, out IntPtr tags);
public void ParseTag (out TagList tags) { public void ParseTag (out TagList tags) {
@ -234,7 +234,7 @@ public void ParseTag (out TagList tags) {
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_buffer_size (Gst.Format format, long min, long max, bool async); static extern IntPtr gst_event_new_buffer_size (Gst.Format format, long min, long max, bool async);
public static Gst.Event NewBufferSize (Gst.Format format, long min, long max, bool async) { public static Gst.Event NewBufferSize (Gst.Format format, long min, long max, bool async) {
@ -243,7 +243,7 @@ public static Gst.Event NewBufferSize (Gst.Format format, long min, long max, bo
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_event_parse_buffer_size (IntPtr ev, out Gst.Format format, out long min, out long max, out bool async); static extern void gst_event_parse_buffer_size (IntPtr ev, out Gst.Format format, out long min, out long max, out bool async);
public void ParseBufferSize (out Gst.Format format, out long min, out long max, out bool async) { public void ParseBufferSize (out Gst.Format format, out long min, out long max, out bool async) {
@ -253,7 +253,7 @@ public void ParseBufferSize (out Gst.Format format, out long min, out long max,
gst_event_parse_buffer_size (Handle, out format, out min, out max, out async); gst_event_parse_buffer_size (Handle, out format, out min, out max, out async);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_qos (double proportion, long diff, ulong timestamp); static extern IntPtr gst_event_new_qos (double proportion, long diff, ulong timestamp);
public static Gst.Event NewQos (double proportion, long diff, ulong timestamp) { public static Gst.Event NewQos (double proportion, long diff, ulong timestamp) {
@ -262,7 +262,7 @@ public static Gst.Event NewQos (double proportion, long diff, ulong timestamp) {
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_event_parse_qos (IntPtr ev, out double proportion, out long diff, out ulong timestamp); static extern void gst_event_parse_qos (IntPtr ev, out double proportion, out long diff, out ulong timestamp);
public void ParseQos (out double proportion, out long diff, out ulong timestamp) { public void ParseQos (out double proportion, out long diff, out ulong timestamp) {
@ -273,7 +273,7 @@ public void ParseQos (out double proportion, out long diff, out ulong timestamp)
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, long start, Gst.SeekType stop_type, long stop); static extern IntPtr gst_event_new_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, long start, Gst.SeekType stop_type, long stop);
public static Gst.Event NewSeek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, long start, Gst.SeekType stop_type, long stop) { public static Gst.Event NewSeek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, long start, Gst.SeekType stop_type, long stop) {
@ -282,7 +282,7 @@ public static Gst.Event NewSeek (double rate, Gst.Format format, Gst.SeekFlags f
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_event_parse_seek (IntPtr ev, out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out long start, out Gst.SeekType stop_type, out long stop); static extern void gst_event_parse_seek (IntPtr ev, out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out long start, out Gst.SeekType stop_type, out long stop);
public void ParseSeek (out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out long start, out Gst.SeekType stop_type, out long stop) { public void ParseSeek (out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out long start, out Gst.SeekType stop_type, out long stop) {
@ -292,7 +292,7 @@ public void ParseSeek (out double rate, out Gst.Format format, out Gst.SeekFlags
gst_event_parse_seek (Handle, out rate, out format, out flags, out start_type, out start, out stop_type, out stop); gst_event_parse_seek (Handle, out rate, out format, out flags, out start_type, out start, out stop_type, out stop);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_navigation (IntPtr structure); static extern IntPtr gst_event_new_navigation (IntPtr structure);
public static Gst.Event NewNavigation (Gst.Structure structure) { public static Gst.Event NewNavigation (Gst.Structure structure) {
@ -303,7 +303,7 @@ public static Gst.Event NewNavigation (Gst.Structure structure) {
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_event_new_latency (ulong latency); static extern IntPtr gst_event_new_latency (ulong latency);
public static Gst.Event NewLatency (ulong latency) { public static Gst.Event NewLatency (ulong latency) {
@ -312,7 +312,7 @@ public static Gst.Event NewLatency (ulong latency) {
return ev; return ev;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_event_parse_latency (IntPtr ev, out ulong latency); static extern void gst_event_parse_latency (IntPtr ev, out ulong latency);
public void ParseLatency (out ulong latency) { public void ParseLatency (out ulong latency) {

View file

@ -79,11 +79,11 @@ namespace Gst {
gst_iterator_free (iterator); gst_iterator_free (iterator);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern int gst_iterator_next (IntPtr iterator, out IntPtr elem); static extern int gst_iterator_next (IntPtr iterator, out IntPtr elem);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_iterator_resync (IntPtr iterator); static extern void gst_iterator_resync (IntPtr iterator);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_iterator_free (IntPtr iterator); static extern void gst_iterator_free (IntPtr iterator);
} }

View file

@ -53,10 +53,10 @@ public Gst.Object Src {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern uint gst_message_get_seqnum (IntPtr raw); static extern uint gst_message_get_seqnum (IntPtr raw);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_set_seqnum (IntPtr raw, uint seqnum); static extern void gst_message_set_seqnum (IntPtr raw, uint seqnum);
public uint Seqnum { public uint Seqnum {
@ -76,7 +76,7 @@ public uint Seqnum {
private Gst.Structure cached_structure = null; private Gst.Structure cached_structure = null;
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_get_structure (IntPtr raw); static extern IntPtr gst_message_get_structure (IntPtr raw);
public Gst.Structure Structure { public Gst.Structure Structure {
@ -99,7 +99,7 @@ public Gst.Structure Structure {
cached_structure = null; cached_structure = null;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_eos (IntPtr src); static extern IntPtr gst_message_new_eos (IntPtr src);
public static Message NewEos (Gst.Object src) { public static Message NewEos (Gst.Object src) {
@ -108,7 +108,7 @@ public static Message NewEos (Gst.Object src) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_error_get_message (uint domain, int code); static extern IntPtr gst_error_get_message (uint domain, int code);
static string GetMessage (uint domain, int code) { static string GetMessage (uint domain, int code) {
@ -119,16 +119,16 @@ static string GetMessage (uint domain, int code) {
return GLib.Marshaller.PtrToStringGFree (raw_ret); return GLib.Marshaller.PtrToStringGFree (raw_ret);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern uint gst_core_error_quark (); static extern uint gst_core_error_quark ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern uint gst_library_error_quark (); static extern uint gst_library_error_quark ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern uint gst_stream_error_quark (); static extern uint gst_stream_error_quark ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern uint gst_resource_error_quark (); static extern uint gst_resource_error_quark ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_error (IntPtr src, ref Gst.GError error, IntPtr debug); static extern IntPtr gst_message_new_error (IntPtr src, ref Gst.GError error, IntPtr debug);
public static Message NewError (Gst.Object src, Gst.CoreError error, string message, string debug) { public static Message NewError (Gst.Object src, Gst.CoreError error, string message, string debug) {
@ -218,7 +218,7 @@ public static Message NewError (Gst.Object src, Gst.ResourceError error) {
return NewError (src, error, null, null); return NewError (src, error, null, null);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_error (IntPtr msg, out IntPtr err, out IntPtr debug); static extern void gst_message_parse_error (IntPtr msg, out IntPtr err, out IntPtr debug);
public void ParseError (out Enum error, out string message, out string debug) { public void ParseError (out Enum error, out string message, out string debug) {
@ -266,7 +266,7 @@ public void ParseError (out Enum error) {
ParseError (out error, out tmp, out tmp2); ParseError (out error, out tmp, out tmp2);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_warning (IntPtr src, ref Gst.GError error, IntPtr debug); static extern IntPtr gst_message_new_warning (IntPtr src, ref Gst.GError error, IntPtr debug);
public static Message NewWarning (Gst.Object src, Gst.CoreError error, string message, string debug) { public static Message NewWarning (Gst.Object src, Gst.CoreError error, string message, string debug) {
@ -357,7 +357,7 @@ public static Message NewWarning (Gst.Object src, Gst.ResourceError error) {
return NewWarning (src, error, null, null); return NewWarning (src, error, null, null);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_warning (IntPtr msg, out IntPtr err, out IntPtr debug); static extern void gst_message_parse_warning (IntPtr msg, out IntPtr err, out IntPtr debug);
public void ParseWarning (out Enum error, out string message, out string debug) { public void ParseWarning (out Enum error, out string message, out string debug) {
@ -405,7 +405,7 @@ public void ParseWarning (out Enum error) {
ParseWarning (out error, out tmp, out tmp2); ParseWarning (out error, out tmp, out tmp2);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_info (IntPtr src, ref Gst.GError error, IntPtr debug); static extern IntPtr gst_message_new_info (IntPtr src, ref Gst.GError error, IntPtr debug);
public static Message NewInfo (Gst.Object src, Gst.CoreError error, string message, string debug) { public static Message NewInfo (Gst.Object src, Gst.CoreError error, string message, string debug) {
@ -496,7 +496,7 @@ public static Message NewInfo (Gst.Object src, Gst.ResourceError error) {
return NewInfo (src, error, null, null); return NewInfo (src, error, null, null);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_info (IntPtr msg, out IntPtr err, out IntPtr debug); static extern void gst_message_parse_info (IntPtr msg, out IntPtr err, out IntPtr debug);
public void ParseInfo (out Enum error, out string message, out string debug) { public void ParseInfo (out Enum error, out string message, out string debug) {
@ -544,10 +544,10 @@ public void ParseInfo (out Enum error) {
ParseInfo (out error, out tmp, out tmp2); ParseInfo (out error, out tmp, out tmp2);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_tag (IntPtr src, IntPtr tags); static extern IntPtr gst_message_new_tag (IntPtr src, IntPtr tags);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_tag_list_copy (IntPtr handle); static extern IntPtr gst_tag_list_copy (IntPtr handle);
public static Message NewTag (Gst.Object src, TagList tags) { public static Message NewTag (Gst.Object src, TagList tags) {
@ -556,7 +556,7 @@ public static Message NewTag (Gst.Object src, TagList tags) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_tag (IntPtr msg, out IntPtr tags); static extern void gst_message_parse_tag (IntPtr msg, out IntPtr tags);
public void ParseTag (out TagList tags) { public void ParseTag (out TagList tags) {
@ -572,7 +572,7 @@ public void ParseTag (out TagList tags) {
tags = (TagList) GLib.Opaque.GetOpaque (raw_ptr, typeof (TagList), true); tags = (TagList) GLib.Opaque.GetOpaque (raw_ptr, typeof (TagList), true);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_buffering (IntPtr src, int percent); static extern IntPtr gst_message_new_buffering (IntPtr src, int percent);
public static Message NewBuffering (Gst.Object src, int percent) { public static Message NewBuffering (Gst.Object src, int percent) {
@ -581,7 +581,7 @@ public static Message NewBuffering (Gst.Object src, int percent) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_buffering (IntPtr msg, out int percent); static extern void gst_message_parse_buffering (IntPtr msg, out int percent);
public void ParseBuffering (out int percent) { public void ParseBuffering (out int percent) {
@ -591,7 +591,7 @@ public void ParseBuffering (out int percent) {
gst_message_parse_buffering (Handle, out percent); gst_message_parse_buffering (Handle, out percent);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_set_buffering_stats (IntPtr msg, Gst.BufferingMode mode, int avg_in, int avg_out, long buffering_left); static extern void gst_message_set_buffering_stats (IntPtr msg, Gst.BufferingMode mode, int avg_in, int avg_out, long buffering_left);
public void SetBufferingStats (Gst.BufferingMode mode, int avg_in, int avg_out, long buffering_left) { public void SetBufferingStats (Gst.BufferingMode mode, int avg_in, int avg_out, long buffering_left) {
@ -603,7 +603,7 @@ public void SetBufferingStats (Gst.BufferingMode mode, int avg_in, int avg_out,
gst_message_set_buffering_stats (Handle, mode, avg_in, avg_out, buffering_left); gst_message_set_buffering_stats (Handle, mode, avg_in, avg_out, buffering_left);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_buffering_stats (IntPtr msg, out Gst.BufferingMode mode, out int avg_in, out int avg_out, out long buffering_left); static extern void gst_message_parse_buffering_stats (IntPtr msg, out Gst.BufferingMode mode, out int avg_in, out int avg_out, out long buffering_left);
public void ParseBufferingStats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out long buffering_left) { public void ParseBufferingStats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out long buffering_left) {
@ -613,7 +613,7 @@ public void ParseBufferingStats (out Gst.BufferingMode mode, out int avg_in, out
gst_message_parse_buffering_stats (Handle, out mode, out avg_in, out avg_out, out buffering_left); gst_message_parse_buffering_stats (Handle, out mode, out avg_in, out avg_out, out buffering_left);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_state_changed (IntPtr src, State oldstate, State newstate, State pendingstate); static extern IntPtr gst_message_new_state_changed (IntPtr src, State oldstate, State newstate, State pendingstate);
public static Message NewStateChanged (Gst.Object src, State oldstate, State newstate, State pendingstate) { public static Message NewStateChanged (Gst.Object src, State oldstate, State newstate, State pendingstate) {
@ -622,7 +622,7 @@ public static Message NewStateChanged (Gst.Object src, State oldstate, State new
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_state_changed (IntPtr msg, out State oldstate, out State newstate, out State pendingstate); static extern void gst_message_parse_state_changed (IntPtr msg, out State oldstate, out State newstate, out State pendingstate);
public void ParseStateChanged (out State oldstate, out State newstate, out State pendingstate) { public void ParseStateChanged (out State oldstate, out State newstate, out State pendingstate) {
@ -632,7 +632,7 @@ public void ParseStateChanged (out State oldstate, out State newstate, out State
gst_message_parse_state_changed (Handle, out oldstate, out newstate, out pendingstate); gst_message_parse_state_changed (Handle, out oldstate, out newstate, out pendingstate);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_state_dirty (IntPtr src); static extern IntPtr gst_message_new_state_dirty (IntPtr src);
public static Message NewStateDirty (Gst.Object src) { public static Message NewStateDirty (Gst.Object src) {
@ -640,7 +640,7 @@ public static Message NewStateDirty (Gst.Object src) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_clock_provide (IntPtr src, IntPtr clock, bool ready); static extern IntPtr gst_message_new_clock_provide (IntPtr src, IntPtr clock, bool ready);
public static Message NewClockProvide (Gst.Object src, Gst.Clock clock, bool ready) { public static Message NewClockProvide (Gst.Object src, Gst.Clock clock, bool ready) {
@ -649,7 +649,7 @@ public static Message NewClockProvide (Gst.Object src, Gst.Clock clock, bool rea
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_clock_provide (IntPtr msg, out IntPtr clock, out bool ready); static extern void gst_message_parse_clock_provide (IntPtr msg, out IntPtr clock, out bool ready);
public void ParseClockProvide (out Gst.Clock clock, out bool ready) { public void ParseClockProvide (out Gst.Clock clock, out bool ready) {
@ -663,7 +663,7 @@ public void ParseClockProvide (out Gst.Clock clock, out bool ready) {
clock = GLib.Object.GetObject (raw, false) as Gst.Clock; clock = GLib.Object.GetObject (raw, false) as Gst.Clock;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_clock_lost (IntPtr src, IntPtr clock); static extern IntPtr gst_message_new_clock_lost (IntPtr src, IntPtr clock);
public static Message NewClockLost (Gst.Object src, Gst.Clock clock) { public static Message NewClockLost (Gst.Object src, Gst.Clock clock) {
@ -672,7 +672,7 @@ public static Message NewClockLost (Gst.Object src, Gst.Clock clock) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_clock_lost (IntPtr msg, out IntPtr clock); static extern void gst_message_parse_clock_lost (IntPtr msg, out IntPtr clock);
public void ParseClockLost (out Gst.Clock clock) { public void ParseClockLost (out Gst.Clock clock) {
@ -686,7 +686,7 @@ public void ParseClockLost (out Gst.Clock clock) {
clock = GLib.Object.GetObject (raw, true) as Gst.Clock; clock = GLib.Object.GetObject (raw, true) as Gst.Clock;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_new_clock (IntPtr src, IntPtr clock); static extern IntPtr gst_message_new_new_clock (IntPtr src, IntPtr clock);
public static Message NewNewClock (Gst.Object src, Gst.Clock clock) { public static Message NewNewClock (Gst.Object src, Gst.Clock clock) {
@ -695,7 +695,7 @@ public static Message NewNewClock (Gst.Object src, Gst.Clock clock) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_new_clock (IntPtr msg, out IntPtr clock); static extern void gst_message_parse_new_clock (IntPtr msg, out IntPtr clock);
public void ParseNewClock (out Gst.Clock clock) { public void ParseNewClock (out Gst.Clock clock) {
@ -709,7 +709,7 @@ public void ParseNewClock (out Gst.Clock clock) {
clock = GLib.Object.GetObject (raw, true) as Gst.Clock; clock = GLib.Object.GetObject (raw, true) as Gst.Clock;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_application (IntPtr src, IntPtr structure); static extern IntPtr gst_message_new_application (IntPtr src, IntPtr structure);
public static Message NewApplication (Gst.Object src, Gst.Structure structure) { public static Message NewApplication (Gst.Object src, Gst.Structure structure) {
@ -720,7 +720,7 @@ public static Message NewApplication (Gst.Object src, Gst.Structure structure) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_element (IntPtr src, IntPtr structure); static extern IntPtr gst_message_new_element (IntPtr src, IntPtr structure);
public static Message NewElement (Gst.Object src, Gst.Structure structure) { public static Message NewElement (Gst.Object src, Gst.Structure structure) {
@ -731,7 +731,7 @@ public static Message NewElement (Gst.Object src, Gst.Structure structure) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_custom (Gst.MessageType type, IntPtr src, IntPtr structure); static extern IntPtr gst_message_new_custom (Gst.MessageType type, IntPtr src, IntPtr structure);
public static Message NewCustom (Gst.MessageType type, Gst.Object src, Gst.Structure structure) { public static Message NewCustom (Gst.MessageType type, Gst.Object src, Gst.Structure structure) {
@ -742,7 +742,7 @@ public static Message NewCustom (Gst.MessageType type, Gst.Object src, Gst.Struc
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_segment_start (IntPtr src, Gst.Format format, long position); static extern IntPtr gst_message_new_segment_start (IntPtr src, Gst.Format format, long position);
public static Message NewSegmentStart (Gst.Object src, Gst.Format format, long position) { public static Message NewSegmentStart (Gst.Object src, Gst.Format format, long position) {
@ -751,7 +751,7 @@ public static Message NewSegmentStart (Gst.Object src, Gst.Format format, long p
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_segment_start (IntPtr msg, out Gst.Format format, out long position); static extern void gst_message_parse_segment_start (IntPtr msg, out Gst.Format format, out long position);
public void ParseSegmentStart (out Gst.Format format, out long position) { public void ParseSegmentStart (out Gst.Format format, out long position) {
@ -761,7 +761,7 @@ public void ParseSegmentStart (out Gst.Format format, out long position) {
gst_message_parse_segment_start (Handle, out format, out position); gst_message_parse_segment_start (Handle, out format, out position);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_segment_done (IntPtr src, Gst.Format format, long position); static extern IntPtr gst_message_new_segment_done (IntPtr src, Gst.Format format, long position);
public static Message NewSegmentDone (Gst.Object src, Gst.Format format, long position) { public static Message NewSegmentDone (Gst.Object src, Gst.Format format, long position) {
@ -770,7 +770,7 @@ public static Message NewSegmentDone (Gst.Object src, Gst.Format format, long po
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_segment_done (IntPtr msg, out Gst.Format format, out long position); static extern void gst_message_parse_segment_done (IntPtr msg, out Gst.Format format, out long position);
public void ParseSegmentDone (out Gst.Format format, out long position) { public void ParseSegmentDone (out Gst.Format format, out long position) {
@ -780,7 +780,7 @@ public void ParseSegmentDone (out Gst.Format format, out long position) {
gst_message_parse_segment_done (Handle, out format, out position); gst_message_parse_segment_done (Handle, out format, out position);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_duration (IntPtr src, Gst.Format format, long duration); static extern IntPtr gst_message_new_duration (IntPtr src, Gst.Format format, long duration);
public static Message NewDuration (Gst.Object src, Gst.Format format, long duration) { public static Message NewDuration (Gst.Object src, Gst.Format format, long duration) {
@ -789,7 +789,7 @@ public static Message NewDuration (Gst.Object src, Gst.Format format, long durat
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_duration (IntPtr msg, out Gst.Format format, out long duration); static extern void gst_message_parse_duration (IntPtr msg, out Gst.Format format, out long duration);
public void ParseDuration (out Gst.Format format, out long duration) { public void ParseDuration (out Gst.Format format, out long duration) {
@ -799,7 +799,7 @@ public void ParseDuration (out Gst.Format format, out long duration) {
gst_message_parse_duration (Handle, out format, out duration); gst_message_parse_duration (Handle, out format, out duration);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_latency (IntPtr src); static extern IntPtr gst_message_new_latency (IntPtr src);
public static Message NewLatency (Gst.Object src) { public static Message NewLatency (Gst.Object src) {
@ -808,7 +808,7 @@ public static Message NewLatency (Gst.Object src) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_async_start (IntPtr src, bool new_base_time); static extern IntPtr gst_message_new_async_start (IntPtr src, bool new_base_time);
public static Message NewAsyncStart (Gst.Object src, bool new_base_time) { public static Message NewAsyncStart (Gst.Object src, bool new_base_time) {
@ -817,7 +817,7 @@ public static Message NewAsyncStart (Gst.Object src, bool new_base_time) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_async_start (IntPtr msg, out bool new_base_time); static extern void gst_message_parse_async_start (IntPtr msg, out bool new_base_time);
public void ParseAsyncStart (out bool new_base_time) { public void ParseAsyncStart (out bool new_base_time) {
@ -827,7 +827,7 @@ public void ParseAsyncStart (out bool new_base_time) {
gst_message_parse_async_start (Handle, out new_base_time); gst_message_parse_async_start (Handle, out new_base_time);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_async_done (IntPtr src); static extern IntPtr gst_message_new_async_done (IntPtr src);
public static Message NewAsyncDone (Gst.Object src) { public static Message NewAsyncDone (Gst.Object src) {
@ -836,7 +836,7 @@ public static Message NewAsyncDone (Gst.Object src) {
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_structure_change (IntPtr src, StructureChangeType type, IntPtr owner, bool busy); static extern IntPtr gst_message_new_structure_change (IntPtr src, StructureChangeType type, IntPtr owner, bool busy);
public static Message NewStructureChange (Gst.Object src, StructureChangeType type, Gst.Element owner, bool busy) { public static Message NewStructureChange (Gst.Object src, StructureChangeType type, Gst.Element owner, bool busy) {
@ -845,7 +845,7 @@ public static Message NewStructureChange (Gst.Object src, StructureChangeType ty
return msg; return msg;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_message_parse_structure_change (IntPtr msg, out StructureChangeType type, out IntPtr owner, out bool busy); static extern void gst_message_parse_structure_change (IntPtr msg, out StructureChangeType type, out IntPtr owner, out bool busy);
public void ParseStructureChange (out StructureChangeType type, out Gst.Element owner, out bool busy) { public void ParseStructureChange (out StructureChangeType type, out Gst.Element owner, out bool busy) {

View file

@ -74,7 +74,7 @@ namespace Gst {
Dispose (); Dispose ();
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport ("libgstreamer-0.10.dll") ]
static extern void gst_mini_object_unref (IntPtr raw); static extern void gst_mini_object_unref (IntPtr raw);
public virtual void Dispose () { public virtual void Dispose () {
@ -97,7 +97,7 @@ namespace Gst {
GC.SuppressFinalize (this); GC.SuppressFinalize (this);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport ("libgstreamer-0.10.dll") ]
static extern IntPtr gst_mini_object_ref (IntPtr raw); static extern IntPtr gst_mini_object_ref (IntPtr raw);
public static MiniObject GetObject (IntPtr o, bool owned_ref) { public static MiniObject GetObject (IntPtr o, bool owned_ref) {
@ -330,7 +330,7 @@ namespace Gst {
CreateNativeObject (); CreateNativeObject ();
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport ("libgstreamer-0.10.dll") ]
static extern IntPtr gst_mini_object_new (IntPtr gtype); static extern IntPtr gst_mini_object_new (IntPtr gtype);
protected virtual void CreateNativeObject () { protected virtual void CreateNativeObject () {
@ -352,7 +352,7 @@ namespace Gst {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport ("libgstreamer-0.10.dll") ]
static extern IntPtr gst_mini_object_get_type(); static extern IntPtr gst_mini_object_get_type();
public static GLib.GType GType { public static GLib.GType GType {
@ -436,7 +436,7 @@ namespace Gst {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport ("libgstreamer-0.10.dll") ]
static extern bool gst_mini_object_is_writable (IntPtr raw); static extern bool gst_mini_object_is_writable (IntPtr raw);
public bool IsWritable { public bool IsWritable {
@ -447,14 +447,14 @@ namespace Gst {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport ("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_value_dup_mini_object (ref GLib.Value v); private static extern IntPtr gst_value_dup_mini_object (ref GLib.Value v);
public MiniObject (GLib.Value val) : base () { public MiniObject (GLib.Value val) : base () {
Raw = gst_value_dup_mini_object (ref val); Raw = gst_value_dup_mini_object (ref val);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport ("libgstreamer-0.10.dll") ]
private static extern void gst_value_set_mini_object (ref GLib.Value v, IntPtr o); private static extern void gst_value_set_mini_object (ref GLib.Value v, IntPtr o);
public static explicit operator GLib.Value (MiniObject o) { public static explicit operator GLib.Value (MiniObject o) {
@ -480,7 +480,7 @@ namespace Gst {
gst_mini_object_unref (old); gst_mini_object_unref (old);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport ("libgstreamer-0.10.dll") ]
static extern IntPtr gst_mini_object_copy (IntPtr raw); static extern IntPtr gst_mini_object_copy (IntPtr raw);
public Gst.MiniObject Copy() { public Gst.MiniObject Copy() {

View file

@ -8,7 +8,7 @@ namespace Gst.Interfaces {
using Gst.Interfaces; using Gst.Interfaces;
public static class MixerMessage { public static class MixerMessage {
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern int gst_mixer_message_get_type (IntPtr message); static extern int gst_mixer_message_get_type (IntPtr message);
public static Gst.Interfaces.MixerMessageType MessageGetType (Gst.Message message) { public static Gst.Interfaces.MixerMessageType MessageGetType (Gst.Message message) {
@ -17,7 +17,7 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern void gst_mixer_message_parse_mute_toggled (IntPtr message, out IntPtr track, out bool mute); static extern void gst_mixer_message_parse_mute_toggled (IntPtr message, out IntPtr track, out bool mute);
public static void ParseMuteToggled (Gst.Message message, out Gst.Interfaces.MixerTrack track, out bool mute) { public static void ParseMuteToggled (Gst.Message message, out Gst.Interfaces.MixerTrack track, out bool mute) {
@ -28,7 +28,7 @@ namespace Gst.Interfaces {
track = (MixerTrack) GLib.Object.GetObject (native_ptr, false); track = (MixerTrack) GLib.Object.GetObject (native_ptr, false);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern void gst_mixer_message_parse_option_changed (IntPtr message, out IntPtr options, out IntPtr value); static extern void gst_mixer_message_parse_option_changed (IntPtr message, out IntPtr options, out IntPtr value);
public static void ParseOptionChanged (Gst.Message message, out Gst.Interfaces.MixerOptions options, out string value) { public static void ParseOptionChanged (Gst.Message message, out Gst.Interfaces.MixerOptions options, out string value) {
@ -41,7 +41,7 @@ namespace Gst.Interfaces {
value = GLib.Marshaller.Utf8PtrToString (native_value); value = GLib.Marshaller.Utf8PtrToString (native_value);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern void gst_mixer_message_parse_record_toggled (IntPtr message, out IntPtr track, out bool record); static extern void gst_mixer_message_parse_record_toggled (IntPtr message, out IntPtr track, out bool record);
public static void ParseRecordToggled (Gst.Message message, out Gst.Interfaces.MixerTrack track, out bool record) { public static void ParseRecordToggled (Gst.Message message, out Gst.Interfaces.MixerTrack track, out bool record) {
@ -51,7 +51,7 @@ namespace Gst.Interfaces {
track = (MixerTrack) GLib.Object.GetObject (native_ptr, false); track = (MixerTrack) GLib.Object.GetObject (native_ptr, false);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern void gst_mixer_message_parse_volume_changed (IntPtr message, out IntPtr track, out IntPtr volumes, out int num_channels); static extern void gst_mixer_message_parse_volume_changed (IntPtr message, out IntPtr track, out IntPtr volumes, out int num_channels);
public static void ParseVolumeChanged (Gst.Message message, out Gst.Interfaces.MixerTrack track, out int[] volumes) { public static void ParseVolumeChanged (Gst.Message message, out Gst.Interfaces.MixerTrack track, out int[] volumes) {
@ -68,7 +68,7 @@ namespace Gst.Interfaces {
GLib.Marshaller.Free (native_volumes); GLib.Marshaller.Free (native_volumes);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern void gst_mixer_message_parse_options_list_changed (IntPtr message, out IntPtr options); static extern void gst_mixer_message_parse_options_list_changed (IntPtr message, out IntPtr options);
public static void ParseOptionsListChanged (Gst.Message message, out Gst.Interfaces.MixerOptions options) { public static void ParseOptionsListChanged (Gst.Message message, out Gst.Interfaces.MixerOptions options) {

View file

@ -8,7 +8,7 @@ namespace Gst.Interfaces {
using Gst.Interfaces; using Gst.Interfaces;
public static class NavigationEvent { public static class NavigationEvent {
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern int gst_navigation_event_get_type (IntPtr evnt); static extern int gst_navigation_event_get_type (IntPtr evnt);
public static Gst.Interfaces.NavigationEventType EventGetType (Gst.Event evnt) { public static Gst.Interfaces.NavigationEventType EventGetType (Gst.Event evnt) {
@ -17,7 +17,7 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern bool gst_navigation_event_parse_key_event (IntPtr evnt, out IntPtr key); static extern bool gst_navigation_event_parse_key_event (IntPtr evnt, out IntPtr key);
public static bool ParseKeyEvent (Gst.Event evnt, out string key) { public static bool ParseKeyEvent (Gst.Event evnt, out string key) {
@ -29,21 +29,21 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern bool gst_navigation_event_parse_mouse_button_event (IntPtr evnt, out int button, out double x, out double y); static extern bool gst_navigation_event_parse_mouse_button_event (IntPtr evnt, out int button, out double x, out double y);
public static bool ParseMouseButtonEvent (Gst.Event evnt, out int button, out double x, out double y) { public static bool ParseMouseButtonEvent (Gst.Event evnt, out int button, out double x, out double y) {
return gst_navigation_event_parse_mouse_button_event (evnt.Handle, out button, out x, out y); return gst_navigation_event_parse_mouse_button_event (evnt.Handle, out button, out x, out y);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern bool gst_navigation_event_parse_mouse_move_event (IntPtr evnt, out double x, out double y); static extern bool gst_navigation_event_parse_mouse_move_event (IntPtr evnt, out double x, out double y);
public static bool ParseMouseMoveEvent (Gst.Event evnt, out double x, out double y) { public static bool ParseMouseMoveEvent (Gst.Event evnt, out double x, out double y) {
return gst_navigation_event_parse_mouse_move_event (evnt.Handle, out x, out y); return gst_navigation_event_parse_mouse_move_event (evnt.Handle, out x, out y);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern bool gst_navigation_event_parse_command (IntPtr evnt, out int command); static extern bool gst_navigation_event_parse_command (IntPtr evnt, out int command);
public static bool ParseCommand (Gst.Event evnt, out Gst.Interfaces.NavigationCommand command) { public static bool ParseCommand (Gst.Event evnt, out Gst.Interfaces.NavigationCommand command) {

View file

@ -8,7 +8,7 @@ namespace Gst.Interfaces {
using Gst.Interfaces; using Gst.Interfaces;
public static class NavigationMessage { public static class NavigationMessage {
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern int gst_navigation_message_get_type (IntPtr message); static extern int gst_navigation_message_get_type (IntPtr message);
public static Gst.Interfaces.NavigationMessageType MessageGetType (Gst.Message message) { public static Gst.Interfaces.NavigationMessageType MessageGetType (Gst.Message message) {
@ -17,7 +17,7 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern IntPtr gst_navigation_message_new_mouse_over (IntPtr src, bool active); static extern IntPtr gst_navigation_message_new_mouse_over (IntPtr src, bool active);
public static Gst.Message NewMouseOver (Gst.Object src, bool active) { public static Gst.Message NewMouseOver (Gst.Object src, bool active) {
@ -25,14 +25,14 @@ namespace Gst.Interfaces {
return msg; return msg;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern bool gst_navigation_message_parse_mouse_over (IntPtr msg, out bool active); static extern bool gst_navigation_message_parse_mouse_over (IntPtr msg, out bool active);
public static bool ParseMouseOver (Gst.Message msg, out bool active) { public static bool ParseMouseOver (Gst.Message msg, out bool active) {
return gst_navigation_message_parse_mouse_over (msg.Handle, out active); return gst_navigation_message_parse_mouse_over (msg.Handle, out active);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern IntPtr gst_navigation_message_new_angles_changed (IntPtr src, uint cur_angle, uint n_angles); static extern IntPtr gst_navigation_message_new_angles_changed (IntPtr src, uint cur_angle, uint n_angles);
public static Gst.Message NewAnglesChanged (Gst.Object src, uint cur_angle, uint n_angles) { public static Gst.Message NewAnglesChanged (Gst.Object src, uint cur_angle, uint n_angles) {
@ -40,14 +40,14 @@ namespace Gst.Interfaces {
return msg; return msg;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern bool gst_navigation_message_parse_angles_changed (IntPtr msg, out uint cur_angle, out uint n_angles); static extern bool gst_navigation_message_parse_angles_changed (IntPtr msg, out uint cur_angle, out uint n_angles);
public static bool ParseMouseOver (Gst.Message msg, out uint cur_angle, out uint n_angles) { public static bool ParseMouseOver (Gst.Message msg, out uint cur_angle, out uint n_angles) {
return gst_navigation_message_parse_angles_changed (msg.Handle, out cur_angle, out n_angles); return gst_navigation_message_parse_angles_changed (msg.Handle, out cur_angle, out n_angles);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern IntPtr gst_navigation_message_new_commands_changed (IntPtr src); static extern IntPtr gst_navigation_message_new_commands_changed (IntPtr src);
public static Gst.Message NewCommandsChanged (Gst.Object src) { public static Gst.Message NewCommandsChanged (Gst.Object src) {

View file

@ -8,7 +8,7 @@ namespace Gst.Interfaces {
using Gst.Interfaces; using Gst.Interfaces;
public static class NavigationQuery { public static class NavigationQuery {
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern int gst_navigation_query_get_type (IntPtr query); static extern int gst_navigation_query_get_type (IntPtr query);
public static Gst.Interfaces.NavigationQueryType QueryGetType (Gst.Query query) { public static Gst.Interfaces.NavigationQueryType QueryGetType (Gst.Query query) {
@ -17,7 +17,7 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern IntPtr gst_navigation_query_new_commands (); static extern IntPtr gst_navigation_query_new_commands ();
public static Gst.Query NewCommands () { public static Gst.Query NewCommands () {
@ -25,7 +25,7 @@ namespace Gst.Interfaces {
return query; return query;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern void gst_navigation_query_set_commandsv (IntPtr query, uint n_commands, int[] cmds); static extern void gst_navigation_query_set_commandsv (IntPtr query, uint n_commands, int[] cmds);
public static void SetCommands (Gst.Query query, Gst.Interfaces.NavigationCommand[] cmds) { public static void SetCommands (Gst.Query query, Gst.Interfaces.NavigationCommand[] cmds) {
@ -39,9 +39,9 @@ namespace Gst.Interfaces {
gst_navigation_query_set_commandsv (query.Handle, (uint) raw_cmds.Length, raw_cmds); gst_navigation_query_set_commandsv (query.Handle, (uint) raw_cmds.Length, raw_cmds);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern bool gst_navigation_query_parse_commands_length (IntPtr query, out uint n_commands); static extern bool gst_navigation_query_parse_commands_length (IntPtr query, out uint n_commands);
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern bool gst_navigation_query_parse_commands_nth (IntPtr query, uint nth, out int cmd); static extern bool gst_navigation_query_parse_commands_nth (IntPtr query, uint nth, out int cmd);
public static bool ParseCommands (Gst.Query query, out Gst.Interfaces.NavigationCommand[] cmds) { public static bool ParseCommands (Gst.Query query, out Gst.Interfaces.NavigationCommand[] cmds) {
@ -64,7 +64,7 @@ namespace Gst.Interfaces {
return true; return true;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern IntPtr gst_navigation_query_new_angles (); static extern IntPtr gst_navigation_query_new_angles ();
public static Gst.Query NewAngles () { public static Gst.Query NewAngles () {
@ -72,7 +72,7 @@ namespace Gst.Interfaces {
return query; return query;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern void gst_navigation_query_set_angles (IntPtr query, uint cur_angle, uint n_angles); static extern void gst_navigation_query_set_angles (IntPtr query, uint cur_angle, uint n_angles);
public static void SetAngles (Gst.Query query, uint cur_angle, uint n_angles) { public static void SetAngles (Gst.Query query, uint cur_angle, uint n_angles) {
@ -82,7 +82,7 @@ namespace Gst.Interfaces {
gst_navigation_query_set_angles (query.Handle, cur_angle, n_angles); gst_navigation_query_set_angles (query.Handle, cur_angle, n_angles);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport("libgstinterfaces-0.10.dll") ]
static extern bool gst_navigation_query_parse_angles (IntPtr query, out uint cur_angle, out uint n_angles); static extern bool gst_navigation_query_parse_angles (IntPtr query, out uint cur_angle, out uint n_angles);
public static bool ParseAngles (Gst.Query query, out uint cur_angle, out uint n_angles) { public static bool ParseAngles (Gst.Query query, out uint cur_angle, out uint n_angles) {

View file

@ -58,9 +58,9 @@ public object Emit (string signal, params object[] parameters) {
return DynamicSignal.Emit (this, signal, parameters); return DynamicSignal.Emit (this, signal, parameters);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_object_sink (IntPtr raw); static extern void gst_object_sink (IntPtr raw);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_object_ref (IntPtr raw); static extern IntPtr gst_object_ref (IntPtr raw);
protected override IntPtr Raw { protected override IntPtr Raw {
@ -77,9 +77,9 @@ protected override IntPtr Raw {
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_object_set_parent (IntPtr raw, IntPtr parent); static extern bool gst_object_set_parent (IntPtr raw, IntPtr parent);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_object_get_parent (IntPtr raw); static extern IntPtr gst_object_get_parent (IntPtr raw);
public Gst.Object Parent { public Gst.Object Parent {
@ -127,7 +127,7 @@ public bool TryLock () {
return g_mutex_trylock (LockPtr); return g_mutex_trylock (LockPtr);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_object_check_uniqueness (IntPtr list, IntPtr name); static extern bool gst_object_check_uniqueness (IntPtr list, IntPtr name);
public static bool CheckUniqueness (Gst.Object[] objects, string name) { public static bool CheckUniqueness (Gst.Object[] objects, string name) {

View file

@ -1,6 +1,6 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_pad_get_pad_template_caps (IntPtr raw); static extern IntPtr gst_pad_get_pad_template_caps (IntPtr raw);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_caps_copy (IntPtr raw); static extern IntPtr gst_caps_copy (IntPtr raw);
public Gst.Caps PadTemplateCaps { public Gst.Caps PadTemplateCaps {
@ -11,28 +11,28 @@ public Gst.Caps PadTemplateCaps {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_remove_data_probe (IntPtr raw, uint handler_id); static extern void gst_pad_remove_data_probe (IntPtr raw, uint handler_id);
public void RemoveDataProbe (ulong handler_id) { public void RemoveDataProbe (ulong handler_id) {
gst_pad_remove_data_probe (Handle, (uint) handler_id); gst_pad_remove_data_probe (Handle, (uint) handler_id);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_remove_event_probe (IntPtr raw, uint handler_id); static extern void gst_pad_remove_event_probe (IntPtr raw, uint handler_id);
public void RemoveEventProbe (ulong handler_id) { public void RemoveEventProbe (ulong handler_id) {
gst_pad_remove_event_probe (Handle, (uint) handler_id); gst_pad_remove_event_probe (Handle, (uint) handler_id);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_remove_buffer_probe (IntPtr raw, uint handler_id); static extern void gst_pad_remove_buffer_probe (IntPtr raw, uint handler_id);
public void RemoveBufferProbe (ulong handler_id) { public void RemoveBufferProbe (ulong handler_id) {
gst_pad_remove_buffer_probe (Handle, (uint) handler_id); gst_pad_remove_buffer_probe (Handle, (uint) handler_id);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern int gst_pad_alloc_buffer (IntPtr raw, ulong offset, int size, IntPtr caps, out IntPtr buf); static extern int gst_pad_alloc_buffer (IntPtr raw, ulong offset, int size, IntPtr caps, out IntPtr buf);
public Gst.FlowReturn AllocBuffer (ulong offset, int size, Gst.Caps caps, out Gst.Buffer buf) { public Gst.FlowReturn AllocBuffer (ulong offset, int size, Gst.Caps caps, out Gst.Buffer buf) {
@ -43,7 +43,7 @@ public Gst.FlowReturn AllocBuffer (ulong offset, int size, Gst.Caps caps, out Gs
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern int gst_pad_alloc_buffer_and_set_caps (IntPtr raw, ulong offset, int size, IntPtr caps, out IntPtr buf); static extern int gst_pad_alloc_buffer_and_set_caps (IntPtr raw, ulong offset, int size, IntPtr caps, out IntPtr buf);
public Gst.FlowReturn AllocBufferAndSetCaps (ulong offset, int size, Gst.Caps caps, out Gst.Buffer buf) { public Gst.FlowReturn AllocBufferAndSetCaps (ulong offset, int size, Gst.Caps caps, out Gst.Buffer buf) {
@ -54,7 +54,7 @@ public Gst.FlowReturn AllocBufferAndSetCaps (ulong offset, int size, Gst.Caps ca
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_bufferalloc_function (IntPtr raw, GstSharp.PadBufferAllocFunctionNative bufalloc); static extern void gst_pad_set_bufferalloc_function (IntPtr raw, GstSharp.PadBufferAllocFunctionNative bufalloc);
public Gst.PadBufferAllocFunction BufferAllocFunction { public Gst.PadBufferAllocFunction BufferAllocFunction {
@ -68,7 +68,7 @@ public Gst.PadBufferAllocFunction BufferAllocFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_chain_function (IntPtr raw, GstSharp.PadChainFunctionNative chain); static extern void gst_pad_set_chain_function (IntPtr raw, GstSharp.PadChainFunctionNative chain);
public Gst.PadChainFunction ChainFunction { public Gst.PadChainFunction ChainFunction {
@ -82,7 +82,7 @@ public Gst.PadChainFunction ChainFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_checkgetrange_function (IntPtr raw, GstSharp.PadCheckGetRangeFunctionNative check); static extern void gst_pad_set_checkgetrange_function (IntPtr raw, GstSharp.PadCheckGetRangeFunctionNative check);
public Gst.PadCheckGetRangeFunction CheckGetRangeFunction { public Gst.PadCheckGetRangeFunction CheckGetRangeFunction {
@ -96,7 +96,7 @@ public Gst.PadCheckGetRangeFunction CheckGetRangeFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_getrange_function (IntPtr raw, GstSharp.PadGetRangeFunctionNative get); static extern void gst_pad_set_getrange_function (IntPtr raw, GstSharp.PadGetRangeFunctionNative get);
public Gst.PadGetRangeFunction GetRangeFunction { public Gst.PadGetRangeFunction GetRangeFunction {
@ -110,7 +110,7 @@ public Gst.PadGetRangeFunction GetRangeFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_event_function (IntPtr raw, GstSharp.PadEventFunctionNative evnt); static extern void gst_pad_set_event_function (IntPtr raw, GstSharp.PadEventFunctionNative evnt);
public Gst.PadEventFunction EventFunction { public Gst.PadEventFunction EventFunction {
@ -124,7 +124,7 @@ public Gst.PadEventFunction EventFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_link_function (IntPtr raw, GstSharp.PadLinkFunctionNative link); static extern void gst_pad_set_link_function (IntPtr raw, GstSharp.PadLinkFunctionNative link);
public Gst.PadLinkFunction LinkFunction { public Gst.PadLinkFunction LinkFunction {
@ -138,7 +138,7 @@ public Gst.PadLinkFunction LinkFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_unlink_function (IntPtr raw, GstSharp.PadUnlinkFunctionNative unlink); static extern void gst_pad_set_unlink_function (IntPtr raw, GstSharp.PadUnlinkFunctionNative unlink);
public Gst.PadUnlinkFunction UnlinkFunction { public Gst.PadUnlinkFunction UnlinkFunction {
@ -152,7 +152,7 @@ public Gst.PadUnlinkFunction UnlinkFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_acceptcaps_function (IntPtr raw, GstSharp.PadAcceptCapsFunctionNative acceptcaps); static extern void gst_pad_set_acceptcaps_function (IntPtr raw, GstSharp.PadAcceptCapsFunctionNative acceptcaps);
public Gst.PadAcceptCapsFunction AcceptCapsFunction { public Gst.PadAcceptCapsFunction AcceptCapsFunction {
@ -166,7 +166,7 @@ public Gst.PadAcceptCapsFunction AcceptCapsFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_getcaps_function (IntPtr raw, GstSharp.PadGetCapsFunctionNative getcaps); static extern void gst_pad_set_getcaps_function (IntPtr raw, GstSharp.PadGetCapsFunctionNative getcaps);
public Gst.PadGetCapsFunction GetCapsFunction { public Gst.PadGetCapsFunction GetCapsFunction {
@ -180,7 +180,7 @@ public Gst.PadGetCapsFunction GetCapsFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_setcaps_function (IntPtr raw, GstSharp.PadSetCapsFunctionNative setcaps); static extern void gst_pad_set_setcaps_function (IntPtr raw, GstSharp.PadSetCapsFunctionNative setcaps);
public Gst.PadSetCapsFunction SetCapsFunction { public Gst.PadSetCapsFunction SetCapsFunction {
@ -194,7 +194,7 @@ public Gst.PadSetCapsFunction SetCapsFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_fixatecaps_function (IntPtr raw, GstSharp.PadFixateCapsFunctionNative fixatecaps); static extern void gst_pad_set_fixatecaps_function (IntPtr raw, GstSharp.PadFixateCapsFunctionNative fixatecaps);
public Gst.PadFixateCapsFunction FixateCapsFunction { public Gst.PadFixateCapsFunction FixateCapsFunction {
@ -208,7 +208,7 @@ public Gst.PadFixateCapsFunction FixateCapsFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_activate_function (IntPtr raw, GstSharp.PadActivateFunctionNative activate); static extern void gst_pad_set_activate_function (IntPtr raw, GstSharp.PadActivateFunctionNative activate);
public Gst.PadActivateFunction ActivateFunction { public Gst.PadActivateFunction ActivateFunction {
@ -222,7 +222,7 @@ public Gst.PadActivateFunction ActivateFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_activatepull_function (IntPtr raw, GstSharp.PadActivateModeFunctionNative activatepull); static extern void gst_pad_set_activatepull_function (IntPtr raw, GstSharp.PadActivateModeFunctionNative activatepull);
public Gst.PadActivateModeFunction ActivatePullFunction { public Gst.PadActivateModeFunction ActivatePullFunction {
@ -236,7 +236,7 @@ public Gst.PadActivateModeFunction ActivatePullFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_activatepush_function (IntPtr raw, GstSharp.PadActivateModeFunctionNative activatepush); static extern void gst_pad_set_activatepush_function (IntPtr raw, GstSharp.PadActivateModeFunctionNative activatepush);
public Gst.PadActivateModeFunction ActivatePushFunction { public Gst.PadActivateModeFunction ActivatePushFunction {
@ -250,9 +250,9 @@ public Gst.PadActivateModeFunction ActivatePushFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern int gst_pad_push (IntPtr raw, IntPtr buffer); static extern int gst_pad_push (IntPtr raw, IntPtr buffer);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_mini_object_ref (IntPtr raw); static extern IntPtr gst_mini_object_ref (IntPtr raw);
public Gst.FlowReturn Push (Gst.Buffer buffer) { public Gst.FlowReturn Push (Gst.Buffer buffer) {
@ -261,7 +261,7 @@ public Gst.FlowReturn Push (Gst.Buffer buffer) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_pad_push_event (IntPtr raw, IntPtr evnt); static extern bool gst_pad_push_event (IntPtr raw, IntPtr evnt);
public bool PushEvent (Gst.Event evnt) { public bool PushEvent (Gst.Event evnt) {
@ -270,7 +270,7 @@ public bool PushEvent (Gst.Event evnt) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern int gst_pad_pull_range (IntPtr raw, ulong offset, uint size, out IntPtr buffer); static extern int gst_pad_pull_range (IntPtr raw, ulong offset, uint size, out IntPtr buffer);
public Gst.FlowReturn PullRange (ulong offset, uint size, out Gst.Buffer buffer) { public Gst.FlowReturn PullRange (ulong offset, uint size, out Gst.Buffer buffer) {
@ -282,7 +282,7 @@ public Gst.FlowReturn PullRange (ulong offset, uint size, out Gst.Buffer buffer)
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_pad_send_event (IntPtr raw, IntPtr evnt); static extern bool gst_pad_send_event (IntPtr raw, IntPtr evnt);
public bool SendEvent (Gst.Event evnt) { public bool SendEvent (Gst.Event evnt) {
@ -291,7 +291,7 @@ public bool SendEvent (Gst.Event evnt) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_pad_event_default (IntPtr raw, IntPtr evnt); static extern bool gst_pad_event_default (IntPtr raw, IntPtr evnt);
public bool EventDefault (Gst.Event evnt) { public bool EventDefault (Gst.Event evnt) {
@ -300,7 +300,7 @@ public bool EventDefault (Gst.Event evnt) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_query_function (IntPtr raw, GstSharp.PadQueryFunctionNative query); static extern void gst_pad_set_query_function (IntPtr raw, GstSharp.PadQueryFunctionNative query);
public Gst.PadQueryFunction QueryFunction { public Gst.PadQueryFunction QueryFunction {
@ -314,7 +314,7 @@ public Gst.PadQueryFunction QueryFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_query_type_function (IntPtr raw, GstSharp.PadQueryTypeFunctionNative query); static extern void gst_pad_set_query_type_function (IntPtr raw, GstSharp.PadQueryTypeFunctionNative query);
public Gst.PadQueryTypeFunction QueryTypeFunction { public Gst.PadQueryTypeFunction QueryTypeFunction {
@ -328,7 +328,7 @@ public Gst.PadQueryTypeFunction QueryTypeFunction {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_pad_get_query_types (IntPtr raw); static extern IntPtr gst_pad_get_query_types (IntPtr raw);
public Gst.QueryType[] QueryTypes { public Gst.QueryType[] QueryTypes {
@ -354,7 +354,7 @@ public Gst.QueryType[] QueryTypes {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_pad_get_query_types_default (IntPtr raw); static extern IntPtr gst_pad_get_query_types_default (IntPtr raw);
static Gst.QueryType[] GetQueryTypesDefault (Gst.Pad pad) { static Gst.QueryType[] GetQueryTypesDefault (Gst.Pad pad) {
@ -378,7 +378,7 @@ static Gst.QueryType[] GetQueryTypesDefault (Gst.Pad pad) {
return (Gst.QueryType[]) result.ToArray (typeof (Gst.QueryType)); return (Gst.QueryType[]) result.ToArray (typeof (Gst.QueryType));
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern int gst_pad_chain (IntPtr raw, IntPtr buffer); static extern int gst_pad_chain (IntPtr raw, IntPtr buffer);
public Gst.FlowReturn Chain (Gst.Buffer buffer) { public Gst.FlowReturn Chain (Gst.Buffer buffer) {
@ -431,9 +431,9 @@ public bool StreamTryLock () {
return g_static_rec_mutex_trylock (StreamLockPtr); return g_static_rec_mutex_trylock (StreamLockPtr);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_pad_iterate_internal_links (IntPtr pad); static extern IntPtr gst_pad_iterate_internal_links (IntPtr pad);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_pad_iterate_internal_links_default (IntPtr pad); static extern IntPtr gst_pad_iterate_internal_links_default (IntPtr pad);

View file

@ -1,7 +1,7 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_pad_template_new (IntPtr name_template, int direction, int presence, IntPtr caps); static extern IntPtr gst_pad_template_new (IntPtr name_template, int direction, int presence, IntPtr caps);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_caps_ref (IntPtr handle); static extern IntPtr gst_caps_ref (IntPtr handle);
public PadTemplate (string name_template, Gst.PadDirection direction, Gst.PadPresence presence, Gst.Caps caps) : base (IntPtr.Zero) { public PadTemplate (string name_template, Gst.PadDirection direction, Gst.PadPresence presence, Gst.Caps caps) : base (IntPtr.Zero) {

View file

@ -1,4 +1,4 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_plugin_load_file (IntPtr filename, out IntPtr gerror); static extern IntPtr gst_plugin_load_file (IntPtr filename, out IntPtr gerror);
public static Gst.Plugin LoadFile (string filename) { public static Gst.Plugin LoadFile (string filename) {

View file

@ -29,7 +29,7 @@ namespace Gst {
[DllImport ("libgobject-2.0-0.dll") ] [DllImport ("libgobject-2.0-0.dll") ]
static extern IntPtr g_type_default_interface_ref (IntPtr type); static extern IntPtr g_type_default_interface_ref (IntPtr type);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_preset_get_type(); static extern IntPtr gst_preset_get_type();
static PresetDefault () { static PresetDefault () {

View file

@ -2,7 +2,7 @@ public Query (GLib.Value val) : base (val) { }
private Gst.Structure cached_structure = null; private Gst.Structure cached_structure = null;
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_get_structure (IntPtr raw); static extern IntPtr gst_query_get_structure (IntPtr raw);
public Gst.Structure Structure { public Gst.Structure Structure {
@ -31,7 +31,7 @@ public string TypeName {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_application (QueryType type, IntPtr structure); static extern IntPtr gst_query_new_application (QueryType type, IntPtr structure);
public static Query NewApplication (Gst.QueryType type, Structure structure) { public static Query NewApplication (Gst.QueryType type, Structure structure) {
@ -42,7 +42,7 @@ public static Query NewApplication (Gst.QueryType type, Structure structure) {
return query; return query;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_convert (Gst.Format src_format, long value, Gst.Format dest_format); static extern IntPtr gst_query_new_convert (Gst.Format src_format, long value, Gst.Format dest_format);
public static Query NewConvert (Gst.Format src_format, long value, Gst.Format dest_format) { public static Query NewConvert (Gst.Format src_format, long value, Gst.Format dest_format) {
@ -51,7 +51,7 @@ public static Query NewConvert (Gst.Format src_format, long value, Gst.Format de
return query; return query;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_convert (IntPtr query, Gst.Format src_format, long src_value, Gst.Format dest_format, long dest_value); static extern void gst_query_set_convert (IntPtr query, Gst.Format src_format, long src_value, Gst.Format dest_format, long dest_value);
public void SetConvert (Gst.Format src_format, long src_value, Gst.Format dest_format, long dest_value) { public void SetConvert (Gst.Format src_format, long src_value, Gst.Format dest_format, long dest_value) {
@ -63,7 +63,7 @@ public void SetConvert (Gst.Format src_format, long src_value, Gst.Format dest_f
gst_query_set_convert (Handle, src_format, src_value, dest_format, dest_value); gst_query_set_convert (Handle, src_format, src_value, dest_format, dest_value);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_convert (IntPtr query, out Gst.Format src_format, out long src_value, out Gst.Format dest_format, out long dest_value); static extern void gst_query_parse_convert (IntPtr query, out Gst.Format src_format, out long src_value, out Gst.Format dest_format, out long dest_value);
public void ParseConvert (out Gst.Format src_format, out long src_value, out Gst.Format dest_format, out long dest_value) { public void ParseConvert (out Gst.Format src_format, out long src_value, out Gst.Format dest_format, out long dest_value) {
@ -73,7 +73,7 @@ public void ParseConvert (out Gst.Format src_format, out long src_value, out Gst
gst_query_parse_convert (Handle, out src_format, out src_value, out dest_format, out dest_value); gst_query_parse_convert (Handle, out src_format, out src_value, out dest_format, out dest_value);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_position (Gst.Format format); static extern IntPtr gst_query_new_position (Gst.Format format);
public static Query NewPosition (Gst.Format format) { public static Query NewPosition (Gst.Format format) {
@ -82,7 +82,7 @@ public static Query NewPosition (Gst.Format format) {
return query; return query;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_position (IntPtr query, Gst.Format format, long cur); static extern void gst_query_set_position (IntPtr query, Gst.Format format, long cur);
public void SetPosition (Gst.Format format, long cur) { public void SetPosition (Gst.Format format, long cur) {
@ -94,7 +94,7 @@ public void SetPosition (Gst.Format format, long cur) {
gst_query_set_position (Handle, format, cur); gst_query_set_position (Handle, format, cur);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_position (IntPtr query, out Gst.Format format, out long cur); static extern void gst_query_parse_position (IntPtr query, out Gst.Format format, out long cur);
public void ParsePosition (out Gst.Format format, out long cur) { public void ParsePosition (out Gst.Format format, out long cur) {
@ -104,7 +104,7 @@ public void ParsePosition (out Gst.Format format, out long cur) {
gst_query_parse_position (Handle, out format, out cur); gst_query_parse_position (Handle, out format, out cur);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_duration (Gst.Format format); static extern IntPtr gst_query_new_duration (Gst.Format format);
public static Query NewDuration (Gst.Format format) { public static Query NewDuration (Gst.Format format) {
@ -113,7 +113,7 @@ public static Query NewDuration (Gst.Format format) {
return query; return query;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_duration (IntPtr query, Gst.Format format, long duration); static extern void gst_query_set_duration (IntPtr query, Gst.Format format, long duration);
public void SetDuration (Gst.Format format, long duration) { public void SetDuration (Gst.Format format, long duration) {
@ -125,7 +125,7 @@ public void SetDuration (Gst.Format format, long duration) {
gst_query_set_duration (Handle, format, duration); gst_query_set_duration (Handle, format, duration);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_duration (IntPtr query, out Gst.Format format, out long duration); static extern void gst_query_parse_duration (IntPtr query, out Gst.Format format, out long duration);
public void ParseDuration (out Gst.Format format, out long duration) { public void ParseDuration (out Gst.Format format, out long duration) {
@ -135,7 +135,7 @@ public void ParseDuration (out Gst.Format format, out long duration) {
gst_query_parse_duration (Handle, out format, out duration); gst_query_parse_duration (Handle, out format, out duration);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_latency (); static extern IntPtr gst_query_new_latency ();
public static Query NewLatency() { public static Query NewLatency() {
@ -144,7 +144,7 @@ public static Query NewLatency() {
return query; return query;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_latency (IntPtr query, bool live, ulong min, ulong max); static extern void gst_query_set_latency (IntPtr query, bool live, ulong min, ulong max);
public void SetLatency (bool live, ulong min, ulong max) { public void SetLatency (bool live, ulong min, ulong max) {
@ -156,7 +156,7 @@ public void SetLatency (bool live, ulong min, ulong max) {
gst_query_set_latency (Handle, live, min, max); gst_query_set_latency (Handle, live, min, max);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_latency (IntPtr query, out bool live, out ulong min, out ulong max); static extern void gst_query_parse_latency (IntPtr query, out bool live, out ulong min, out ulong max);
public void ParseLatency (out bool live, out ulong min, out ulong max) { public void ParseLatency (out bool live, out ulong min, out ulong max) {
@ -166,7 +166,7 @@ public void ParseLatency (out bool live, out ulong min, out ulong max) {
gst_query_parse_latency (Handle, out live, out min, out max); gst_query_parse_latency (Handle, out live, out min, out max);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_seeking (Gst.Format format); static extern IntPtr gst_query_new_seeking (Gst.Format format);
public static Query NewSeeking (Gst.Format format) { public static Query NewSeeking (Gst.Format format) {
@ -175,7 +175,7 @@ public static Query NewSeeking (Gst.Format format) {
return query; return query;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_seeking (IntPtr query, Gst.Format format, bool seekable, long segment_start, long segment_stop); static extern void gst_query_set_seeking (IntPtr query, Gst.Format format, bool seekable, long segment_start, long segment_stop);
public void SetSeeking (Gst.Format format, bool seekable, long segment_start, long segment_stop) { public void SetSeeking (Gst.Format format, bool seekable, long segment_start, long segment_stop) {
@ -187,7 +187,7 @@ public void SetSeeking (Gst.Format format, bool seekable, long segment_start, lo
gst_query_set_seeking (Handle, format, seekable, segment_start, segment_stop); gst_query_set_seeking (Handle, format, seekable, segment_start, segment_stop);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_seeking (IntPtr query, out Gst.Format format, out bool seekable, out long segment_start, out long segment_stop); static extern void gst_query_parse_seeking (IntPtr query, out Gst.Format format, out bool seekable, out long segment_start, out long segment_stop);
public void ParseSeeking (out Gst.Format format, out bool seekable, out long segment_start, out long segment_stop) { public void ParseSeeking (out Gst.Format format, out bool seekable, out long segment_start, out long segment_stop) {
@ -197,7 +197,7 @@ public void ParseSeeking (out Gst.Format format, out bool seekable, out long seg
gst_query_parse_seeking (Handle, out format, out seekable, out segment_start, out segment_stop); gst_query_parse_seeking (Handle, out format, out seekable, out segment_start, out segment_stop);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_formats (); static extern IntPtr gst_query_new_formats ();
public static Query NewFormats() { public static Query NewFormats() {
@ -217,9 +217,9 @@ public void SetFormats (Gst.Format[] formats) {
s["formats"] = l; s["formats"] = l;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_formats_length (IntPtr query, out uint n_formats); static extern void gst_query_parse_formats_length (IntPtr query, out uint n_formats);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_formats_nth (IntPtr query, uint nth, out Gst.Format format); static extern void gst_query_parse_formats_nth (IntPtr query, uint nth, out Gst.Format format);
public void ParseFormats (out Gst.Format[] formats) { public void ParseFormats (out Gst.Format[] formats) {
@ -235,7 +235,7 @@ public void ParseFormats (out Gst.Format[] formats) {
gst_query_parse_formats_nth (Handle, i, out formats[i]); gst_query_parse_formats_nth (Handle, i, out formats[i]);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_segment (Gst.Format format); static extern IntPtr gst_query_new_segment (Gst.Format format);
public static Query NewSegment (Gst.Format format) { public static Query NewSegment (Gst.Format format) {
@ -244,7 +244,7 @@ public static Query NewSegment (Gst.Format format) {
return query; return query;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_segment (IntPtr query, double rate, Gst.Format format, long segment_start, long segment_stop); static extern void gst_query_set_segment (IntPtr query, double rate, Gst.Format format, long segment_start, long segment_stop);
public void SetSegment (double rate, Gst.Format format, long segment_start, long segment_stop) { public void SetSegment (double rate, Gst.Format format, long segment_start, long segment_stop) {
@ -256,7 +256,7 @@ public void SetSegment (double rate, Gst.Format format, long segment_start, long
gst_query_set_segment (Handle, rate, format, segment_start, segment_stop); gst_query_set_segment (Handle, rate, format, segment_start, segment_stop);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_segment (IntPtr query, out double rate, out Gst.Format format, out long segment_start, out long segment_stop); static extern void gst_query_parse_segment (IntPtr query, out double rate, out Gst.Format format, out long segment_start, out long segment_stop);
public void ParseSegment (out double rate, out Gst.Format format, out long segment_start, out long segment_stop) { public void ParseSegment (out double rate, out Gst.Format format, out long segment_start, out long segment_stop) {
@ -266,7 +266,7 @@ public void ParseSegment (out double rate, out Gst.Format format, out long segme
gst_query_parse_segment (Handle, out rate, out format, out segment_start, out segment_stop); gst_query_parse_segment (Handle, out rate, out format, out segment_start, out segment_stop);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_buffering (Gst.Format format); static extern IntPtr gst_query_new_buffering (Gst.Format format);
public static Query NewBuffering (Gst.Format format) { public static Query NewBuffering (Gst.Format format) {
@ -275,7 +275,7 @@ public static Query NewBuffering (Gst.Format format) {
return query; return query;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_buffering_percent (IntPtr query, bool busy, int percent); static extern void gst_query_set_buffering_percent (IntPtr query, bool busy, int percent);
public void SetBufferingPercent (bool busy, int percent) { public void SetBufferingPercent (bool busy, int percent) {
@ -287,7 +287,7 @@ public void SetBufferingPercent (bool busy, int percent) {
gst_query_set_buffering_percent (Handle, busy, percent); gst_query_set_buffering_percent (Handle, busy, percent);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_buffering_percent (IntPtr query, out bool busy, out int percent); static extern void gst_query_parse_buffering_percent (IntPtr query, out bool busy, out int percent);
public void ParseBufferingPercent (out bool busy, out int percent) { public void ParseBufferingPercent (out bool busy, out int percent) {
@ -297,7 +297,7 @@ public void ParseBufferingPercent (out bool busy, out int percent) {
gst_query_parse_buffering_percent (Handle, out busy, out percent); gst_query_parse_buffering_percent (Handle, out busy, out percent);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_buffering_stats (IntPtr query, Gst.BufferingMode mode, int avg_in, int avg_out, long buffering_left); static extern void gst_query_set_buffering_stats (IntPtr query, Gst.BufferingMode mode, int avg_in, int avg_out, long buffering_left);
public void SetBufferingStats (Gst.BufferingMode mode, int avg_in, int avg_out, long buffering_left) { public void SetBufferingStats (Gst.BufferingMode mode, int avg_in, int avg_out, long buffering_left) {
@ -309,7 +309,7 @@ public void SetBufferingStats (Gst.BufferingMode mode, int avg_in, int avg_out,
gst_query_set_buffering_stats (Handle, mode, avg_in, avg_out, buffering_left); gst_query_set_buffering_stats (Handle, mode, avg_in, avg_out, buffering_left);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_buffering_stats (IntPtr query, out Gst.BufferingMode mode, out int avg_in, out int avg_out, out long buffering_left); static extern void gst_query_parse_buffering_stats (IntPtr query, out Gst.BufferingMode mode, out int avg_in, out int avg_out, out long buffering_left);
public void ParseBufferingStats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out long buffering_left) { public void ParseBufferingStats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out long buffering_left) {
@ -319,7 +319,7 @@ public void ParseBufferingStats (out Gst.BufferingMode mode, out int avg_in, out
gst_query_parse_buffering_stats (Handle, out mode, out avg_in, out avg_out, out buffering_left); gst_query_parse_buffering_stats (Handle, out mode, out avg_in, out avg_out, out buffering_left);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_buffering_range (IntPtr query, Gst.Format format, long start, long stop, long estimated_total); static extern void gst_query_set_buffering_range (IntPtr query, Gst.Format format, long start, long stop, long estimated_total);
public void SetBufferingRange (Gst.Format format, long start, long stop, long estimated_total) { public void SetBufferingRange (Gst.Format format, long start, long stop, long estimated_total) {
@ -331,7 +331,7 @@ public void SetBufferingRange (Gst.Format format, long start, long stop, long es
gst_query_set_buffering_range (Handle, format, start, stop, estimated_total); gst_query_set_buffering_range (Handle, format, start, stop, estimated_total);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_buffering_range (IntPtr query, out Gst.Format format, out long start, out long stop, out long estimated_total); static extern void gst_query_parse_buffering_range (IntPtr query, out Gst.Format format, out long start, out long stop, out long estimated_total);
public void ParseBufferingRange (out Gst.Format format, out long start, out long stop, out long estimated_total) { public void ParseBufferingRange (out Gst.Format format, out long start, out long stop, out long estimated_total) {
@ -341,7 +341,7 @@ public void ParseBufferingRange (out Gst.Format format, out long start, out long
gst_query_parse_buffering_range (Handle, out format, out start, out stop, out estimated_total); gst_query_parse_buffering_range (Handle, out format, out start, out stop, out estimated_total);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_query_new_uri (); static extern IntPtr gst_query_new_uri ();
public static Query NewUri() { public static Query NewUri() {
@ -350,7 +350,7 @@ public static Query NewUri() {
return query; return query;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_set_uri (IntPtr query, IntPtr uri); static extern void gst_query_set_uri (IntPtr query, IntPtr uri);
public void SetUri (string uri) { public void SetUri (string uri) {
@ -364,7 +364,7 @@ public void SetUri (string uri) {
GLib.Marshaller.Free (raw_string); GLib.Marshaller.Free (raw_string);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_query_parse_uri (IntPtr query, out IntPtr uri); static extern void gst_query_parse_uri (IntPtr query, out IntPtr uri);
public void ParseUri (out string uri) { public void ParseUri (out string uri) {

View file

@ -1,6 +1,6 @@
internal bool FreeNative = true; internal bool FreeNative = true;
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_structure_free (IntPtr raw); static extern void gst_structure_free (IntPtr raw);
protected override void Free (IntPtr raw) { protected override void Free (IntPtr raw) {
@ -30,10 +30,10 @@ class FinalizerInfo {
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler)); GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_structure_get_name (IntPtr raw); static extern IntPtr gst_structure_get_name (IntPtr raw);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_structure_set_name (IntPtr raw, IntPtr name); static extern void gst_structure_set_name (IntPtr raw, IntPtr name);
public string Name { public string Name {
@ -52,7 +52,7 @@ public string Name {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_structure_set_value (IntPtr raw, IntPtr fieldname, IntPtr value); static extern void gst_structure_set_value (IntPtr raw, IntPtr fieldname, IntPtr value);
public void SetValue (string fieldname, GLib.Value value) { public void SetValue (string fieldname, GLib.Value value) {
@ -67,7 +67,7 @@ public void SetValue (string fieldname, GLib.Value value) {
Marshal.FreeHGlobal (native_value); Marshal.FreeHGlobal (native_value);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_structure_fixate_field_boolean (IntPtr raw, IntPtr field_name, bool target); static extern bool gst_structure_fixate_field_boolean (IntPtr raw, IntPtr field_name, bool target);
public bool FixateFieldBoolean (string field_name, bool target) { public bool FixateFieldBoolean (string field_name, bool target) {
@ -81,7 +81,7 @@ public bool FixateFieldBoolean (string field_name, bool target) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_structure_remove_all_fields (IntPtr raw); static extern void gst_structure_remove_all_fields (IntPtr raw);
public void RemoveAllFields() { public void RemoveAllFields() {
@ -91,7 +91,7 @@ public void RemoveAllFields() {
gst_structure_remove_all_fields (Handle); gst_structure_remove_all_fields (Handle);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_structure_remove_field (IntPtr raw, IntPtr fieldname); static extern void gst_structure_remove_field (IntPtr raw, IntPtr fieldname);
public void RemoveField (string fieldname) { public void RemoveField (string fieldname) {
@ -103,7 +103,7 @@ public void RemoveField (string fieldname) {
GLib.Marshaller.Free (native_fieldname); GLib.Marshaller.Free (native_fieldname);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_structure_fixate_field_nearest_double (IntPtr raw, IntPtr field_name, double target); static extern bool gst_structure_fixate_field_nearest_double (IntPtr raw, IntPtr field_name, double target);
public bool FixateFieldNearestDouble (string field_name, double target) { public bool FixateFieldNearestDouble (string field_name, double target) {
@ -117,7 +117,7 @@ public bool FixateFieldNearestDouble (string field_name, double target) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_structure_fixate_field_nearest_int (IntPtr raw, IntPtr field_name, int target); static extern bool gst_structure_fixate_field_nearest_int (IntPtr raw, IntPtr field_name, int target);
public bool FixateFieldNearestInt (string field_name, int target) { public bool FixateFieldNearestInt (string field_name, int target) {
@ -131,7 +131,7 @@ public bool FixateFieldNearestInt (string field_name, int target) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_structure_fixate_field_nearest_fraction (IntPtr raw, IntPtr field_name, int target_numerator, int target_denominator); static extern bool gst_structure_fixate_field_nearest_fraction (IntPtr raw, IntPtr field_name, int target_numerator, int target_denominator);
public bool FixateFieldNearestFraction (string field_name, int target_numerator, int target_denominator) { public bool FixateFieldNearestFraction (string field_name, int target_numerator, int target_denominator) {
@ -212,7 +212,7 @@ public static Structure FromString (string structure) {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_structure_from_string (IntPtr structure, IntPtr end); private static extern IntPtr gst_structure_from_string (IntPtr structure, IntPtr end);
public bool FixateFieldNearestFraction (string field_name, Fraction target) { public bool FixateFieldNearestFraction (string field_name, Fraction target) {

View file

@ -9,14 +9,14 @@ public static void Register (string name, Gst.TagFlags flag, System.Type type, s
Register (name, flag, gt, nick, blurb, func); Register (name, flag, gt, nick, blurb, func);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_tag_merge_strings_with_comma (out GLib.Value dest, ref GLib.Value src); static extern void gst_tag_merge_strings_with_comma (out GLib.Value dest, ref GLib.Value src);
public static void MergeStringsWithComma (out GLib.Value dest, ref GLib.Value src) { public static void MergeStringsWithComma (out GLib.Value dest, ref GLib.Value src) {
gst_tag_merge_strings_with_comma (out dest, ref src); gst_tag_merge_strings_with_comma (out dest, ref src);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern void gst_tag_merge_use_first (out GLib.Value dest, ref GLib.Value src); static extern void gst_tag_merge_use_first (out GLib.Value dest, ref GLib.Value src);
public static void MergeUseFirst (out GLib.Value dest, ref GLib.Value src) { public static void MergeUseFirst (out GLib.Value dest, ref GLib.Value src) {

View file

@ -1,4 +1,4 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_structure_to_string (IntPtr handle); static extern IntPtr gst_structure_to_string (IntPtr handle);
public override string ToString () { public override string ToString () {
@ -7,7 +7,7 @@ public override string ToString () {
return ret; return ret;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern int gst_structure_n_fields (IntPtr raw); static extern int gst_structure_n_fields (IntPtr raw);
public int Size { public int Size {
@ -18,9 +18,9 @@ public int Size {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_tag_list_copy_value (ref GLib.Value dest, IntPtr list, IntPtr tag); static extern bool gst_tag_list_copy_value (ref GLib.Value dest, IntPtr list, IntPtr tag);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_tag_list_get_value_index (IntPtr raw, IntPtr tag, uint index); static extern IntPtr gst_tag_list_get_value_index (IntPtr raw, IntPtr tag, uint index);
public object this[string tag, uint index] { public object this[string tag, uint index] {
@ -84,7 +84,7 @@ public void Add (Gst.TagMergeMode mode, params object[] parameters) {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_structure_nth_field_name (IntPtr raw, uint index); static extern IntPtr gst_structure_nth_field_name (IntPtr raw, uint index);
private string NthFieldName (uint index) { private string NthFieldName (uint index) {
@ -103,7 +103,7 @@ public string[] Tags {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_structure_get_value (IntPtr raw, IntPtr fieldname); static extern IntPtr gst_structure_get_value (IntPtr raw, IntPtr fieldname);
public Gst.List GetTag (string tag) { public Gst.List GetTag (string tag) {

View file

@ -12,7 +12,7 @@ public Gst.Fraction Framerate {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_value_set_fraction (IntPtr v, int numerator, int denominator); private static extern void gst_value_set_fraction (IntPtr v, int numerator, int denominator);
public TunerNorm (string label, Gst.Fraction framerate) { public TunerNorm (string label, Gst.Fraction framerate) {

View file

@ -1,4 +1,4 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern IntPtr gst_type_find_peek (IntPtr raw, long offset, uint size); static extern IntPtr gst_type_find_peek (IntPtr raw, long offset, uint size);
public byte[] Peek (long offset, uint size) { public byte[] Peek (long offset, uint size) {

View file

@ -1,4 +1,4 @@
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
static extern bool gst_type_find_register (IntPtr plugin, IntPtr name, uint rank, GstSharp.TypeFindFunctionNative func, IntPtr[] extensions, IntPtr possible_caps, IntPtr data, IntPtr data_notify); static extern bool gst_type_find_register (IntPtr plugin, IntPtr name, uint rank, GstSharp.TypeFindFunctionNative func, IntPtr[] extensions, IntPtr possible_caps, IntPtr data, IntPtr data_notify);
public static bool Register (Gst.Plugin plugin, string name, uint rank, Gst.TypeFindFunction func, string[] extensions, Gst.Caps possible_caps) { public static bool Register (Gst.Plugin plugin, string name, uint rank, Gst.TypeFindFunction func, string[] extensions, Gst.Caps possible_caps) {

View file

@ -114,13 +114,13 @@ namespace Gst {
return new Fraction (a.Numerator * b.Denominator, a.Denominator * b.Numerator); return new Fraction (a.Numerator * b.Denominator, a.Denominator * b.Numerator);
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_value_set_fraction (ref GLib.Value v, int numerator, int denominator); private static extern void gst_value_set_fraction (ref GLib.Value v, int numerator, int denominator);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern int gst_value_get_fraction_numerator (ref GLib.Value v); private static extern int gst_value_get_fraction_numerator (ref GLib.Value v);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern int gst_value_get_fraction_denominator (ref GLib.Value v); private static extern int gst_value_get_fraction_denominator (ref GLib.Value v);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_fraction_get_type (); private static extern IntPtr gst_fraction_get_type ();
} }
@ -162,13 +162,13 @@ namespace Gst {
return val; return val;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_double_range_get_type (); private static extern IntPtr gst_double_range_get_type ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_value_set_double_range (ref GLib.Value v, double min, double max); private static extern void gst_value_set_double_range (ref GLib.Value v, double min, double max);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern double gst_value_get_double_range_min (ref GLib.Value v); private static extern double gst_value_get_double_range_min (ref GLib.Value v);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern double gst_value_get_double_range_max (ref GLib.Value v); private static extern double gst_value_get_double_range_max (ref GLib.Value v);
} }
@ -210,13 +210,13 @@ namespace Gst {
return val; return val;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_int_range_get_type (); private static extern IntPtr gst_int_range_get_type ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_value_set_int_range (ref GLib.Value v, int min, int max); private static extern void gst_value_set_int_range (ref GLib.Value v, int min, int max);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern int gst_value_get_int_range_min (ref GLib.Value v); private static extern int gst_value_get_int_range_min (ref GLib.Value v);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern int gst_value_get_int_range_max (ref GLib.Value v); private static extern int gst_value_get_int_range_max (ref GLib.Value v);
} }
@ -276,13 +276,13 @@ namespace Gst {
return val; return val;
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_fraction_range_get_type (); private static extern IntPtr gst_fraction_range_get_type ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_value_set_fraction_range (ref GLib.Value v, ref GLib.Value min, ref GLib.Value max); private static extern void gst_value_set_fraction_range (ref GLib.Value v, ref GLib.Value min, ref GLib.Value max);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_value_get_fraction_range_min (ref GLib.Value v); private static extern IntPtr gst_value_get_fraction_range_min (ref GLib.Value v);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_value_get_fraction_range_max (ref GLib.Value v); private static extern IntPtr gst_value_get_fraction_range_max (ref GLib.Value v);
} }
@ -352,11 +352,11 @@ namespace Gst {
return fourcc.ToString (); return fourcc.ToString ();
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_fourcc_get_type (); private static extern IntPtr gst_fourcc_get_type ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_value_set_fourcc (ref GLib.Value v, uint fourcc); private static extern void gst_value_set_fourcc (ref GLib.Value v, uint fourcc);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern uint gst_value_get_fourcc (ref GLib.Value v); private static extern uint gst_value_get_fourcc (ref GLib.Value v);
} }
@ -433,11 +433,11 @@ namespace Gst {
[DllImport ("libglib-2.0-0.dll") ] [DllImport ("libglib-2.0-0.dll") ]
private static extern void g_date_free (IntPtr date); private static extern void g_date_free (IntPtr date);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_date_get_type (); private static extern IntPtr gst_date_get_type ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_value_get_date (ref GLib.Value val); private static extern IntPtr gst_value_get_date (ref GLib.Value val);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_value_set_date (ref GLib.Value val, IntPtr date); private static extern void gst_value_set_date (ref GLib.Value val, IntPtr date);
} }
@ -512,13 +512,13 @@ namespace Gst {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_value_list_get_type (); private static extern IntPtr gst_value_list_get_type ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern uint gst_value_list_get_size (ref GLib.Value val); private static extern uint gst_value_list_get_size (ref GLib.Value val);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_value_list_get_value (ref GLib.Value val, uint index); private static extern IntPtr gst_value_list_get_value (ref GLib.Value val, uint index);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_value_list_append_value (ref GLib.Value val, ref GLib.Value el); private static extern void gst_value_list_append_value (ref GLib.Value val, ref GLib.Value el);
} }
@ -593,13 +593,13 @@ namespace Gst {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_value_array_get_type (); private static extern IntPtr gst_value_array_get_type ();
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern uint gst_value_array_get_size (ref GLib.Value val); private static extern uint gst_value_array_get_size (ref GLib.Value val);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_value_array_get_value (ref GLib.Value val, uint index); private static extern IntPtr gst_value_array_get_value (ref GLib.Value val, uint index);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_value_array_append_value (ref GLib.Value val, ref GLib.Value el); private static extern void gst_value_array_append_value (ref GLib.Value val, ref GLib.Value el);
} }
} }

View file

@ -57,10 +57,10 @@ namespace Gst {
} }
} }
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern void gst_version (out uint major, out uint minor, out uint micro, out uint nano); private static extern void gst_version (out uint major, out uint minor, out uint micro, out uint nano);
[DllImport ("gstreamer-0.10.dll") ] [DllImport("libgstreamer-0.10.dll") ]
private static extern IntPtr gst_version_string(); private static extern IntPtr gst_version_string();
} }
} }

View file

@ -12,35 +12,35 @@ namespace Gst.BasePlugins {
return ElementFactory.Make ("xvimagesink", name) as XvImageSink; return ElementFactory.Make ("xvimagesink", name) as XvImageSink;
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport ("libgstinterfaces-0.10.dll") ]
static extern void gst_x_overlay_expose (IntPtr raw); static extern void gst_x_overlay_expose (IntPtr raw);
public void Expose() { public void Expose() {
gst_x_overlay_expose (Handle); gst_x_overlay_expose (Handle);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport ("libgstinterfaces-0.10.dll") ]
static extern void gst_x_overlay_handle_events (IntPtr raw, bool handle_events); static extern void gst_x_overlay_handle_events (IntPtr raw, bool handle_events);
public void HandleEvents (bool handle_events) { public void HandleEvents (bool handle_events) {
gst_x_overlay_handle_events (Handle, handle_events); gst_x_overlay_handle_events (Handle, handle_events);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport ("libgstinterfaces-0.10.dll") ]
static extern void gst_x_overlay_got_xwindow_id (IntPtr raw, UIntPtr xwindow_id); static extern void gst_x_overlay_got_xwindow_id (IntPtr raw, UIntPtr xwindow_id);
public void GotXwindowId (ulong xwindow_id) { public void GotXwindowId (ulong xwindow_id) {
gst_x_overlay_got_xwindow_id (Handle, new UIntPtr (xwindow_id)); gst_x_overlay_got_xwindow_id (Handle, new UIntPtr (xwindow_id));
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport ("libgstinterfaces-0.10.dll") ]
static extern void gst_x_overlay_prepare_xwindow_id (IntPtr raw); static extern void gst_x_overlay_prepare_xwindow_id (IntPtr raw);
public void PrepareXwindowId() { public void PrepareXwindowId() {
gst_x_overlay_prepare_xwindow_id (Handle); gst_x_overlay_prepare_xwindow_id (Handle);
} }
[DllImport ("gstinterfaces-0.10.dll") ] [DllImport ("libgstinterfaces-0.10.dll") ]
static extern void gst_x_overlay_set_xwindow_id (IntPtr raw, UIntPtr xwindow_id); static extern void gst_x_overlay_set_xwindow_id (IntPtr raw, UIntPtr xwindow_id);
public ulong XwindowId { public ulong XwindowId {

View file

@ -6,7 +6,7 @@
Please DO NOT MODIFY THIS FILE, modify .metadata files instead. Please DO NOT MODIFY THIS FILE, modify .metadata files instead.
--> -->
<namespace name="Gst" library="gstreamer-0.10.dll"> <namespace name="Gst" library="libgstreamer-0.10.dll">
<enum name="ActivateMode" cname="GstActivateMode" gtype="gst_activate_mode_get_type" type="enum"> <enum name="ActivateMode" cname="GstActivateMode" gtype="gst_activate_mode_get_type" type="enum">
<member cname="GST_ACTIVATE_NONE" name="None" /> <member cname="GST_ACTIVATE_NONE" name="None" />
<member cname="GST_ACTIVATE_PUSH" name="Push" /> <member cname="GST_ACTIVATE_PUSH" name="Push" />
@ -6174,7 +6174,7 @@
</method> </method>
</class> </class>
</namespace> </namespace>
<namespace name="Gst.Interfaces" library="gstinterfaces-0.10.dll"> <namespace name="Gst.Interfaces" library="libgstinterfaces-0.10.dll">
<enum name="GstColorBalanceType" cname="GstColorBalanceType" gtype="gst_color_balance_type_get_type" type="enum"> <enum name="GstColorBalanceType" cname="GstColorBalanceType" gtype="gst_color_balance_type_get_type" type="enum">
<member cname="GST_COLOR_BALANCE_HARDWARE" name="Hardware" /> <member cname="GST_COLOR_BALANCE_HARDWARE" name="Hardware" />
<member cname="GST_COLOR_BALANCE_SOFTWARE" name="Software" /> <member cname="GST_COLOR_BALANCE_SOFTWARE" name="Software" />

View file

@ -1,5 +1,5 @@
<configuration> <configuration>
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/> <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/> <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
<dllmap dll="gstreamer-0.10.dll" target="libgstreamer-0.10@LIB_PREFIX@.0@LIB_SUFFIX@/> <dllmap dll="libgstreamer-0.10.dll" target="libgstreamer-0.10@LIB_PREFIX@.0@LIB_SUFFIX@/>
</configuration> </configuration>

View file

@ -121,7 +121,7 @@ namespace Gst.Interfaces {
this.handle = handle; this.handle = handle;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_color_balance_get_type(); static extern IntPtr gst_color_balance_get_type();
private static GLib.GType _gtype = new GLib.GType (gst_color_balance_get_type ()); private static GLib.GType _gtype = new GLib.GType (gst_color_balance_get_type ());
@ -177,14 +177,14 @@ namespace Gst.Interfaces {
} }
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_color_balance_set_value(IntPtr raw, IntPtr channel, int value); static extern void gst_color_balance_set_value(IntPtr raw, IntPtr channel, int value);
public void SetValue(Gst.Interfaces.ColorBalanceChannel channel, int value) { public void SetValue(Gst.Interfaces.ColorBalanceChannel channel, int value) {
gst_color_balance_set_value(Handle, channel == null ? IntPtr.Zero : channel.Handle, value); gst_color_balance_set_value(Handle, channel == null ? IntPtr.Zero : channel.Handle, value);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_color_balance_list_channels(IntPtr raw); static extern IntPtr gst_color_balance_list_channels(IntPtr raw);
public Gst.Interfaces.ColorBalanceChannel[] ListChannels() { public Gst.Interfaces.ColorBalanceChannel[] ListChannels() {
@ -193,7 +193,7 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern int gst_color_balance_get_value(IntPtr raw, IntPtr channel); static extern int gst_color_balance_get_value(IntPtr raw, IntPtr channel);
public int GetValue(Gst.Interfaces.ColorBalanceChannel channel) { public int GetValue(Gst.Interfaces.ColorBalanceChannel channel) {
@ -202,7 +202,7 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_color_balance_value_changed(IntPtr raw, IntPtr channel, int value); static extern void gst_color_balance_value_changed(IntPtr raw, IntPtr channel, int value);
public void EmitValueChanged(Gst.Interfaces.ColorBalanceChannel channel, int value) { public void EmitValueChanged(Gst.Interfaces.ColorBalanceChannel channel, int value) {

View file

@ -222,7 +222,7 @@ namespace Gst.Interfaces {
this.handle = handle; this.handle = handle;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_mixer_get_type(); static extern IntPtr gst_mixer_get_type();
private static GLib.GType _gtype = new GLib.GType (gst_mixer_get_type ()); private static GLib.GType _gtype = new GLib.GType (gst_mixer_get_type ());
@ -266,7 +266,7 @@ namespace Gst.Interfaces {
} }
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_volume_changed(IntPtr raw, IntPtr track, IntPtr volumes); static extern void gst_mixer_volume_changed(IntPtr raw, IntPtr track, IntPtr volumes);
public void VolumeChanged(Gst.Interfaces.MixerTrack track, int[] volumes) { public void VolumeChanged(Gst.Interfaces.MixerTrack track, int[] volumes) {
@ -282,7 +282,7 @@ namespace Gst.Interfaces {
GLib.Marshaller.Free (native_volumes); GLib.Marshaller.Free (native_volumes);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_mixer_list_tracks(IntPtr raw); static extern IntPtr gst_mixer_list_tracks(IntPtr raw);
public Gst.Interfaces.MixerTrack[] ListTracks() { public Gst.Interfaces.MixerTrack[] ListTracks() {
@ -291,14 +291,14 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_set_option(IntPtr raw, IntPtr opts, IntPtr value); static extern void gst_mixer_set_option(IntPtr raw, IntPtr opts, IntPtr value);
public void SetOption(Gst.Interfaces.MixerOptions opts, string value) { public void SetOption(Gst.Interfaces.MixerOptions opts, string value) {
gst_mixer_set_option(Handle, opts == null ? IntPtr.Zero : opts.Handle, GLib.Marshaller.StringToPtrGStrdup(value)); gst_mixer_set_option(Handle, opts == null ? IntPtr.Zero : opts.Handle, GLib.Marshaller.StringToPtrGStrdup(value));
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_set_volume(IntPtr raw, IntPtr track, IntPtr volumes); static extern void gst_mixer_set_volume(IntPtr raw, IntPtr track, IntPtr volumes);
public void SetVolume(Gst.Interfaces.MixerTrack track, int[] volumes) { public void SetVolume(Gst.Interfaces.MixerTrack track, int[] volumes) {
@ -315,28 +315,28 @@ namespace Gst.Interfaces {
GLib.Marshaller.Free (volumes_native); GLib.Marshaller.Free (volumes_native);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_mute_toggled(IntPtr raw, IntPtr track, bool mute); static extern void gst_mixer_mute_toggled(IntPtr raw, IntPtr track, bool mute);
public void MuteToggled(Gst.Interfaces.MixerTrack track, bool mute) { public void MuteToggled(Gst.Interfaces.MixerTrack track, bool mute) {
gst_mixer_mute_toggled(Handle, track == null ? IntPtr.Zero : track.Handle, mute); gst_mixer_mute_toggled(Handle, track == null ? IntPtr.Zero : track.Handle, mute);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_option_changed(IntPtr raw, IntPtr opts, IntPtr value); static extern void gst_mixer_option_changed(IntPtr raw, IntPtr opts, IntPtr value);
public void OptionChanged(Gst.Interfaces.MixerOptions opts, string value) { public void OptionChanged(Gst.Interfaces.MixerOptions opts, string value) {
gst_mixer_option_changed(Handle, opts == null ? IntPtr.Zero : opts.Handle, GLib.Marshaller.StringToPtrGStrdup(value)); gst_mixer_option_changed(Handle, opts == null ? IntPtr.Zero : opts.Handle, GLib.Marshaller.StringToPtrGStrdup(value));
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_options_list_changed(IntPtr raw, IntPtr opts); static extern void gst_mixer_options_list_changed(IntPtr raw, IntPtr opts);
public void OptionsListChanged(Gst.Interfaces.MixerOptions opts) { public void OptionsListChanged(Gst.Interfaces.MixerOptions opts) {
gst_mixer_options_list_changed(Handle, opts == null ? IntPtr.Zero : opts.Handle); gst_mixer_options_list_changed(Handle, opts == null ? IntPtr.Zero : opts.Handle);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_mixer_get_option(IntPtr raw, IntPtr opts); static extern IntPtr gst_mixer_get_option(IntPtr raw, IntPtr opts);
public string GetOption(Gst.Interfaces.MixerOptions opts) { public string GetOption(Gst.Interfaces.MixerOptions opts) {
@ -345,21 +345,21 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_set_record(IntPtr raw, IntPtr track, bool record); static extern void gst_mixer_set_record(IntPtr raw, IntPtr track, bool record);
public void SetRecord(Gst.Interfaces.MixerTrack track, bool record) { public void SetRecord(Gst.Interfaces.MixerTrack track, bool record) {
gst_mixer_set_record(Handle, track == null ? IntPtr.Zero : track.Handle, record); gst_mixer_set_record(Handle, track == null ? IntPtr.Zero : track.Handle, record);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_record_toggled(IntPtr raw, IntPtr track, bool record); static extern void gst_mixer_record_toggled(IntPtr raw, IntPtr track, bool record);
public void RecordToggled(Gst.Interfaces.MixerTrack track, bool record) { public void RecordToggled(Gst.Interfaces.MixerTrack track, bool record) {
gst_mixer_record_toggled(Handle, track == null ? IntPtr.Zero : track.Handle, record); gst_mixer_record_toggled(Handle, track == null ? IntPtr.Zero : track.Handle, record);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_get_volume(IntPtr raw, IntPtr track, ref IntPtr volumes); static extern void gst_mixer_get_volume(IntPtr raw, IntPtr track, ref IntPtr volumes);
public int[] GetVolume(Gst.Interfaces.MixerTrack track) { public int[] GetVolume(Gst.Interfaces.MixerTrack track) {
@ -375,7 +375,7 @@ namespace Gst.Interfaces {
return volumes; return volumes;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern int gst_mixer_get_mixer_flags(IntPtr raw); static extern int gst_mixer_get_mixer_flags(IntPtr raw);
public Gst.Interfaces.MixerFlags MixerFlags { public Gst.Interfaces.MixerFlags MixerFlags {
@ -386,14 +386,14 @@ namespace Gst.Interfaces {
} }
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_mixer_changed(IntPtr raw); static extern void gst_mixer_mixer_changed(IntPtr raw);
public void MixerChanged() { public void MixerChanged() {
gst_mixer_mixer_changed(Handle); gst_mixer_mixer_changed(Handle);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_mixer_set_mute(IntPtr raw, IntPtr track, bool mute); static extern void gst_mixer_set_mute(IntPtr raw, IntPtr track, bool mute);
public void SetMute(Gst.Interfaces.MixerTrack track, bool mute) { public void SetMute(Gst.Interfaces.MixerTrack track, bool mute) {

View file

@ -70,7 +70,7 @@ namespace Gst.Interfaces {
this.handle = handle; this.handle = handle;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_navigation_get_type(); static extern IntPtr gst_navigation_get_type();
private static GLib.GType _gtype = new GLib.GType (gst_navigation_get_type ()); private static GLib.GType _gtype = new GLib.GType (gst_navigation_get_type ());
@ -114,17 +114,17 @@ namespace Gst.Interfaces {
} }
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_navigation_send_event(IntPtr raw, IntPtr structure); static extern void gst_navigation_send_event(IntPtr raw, IntPtr structure);
[DllImport("gstreamer-0.10.dll")] [DllImport("libgstreamer-0.10.dll")]
static extern IntPtr gst_structure_copy (IntPtr raw); static extern IntPtr gst_structure_copy (IntPtr raw);
public void SendEvent(Gst.Structure structure) { public void SendEvent(Gst.Structure structure) {
gst_navigation_send_event(Handle, structure == null ? IntPtr.Zero : gst_structure_copy (structure.Handle)); gst_navigation_send_event(Handle, structure == null ? IntPtr.Zero : gst_structure_copy (structure.Handle));
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_navigation_send_mouse_event(IntPtr raw, IntPtr evnt, int button, double x, double y); static extern void gst_navigation_send_mouse_event(IntPtr raw, IntPtr evnt, int button, double x, double y);
public void SendMouseEvent(string evnt, int button, double x, double y) { public void SendMouseEvent(string evnt, int button, double x, double y) {
@ -133,7 +133,7 @@ namespace Gst.Interfaces {
GLib.Marshaller.Free (native_evnt); GLib.Marshaller.Free (native_evnt);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_navigation_send_key_event(IntPtr raw, IntPtr evnt, IntPtr key); static extern void gst_navigation_send_key_event(IntPtr raw, IntPtr evnt, IntPtr key);
public void SendKeyEvent(string evnt, string key) { public void SendKeyEvent(string evnt, string key) {
@ -144,7 +144,7 @@ namespace Gst.Interfaces {
GLib.Marshaller.Free (native_key); GLib.Marshaller.Free (native_key);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_navigation_send_command(IntPtr raw, int command); static extern void gst_navigation_send_command(IntPtr raw, int command);
public void SendCommand(Gst.Interfaces.NavigationCommand command) { public void SendCommand(Gst.Interfaces.NavigationCommand command) {

View file

@ -150,7 +150,7 @@ namespace Gst.Interfaces {
this.handle = handle; this.handle = handle;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_property_probe_get_type(); static extern IntPtr gst_property_probe_get_type();
private static GLib.GType _gtype = new GLib.GType (gst_property_probe_get_type ()); private static GLib.GType _gtype = new GLib.GType (gst_property_probe_get_type ());
@ -207,7 +207,7 @@ namespace Gst.Interfaces {
} }
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern bool gst_property_probe_needs_probe_name(IntPtr raw, IntPtr name); static extern bool gst_property_probe_needs_probe_name(IntPtr raw, IntPtr name);
public bool NeedsProbe(string name) { public bool NeedsProbe(string name) {
@ -218,7 +218,7 @@ namespace Gst.Interfaces {
return ret; return ret;
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern void gst_property_probe_probe_property_name(IntPtr raw, IntPtr name); static extern void gst_property_probe_probe_property_name(IntPtr raw, IntPtr name);
public void Probe(string name) { public void Probe(string name) {
@ -227,7 +227,7 @@ namespace Gst.Interfaces {
GLib.Marshaller.Free (native_name); GLib.Marshaller.Free (native_name);
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_property_probe_get_properties(IntPtr raw); static extern IntPtr gst_property_probe_get_properties(IntPtr raw);
public string[] Properties { public string[] Properties {
@ -248,7 +248,7 @@ namespace Gst.Interfaces {
} }
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_property_probe_get_values_name (IntPtr raw, IntPtr name); static extern IntPtr gst_property_probe_get_values_name (IntPtr raw, IntPtr name);
public object[] GetValues (string name) { public object[] GetValues (string name) {
@ -268,7 +268,7 @@ namespace Gst.Interfaces {
return (object[]) ret.ToArray (typeof (object)); return (object[]) ret.ToArray (typeof (object));
} }
[DllImport("gstinterfaces-0.10.dll")] [DllImport("libgstinterfaces-0.10.dll")]
static extern IntPtr gst_property_probe_probe_and_get_values_name (IntPtr raw, IntPtr name); static extern IntPtr gst_property_probe_probe_and_get_values_name (IntPtr raw, IntPtr name);
public object[] ProbeAndGetValues (string name) { public object[] ProbeAndGetValues (string name) {

View file

@ -157,7 +157,7 @@ namespace Gst {
this.handle = handle; this.handle = handle;
} }
[DllImport("gstreamer-0.10.dll")] [DllImport("libgstreamer-0.10.dll")]
static extern IntPtr gst_uri_handler_get_type(); static extern IntPtr gst_uri_handler_get_type();
private static GLib.GType _gtype = new GLib.GType (gst_uri_handler_get_type ()); private static GLib.GType _gtype = new GLib.GType (gst_uri_handler_get_type ());
@ -213,7 +213,7 @@ namespace Gst {
} }
} }
[DllImport("gstreamer-0.10.dll")] [DllImport("libgstreamer-0.10.dll")]
static extern uint gst_uri_handler_get_uri_type(IntPtr raw); static extern uint gst_uri_handler_get_uri_type(IntPtr raw);
public Gst.URIType UriType { public Gst.URIType UriType {
@ -224,7 +224,7 @@ namespace Gst {
} }
} }
[DllImport("gstreamer-0.10.dll")] [DllImport("libgstreamer-0.10.dll")]
static extern bool gst_uri_handler_set_uri(IntPtr raw, IntPtr uri); static extern bool gst_uri_handler_set_uri(IntPtr raw, IntPtr uri);
public bool SetUri(string uri) { public bool SetUri(string uri) {
@ -235,7 +235,7 @@ namespace Gst {
return ret; return ret;
} }
[DllImport("gstreamer-0.10.dll")] [DllImport("libgstreamer-0.10.dll")]
static extern IntPtr gst_uri_handler_get_protocols(IntPtr raw); static extern IntPtr gst_uri_handler_get_protocols(IntPtr raw);
public string[] Protocols { public string[] Protocols {
@ -246,7 +246,7 @@ namespace Gst {
} }
} }
[DllImport("gstreamer-0.10.dll")] [DllImport("libgstreamer-0.10.dll")]
static extern IntPtr gst_uri_handler_get_uri(IntPtr raw); static extern IntPtr gst_uri_handler_get_uri(IntPtr raw);
public string Uri { public string Uri {