[vala] gstreamer-audio-0.10: Fix GstBaseAudio*SlaveMethod enums



commit 92a92de1aabf7a1ca9fee00c15a580b32903e16f
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date:   Mon May 18 00:16:17 2009 +0200

    gstreamer-audio-0.10: Fix GstBaseAudio*SlaveMethod enums
    
    Fixes bug 582992.
---
 vapi/gstreamer-audio-0.10.vapi                     |   18 +++++++++---------
 .../gstreamer-audio-0.10/gstreamer-audio-0.10.gi   |   14 +++++++-------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/vapi/gstreamer-audio-0.10.vapi b/vapi/gstreamer-audio-0.10.vapi
index 2c60042..619a21f 100644
--- a/vapi/gstreamer-audio-0.10.vapi
+++ b/vapi/gstreamer-audio-0.10.vapi
@@ -190,18 +190,18 @@ namespace Gst {
 		DEPTH,
 		SIGNED
 	}
-	[CCode (cprefix = "", cheader_filename = "gst/audio/gstbaseaudiosink.h")]
+	[CCode (cprefix = "GST_BASE_AUDIO_SINK_SLAVE_", cheader_filename = "gst/audio/gstbaseaudiosink.h")]
 	public enum BaseAudioSinkSlaveMethod {
-		Resampling slaving,
-		Skew slaving,
-		No slaving
+		RESAMPLE,
+		SKEW,
+		NONE
 	}
-	[CCode (cprefix = "", cheader_filename = "gst/audio/audio.h")]
+	[CCode (cprefix = "GST_BASE_AUDIO_SRC_SLAVE_", cheader_filename = "gst/audio/audio.h")]
 	public enum BaseAudioSrcSlaveMethod {
-		Resampling slaving,
-		Re-timestamp,
-		Skew,
-		No slaving
+		RESAMPLE,
+		RETIMESTAMP,
+		SKEW,
+		NONE
 	}
 	[CCode (cprefix = "GST_", cheader_filename = "gst/audio/gstringbuffer.h")]
 	public enum BufferFormat {
diff --git a/vapi/packages/gstreamer-audio-0.10/gstreamer-audio-0.10.gi b/vapi/packages/gstreamer-audio-0.10/gstreamer-audio-0.10.gi
index c6a6ebc..e099ccc 100644
--- a/vapi/packages/gstreamer-audio-0.10/gstreamer-audio-0.10.gi
+++ b/vapi/packages/gstreamer-audio-0.10/gstreamer-audio-0.10.gi
@@ -162,15 +162,15 @@
 			<member name="GST_AUDIO_FIELD_SIGNED" value="32"/>
 		</enum>
 		<enum name="GstBaseAudioSinkSlaveMethod" type-name="GstBaseAudioSinkSlaveMethod" get-type="gst_base_audio_sink_slave_method_get_type">
-			<member name="Resampling slaving" value="0"/>
-			<member name="Skew slaving" value="1"/>
-			<member name="No slaving" value="2"/>
+			<member name="GST_BASE_AUDIO_SINK_SLAVE_RESAMPLE" value="0"/>
+			<member name="GST_BASE_AUDIO_SINK_SLAVE_SKEW" value="1"/>
+			<member name="GST_BASE_AUDIO_SINK_SLAVE_NONE" value="2"/>
 		</enum>
 		<enum name="GstBaseAudioSrcSlaveMethod" type-name="GstBaseAudioSrcSlaveMethod" get-type="gst_base_audio_src_slave_method_get_type">
-			<member name="Resampling slaving" value="0"/>
-			<member name="Re-timestamp" value="1"/>
-			<member name="Skew" value="2"/>
-			<member name="No slaving" value="3"/>
+			<member name="GST_BASE_AUDIO_SRC_SLAVE_RESAMPLE" value="0"/>
+			<member name="GST_BASE_AUDIO_SRC_SLAVE_RETIMESTAMP" value="1"/>
+			<member name="GST_BASE_AUDIO_SRC_SLAVE_SKEW" value="2"/>
+			<member name="GST_BASE_AUDIO_SRC_SLAVE_NONE" value="3"/>
 		</enum>
 		<enum name="GstBufferFormat" type-name="GstBufferFormat" get-type="gst_buffer_format_get_type">
 			<member name="GST_UNKNOWN" value="0"/>



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