[vala] gstreamer: Add gstreamer-cdda-0.10 bindings
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer: Add gstreamer-cdda-0.10 bindings
- Date: Sat, 27 Mar 2010 08:37:06 +0000 (UTC)
commit ce72f807c49a95eeaa840067e0c24ff11795ae38
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date: Sat Mar 27 08:39:34 2010 +0100
gstreamer: Add gstreamer-cdda-0.10 bindings
vapi/Makefile.am | 2 +
vapi/gstreamer-cdda-0.10.deps | 4 +
vapi/gstreamer-cdda-0.10.vapi | 58 +++++++++++++
.../gstreamer-cdda-0.10/gstreamer-cdda-0.10.deps | 4 +
.../gstreamer-cdda-0.10/gstreamer-cdda-0.10.files | 3 +
.../gstreamer-cdda-0.10/gstreamer-cdda-0.10.gi | 85 ++++++++++++++++++++
.../gstreamer-cdda-0.10.metadata | 1 +
.../gstreamer-cdda-0.10.namespace | 1 +
8 files changed, 158 insertions(+), 0 deletions(-)
---
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 68a0f4d..09bb2ad 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -59,6 +59,8 @@ dist_vapi_DATA = \
gstreamer-audio-0.10.vapi \
gstreamer-base-0.10.deps \
gstreamer-base-0.10.vapi \
+ gstreamer-cdda-0.10.deps \
+ gstreamer-cdda-0.10.vapi \
gstreamer-check-0.10.deps \
gstreamer-check-0.10.vapi \
gstreamer-controller-0.10.deps \
diff --git a/vapi/gstreamer-cdda-0.10.deps b/vapi/gstreamer-cdda-0.10.deps
new file mode 100644
index 0000000..a1cfec7
--- /dev/null
+++ b/vapi/gstreamer-cdda-0.10.deps
@@ -0,0 +1,4 @@
+gstreamer-0.10
+gstreamer-base-0.10
+gstreamer-tag-0.10
+gmodule-2.0
diff --git a/vapi/gstreamer-cdda-0.10.vapi b/vapi/gstreamer-cdda-0.10.vapi
new file mode 100644
index 0000000..3e5b57c
--- /dev/null
+++ b/vapi/gstreamer-cdda-0.10.vapi
@@ -0,0 +1,58 @@
+/* gstreamer-cdda-0.10.vapi generated by vapigen, do not modify. */
+
+[CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
+namespace Gst {
+ [CCode (cheader_filename = "gst/cdda/gstcddabasesrc.h")]
+ public class CddaBaseSrc : Gst.PushSrc, Gst.URIHandler {
+ public int cur_sector;
+ public int cur_track;
+ public uint32 discid;
+ public weak Gst.Index index;
+ public int index_id;
+ [CCode (array_length = false)]
+ public weak char[] mb_discid;
+ public uint num_all_tracks;
+ public uint num_tracks;
+ public int prev_track;
+ public int seek_sector;
+ public weak Gst.TagList tags;
+ public bool toc_bias;
+ public int toc_offset;
+ public weak Gst.CddaBaseSrcTrack tracks;
+ public weak string uri;
+ public int uri_track;
+ public bool add_track (Gst.CddaBaseSrcTrack track);
+ [NoWrapper]
+ public virtual void close ();
+ [NoWrapper]
+ public virtual unowned string get_default_device ();
+ [NoWrapper]
+ public virtual bool open (string device);
+ [NoWrapper]
+ public virtual unowned string probe_devices ();
+ [NoWrapper]
+ public virtual unowned Gst.Buffer read_sector (int sector);
+ [NoAccessorMethod]
+ public string device { owned get; set; }
+ [NoAccessorMethod]
+ public Gst.CddaBaseSrcMode mode { get; set; }
+ [NoAccessorMethod]
+ public uint track { get; set; }
+ }
+ [Compact]
+ [CCode (cheader_filename = "gst/cdda/gstcddabasesrc.h")]
+ public class CddaBaseSrcTrack {
+ public uint end;
+ public bool is_audio;
+ public uint num;
+ public uint start;
+ public weak Gst.TagList tags;
+ }
+ [CCode (cprefix = "", cheader_filename = "gst/cdda/gstcddabasesrc.h")]
+ public enum CddaBaseSrcMode {
+ Stream consists of a single track,
+ Stream consists of the whole disc
+ }
+ [CCode (cheader_filename = "gst/cdda/gstcddabasesrc.h")]
+ public const string TAG_CDDA_TRACK_TAGS;
+}
diff --git a/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.deps b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.deps
new file mode 100644
index 0000000..a1cfec7
--- /dev/null
+++ b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.deps
@@ -0,0 +1,4 @@
+gstreamer-0.10
+gstreamer-base-0.10
+gstreamer-tag-0.10
+gmodule-2.0
diff --git a/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.files b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.files
new file mode 100644
index 0000000..7a4669c
--- /dev/null
+++ b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.files
@@ -0,0 +1,3 @@
+include/gstreamer-0.10/gst/cdda
+lib/libgstcdda-0.10.so
+
diff --git a/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.gi b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.gi
new file mode 100644
index 0000000..a74e26a
--- /dev/null
+++ b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.gi
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+<api version="1.0">
+ <namespace name="Gst">
+ <struct name="GstCddaBaseSrcTrack">
+ <field name="is_audio" type="gboolean"/>
+ <field name="num" type="guint"/>
+ <field name="start" type="guint"/>
+ <field name="end" type="guint"/>
+ <field name="tags" type="GstTagList*"/>
+ <field name="_gst_reserved1" type="guint[]"/>
+ <field name="_gst_reserved2" type="gpointer[]"/>
+ </struct>
+ <enum name="GstCddaBaseSrcMode" type-name="GstCddaBaseSrcMode" get-type="gst_cdda_base_src_mode_get_type">
+ <member name="Stream consists of a single track" value="0"/>
+ <member name="Stream consists of the whole disc" value="1"/>
+ </enum>
+ <object name="GstCddaBaseSrc" parent="GstPushSrc" type-name="GstCddaBaseSrc" get-type="gst_cdda_base_src_get_type">
+ <implements>
+ <interface name="GstURIHandler"/>
+ </implements>
+ <method name="add_track" symbol="gst_cdda_base_src_add_track">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="src" type="GstCddaBaseSrc*"/>
+ <parameter name="track" type="GstCddaBaseSrcTrack*"/>
+ </parameters>
+ </method>
+ <property name="device" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="mode" type="GstCddaBaseSrcMode" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="track" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
+ <vfunc name="close">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="src" type="GstCddaBaseSrc*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_default_device">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="src" type="GstCddaBaseSrc*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="open">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="src" type="GstCddaBaseSrc*"/>
+ <parameter name="device" type="gchar*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="probe_devices">
+ <return-type type="gchar**"/>
+ <parameters>
+ <parameter name="src" type="GstCddaBaseSrc*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="read_sector">
+ <return-type type="GstBuffer*"/>
+ <parameters>
+ <parameter name="src" type="GstCddaBaseSrc*"/>
+ <parameter name="sector" type="gint"/>
+ </parameters>
+ </vfunc>
+ <field name="tags" type="GstTagList*"/>
+ <field name="mode" type="GstCddaBaseSrcMode"/>
+ <field name="device" type="gchar*"/>
+ <field name="num_tracks" type="guint"/>
+ <field name="num_all_tracks" type="guint"/>
+ <field name="tracks" type="GstCddaBaseSrcTrack*"/>
+ <field name="cur_track" type="gint"/>
+ <field name="prev_track" type="gint"/>
+ <field name="cur_sector" type="gint"/>
+ <field name="seek_sector" type="gint"/>
+ <field name="uri_track" type="gint"/>
+ <field name="uri" type="gchar*"/>
+ <field name="discid" type="guint32"/>
+ <field name="mb_discid" type="gchar[]"/>
+ <field name="index" type="GstIndex*"/>
+ <field name="index_id" type="gint"/>
+ <field name="toc_offset" type="gint"/>
+ <field name="toc_bias" type="gboolean"/>
+ </object>
+ <constant name="GST_TAG_CDDA_TRACK_TAGS" type="char*" value="track-tags"/>
+ </namespace>
+</api>
+
diff --git a/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.metadata b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.metadata
new file mode 100644
index 0000000..56e03b7
--- /dev/null
+++ b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.metadata
@@ -0,0 +1 @@
+Gst cprefix="Gst" lower_case_cprefix="gst_" cheader_filename="gst/cdda/gstcddabasesrc.h"
diff --git a/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.namespace b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.namespace
new file mode 100644
index 0000000..100750e
--- /dev/null
+++ b/vapi/packages/gstreamer-cdda-0.10/gstreamer-cdda-0.10.namespace
@@ -0,0 +1 @@
+Gst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]