From: Evan Nemerson Date: Sat, 19 Dec 2009 20:46:07 +0000 (-0800) Subject: gstreamer-controller-0.10: Fix Gst.LFOWaveform enum. X-Git-Tag: 0.7.10~153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b892c0de73f8185f6a05e3048886aeeb80a73db;p=thirdparty%2Fvala.git gstreamer-controller-0.10: Fix Gst.LFOWaveform enum. Fixes bug 603725. --- diff --git a/vapi/gstreamer-controller-0.10.vapi b/vapi/gstreamer-controller-0.10.vapi index 2fa7b7e4e..83db8489c 100644 --- a/vapi/gstreamer-controller-0.10.vapi +++ b/vapi/gstreamer-controller-0.10.vapi @@ -94,13 +94,13 @@ namespace Gst { CUBIC, USER } - [CCode (cprefix = "", cheader_filename = "gst/controller/gstlfocontrolsource.h")] + [CCode (cprefix = "GST_LFO_WAVEFORM_", cheader_filename = "gst/controller/gstlfocontrolsource.h")] public enum LFOWaveform { - Sine waveform (default), - Square waveform, - Saw waveform, - Reverse saw waveform, - Triangle waveform + SINE, + SQUARE, + SAW, + REVERSE, + TRIANGLE } [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)] public delegate bool ControlSourceBind (Gst.ControlSource _self, GLib.ParamSpec pspec); diff --git a/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10-custom.vala b/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10-custom.vala new file mode 100644 index 000000000..080d8ec30 --- /dev/null +++ b/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10-custom.vala @@ -0,0 +1,11 @@ +[CCode (cprefix = "Gst", lower_case_cprefix = "gst_")] +namespace Gst { + [CCode (cheader_filename = "gst/controller/gstlfocontrolsource.h")] + public enum LFOWaveform { + SINE, + SQUARE, + SAW, + REVERSE, + TRIANGLE + } +} \ No newline at end of file diff --git a/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata b/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata index dec42fe96..a639f4214 100644 --- a/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata +++ b/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata @@ -1,5 +1,5 @@ Gst cprefix="Gst" lower_case_cprefix="gst_" cheader_filename="gst/controller/gstcontroller.h" GstLFOControlSource cheader_filename="gst/controller/gstlfocontrolsource.h" -GstLFOWaveform cheader_filename="gst/controller/gstlfocontrolsource.h" +GstLFOWaveform hidden="1" GST_PARAM_CONTROLLABLE hidden="1"