mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
Add Gst.Cdda library bindings
This commit is contained in:
parent
b37f44eb59
commit
8fc8aa8806
4 changed files with 103 additions and 1 deletions
|
@ -1106,6 +1106,19 @@
|
||||||
<attr path="/api/namespace/struct[@cname='GstTimedValue']" name="hidden">1</attr>
|
<attr path="/api/namespace/struct[@cname='GstTimedValue']" name="hidden">1</attr>
|
||||||
<attr path="/api/namespace/struct[@cname='GstValueArray']" name="hidden">1</attr>
|
<attr path="/api/namespace/struct[@cname='GstValueArray']" name="hidden">1</attr>
|
||||||
|
|
||||||
|
<!-- GStreamer Cdda library -->
|
||||||
|
<attr path="/api/namespace/enum[@cname='GstCddaBaseSrcMode']" name="name">CddaBaseSrcMode</attr>
|
||||||
|
|
||||||
|
<attr path="/api/namespace/object[@cname='GstCddaBaseSrc']" name="name">CddaBaseSrc</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GstCddaBaseSrc']/virtual_method[@cname='probe_devices']/return-type" name="null_term_array">true</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GstCddaBaseSrc']/virtual_method[@cname='read_sector']/return-type" name="owned">true</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GstCddaBaseSrc']/field[@cname='tags']" name="access">protected</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GstCddaBaseSrc']/field[@cname='tags']" name="writeable">true</attr>
|
||||||
|
|
||||||
|
<attr path="/api/namespace/struct[@cname='GstCddaBaseSrcTrack']" name="name">CddaBaseSrcTrack</attr>
|
||||||
|
<attr path="/api/namespace/struct[@cname='GstCddaBaseSrcTrack']/field[@cname='_gst_reserved1']" name="array_len">4</attr>
|
||||||
|
<remove-node path="/api/namespace/struct[@cname='GstCddaBaseSrcTrack']/field[@cname='_gst_reserved2']" />
|
||||||
|
|
||||||
|
|
||||||
<!-- GStreamer Interfaces library -->
|
<!-- GStreamer Interfaces library -->
|
||||||
<attr path="/api/namespace/enum[@cname='GstColorBalanceType']" name="name">ColorBalanceType</attr>
|
<attr path="/api/namespace/enum[@cname='GstColorBalanceType']" name="name">ColorBalanceType</attr>
|
||||||
|
|
|
@ -15,7 +15,7 @@ ASSEMBLY = $(ASSEMBLY_NAME).dll
|
||||||
gapidir = $(datadir)/gapi
|
gapidir = $(datadir)/gapi
|
||||||
gapi_DATA = $(APIS)
|
gapi_DATA = $(APIS)
|
||||||
|
|
||||||
glue_includes="gst/gst.h gst/interfaces/colorbalance.h gst/interfaces/colorbalancechannel.h gst/interfaces/tuner.h gst/interfaces/tunerchannel.h gst/interfaces/tunernorm.h"
|
glue_includes="gst/gst.h gst/interfaces/colorbalance.h gst/interfaces/colorbalancechannel.h gst/interfaces/tuner.h gst/interfaces/tunerchannel.h gst/interfaces/tunernorm.h gst/cdda/gstcddabasesrc.h"
|
||||||
|
|
||||||
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(ASSEMBLY_NAME).pdb generated-stamp generated/*.cs glue/generated.c $(API) $(KEYFILE)
|
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(ASSEMBLY_NAME).pdb generated-stamp generated/*.cs glue/generated.c $(API) $(KEYFILE)
|
||||||
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
|
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
|
||||||
|
|
|
@ -7177,6 +7177,90 @@
|
||||||
<field name="Values" cname="values" type="gpointer*" />
|
<field name="Values" cname="values" type="gpointer*" />
|
||||||
</struct>
|
</struct>
|
||||||
</namespace>
|
</namespace>
|
||||||
|
<namespace name="Gst.Cdda" library="libgstcdda-0.10.dll">
|
||||||
|
<enum name="GstCddaBaseSrcMode" cname="GstCddaBaseSrcMode" gtype="gst_cdda_base_src_mode_get_type" type="enum">
|
||||||
|
<member cname="GST_CDDA_BASE_SRC_MODE_NORMAL" name="Normal" />
|
||||||
|
<member cname="GST_CDDA_BASE_SRC_MODE_CONTINUOUS" name="Continuous" />
|
||||||
|
</enum>
|
||||||
|
<object name="GstCddaBaseSrc" cname="GstCddaBaseSrc" parent="GstPushSrc">
|
||||||
|
<class_struct cname="GstCddaBaseSrcClass">
|
||||||
|
<field name="PushsrcClass" cname="pushsrc_class" type="GstPushSrcClass" />
|
||||||
|
<method vm="open" />
|
||||||
|
<method vm="close" />
|
||||||
|
<method vm="read_sector" />
|
||||||
|
<method vm="get_default_device" />
|
||||||
|
<method vm="probe_devices" />
|
||||||
|
<field name="GstReserved" cname="_gst_reserved" type="gpointer" array_len="GST_PADDING" />
|
||||||
|
</class_struct>
|
||||||
|
<field name="Tags" cname="tags" type="GstTagList*" />
|
||||||
|
<field name="Mode" cname="mode" type="GstCddaBaseSrcMode" />
|
||||||
|
<field name="Device" cname="device" type="gchar*" />
|
||||||
|
<field name="NumTracks" cname="num_tracks" type="guint" />
|
||||||
|
<field name="NumAllTracks" cname="num_all_tracks" type="guint" />
|
||||||
|
<field name="Tracks" cname="tracks" type="GstCddaBaseSrcTrack*" />
|
||||||
|
<field name="CurTrack" cname="cur_track" type="gint" />
|
||||||
|
<field name="PrevTrack" cname="prev_track" type="gint" />
|
||||||
|
<field name="CurSector" cname="cur_sector" type="gint" />
|
||||||
|
<field name="SeekSector" cname="seek_sector" type="gint" />
|
||||||
|
<field name="UriTrack" cname="uri_track" type="gint" />
|
||||||
|
<field name="Uri" cname="uri" type="gchar*" />
|
||||||
|
<field name="Discid" cname="discid" type="guint32" />
|
||||||
|
<field name="MbDiscid" cname="mb_discid" array_len="32" type="gchar" />
|
||||||
|
<field name="Index" cname="index" type="GstIndex*" />
|
||||||
|
<field name="IndexId" cname="index_id" type="gint" />
|
||||||
|
<field name="TocOffset" cname="toc_offset" type="gint" />
|
||||||
|
<field name="TocBias" cname="toc_bias" type="gboolean" />
|
||||||
|
<field name="GstReserved1" cname="_gst_reserved1" array_len="GST_PADDING/2" type="guint" />
|
||||||
|
<field name="GstReserved2" cname="_gst_reserved2" array_len="GST_PADDING/2" type="gpointer" />
|
||||||
|
<property name="Device" cname="device" type="gchar*" readable="true" writeable="true" />
|
||||||
|
<property name="Mode" cname="mode" type="GstCddaBaseSrcMode" readable="true" writeable="true" />
|
||||||
|
<property name="Track" cname="track" type="guint" readable="true" writeable="true" />
|
||||||
|
<property name="TocOffset" cname="toc-offset" type="gint" readable="true" writeable="true" />
|
||||||
|
<property name="TocBias" cname="toc-bias" type="gboolean" readable="true" writeable="true" />
|
||||||
|
<virtual_method name="Open" cname="open">
|
||||||
|
<return-type type="gboolean" />
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="device" />
|
||||||
|
</parameters>
|
||||||
|
</virtual_method>
|
||||||
|
<virtual_method name="Close" cname="close">
|
||||||
|
<return-type type="void" />
|
||||||
|
<parameters />
|
||||||
|
</virtual_method>
|
||||||
|
<virtual_method name="ReadSector" cname="read_sector">
|
||||||
|
<return-type type="GstBuffer*" />
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gint" name="sector" />
|
||||||
|
</parameters>
|
||||||
|
</virtual_method>
|
||||||
|
<virtual_method name="GetDefaultDevice" cname="get_default_device">
|
||||||
|
<return-type type="gchar*" />
|
||||||
|
<parameters />
|
||||||
|
</virtual_method>
|
||||||
|
<virtual_method name="ProbeDevices" cname="probe_devices">
|
||||||
|
<return-type type="gchar**" />
|
||||||
|
<parameters />
|
||||||
|
</virtual_method>
|
||||||
|
<method name="AddTrack" cname="gst_cdda_base_src_add_track">
|
||||||
|
<return-type type="gboolean" />
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GstCddaBaseSrcTrack*" name="track" />
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="GetType" cname="gst_cdda_base_src_get_type" shared="true">
|
||||||
|
<return-type type="GType" />
|
||||||
|
</method>
|
||||||
|
</object>
|
||||||
|
<struct name="GstCddaBaseSrcTrack" cname="GstCddaBaseSrcTrack">
|
||||||
|
<field name="IsAudio" cname="is_audio" type="gboolean" />
|
||||||
|
<field name="Num" cname="num" type="guint" />
|
||||||
|
<field name="Start" cname="start" type="guint" />
|
||||||
|
<field name="End" cname="end" type="guint" />
|
||||||
|
<field name="Tags" cname="tags" type="GstTagList*" />
|
||||||
|
<field name="GstReserved1" cname="_gst_reserved1" array_len="GST_PADDING/2" type="guint" access="private" />
|
||||||
|
<field name="GstReserved2" cname="_gst_reserved2" array_len="GST_PADDING/2" type="gpointer" access="private" />
|
||||||
|
</struct>
|
||||||
|
</namespace>
|
||||||
<namespace name="Gst.Interfaces" library="libgstinterfaces-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" />
|
||||||
|
|
|
@ -48,6 +48,11 @@
|
||||||
<exclude>../../gstreamer/libs/gst/controller/gstlfocontrolsourceprivate.h</exclude>
|
<exclude>../../gstreamer/libs/gst/controller/gstlfocontrolsourceprivate.h</exclude>
|
||||||
</namespace>
|
</namespace>
|
||||||
</library>
|
</library>
|
||||||
|
<library name="libgstcdda-0.10.dll">
|
||||||
|
<namespace name="Gst.Cdda">
|
||||||
|
<dir>../../gst-plugins-base/gst-libs/gst/cdda</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
<library name="libgstinterfaces-0.10.dll">
|
<library name="libgstinterfaces-0.10.dll">
|
||||||
<namespace name="Gst.Interfaces">
|
<namespace name="Gst.Interfaces">
|
||||||
<dir>../../gst-plugins-base/gst-libs/gst/interfaces</dir>
|
<dir>../../gst-plugins-base/gst-libs/gst/interfaces</dir>
|
||||||
|
|
Loading…
Reference in a new issue