[Vala] [PATCH] Manually patched the gstreamer-audio gi for odd enum symbols
- From: Víctor Manuel Jáquez Leal <ceyusa gmail com>
- To: vala-list gnome org
- Subject: [Vala] [PATCH] Manually patched the gstreamer-audio gi for odd enum symbols
- Date: Thu, 09 Apr 2009 20:15:38 +0200
valac complained about a wrong braces in gstreamer-audio-0.10, and
found a couple odd enum symbols.
---
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..7f3340d 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,
+ RETIMESTAM,
+ 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..3199a90 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_RETIMESTAM" 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"/>
--
1.5.6.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]