[vala] gstreamer-controller-0.10: Fix Gst.LFOWaveform enum.



commit 9b892c0de73f8185f6a05e3048886aeeb80a73db
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Dec 19 12:46:07 2009 -0800

    gstreamer-controller-0.10: Fix Gst.LFOWaveform enum.
    
    Fixes bug 603725.

 vapi/gstreamer-controller-0.10.vapi                |   12 ++++++------
 .../gstreamer-controller-0.10-custom.vala          |   11 +++++++++++
 .../gstreamer-controller-0.10.metadata             |    2 +-
 3 files changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/vapi/gstreamer-controller-0.10.vapi b/vapi/gstreamer-controller-0.10.vapi
index 2fa7b7e..83db848 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 0000000..080d8ec
--- /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 dec42fe..a639f42 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"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]