[gstreamermm: 1/167] fixed BufferFormatType - renamed to AudioRingBufferFormatType



commit cd5dded6b45f6ba814a9eeb50e80de48ef3c3645
Author: Marcin Kolny at Flytronic <marcin kolny flytronic pl>
Date:   Tue Jul 23 14:18:36 2013 +0200

    fixed BufferFormatType - renamed to AudioRingBufferFormatType

 gstreamer/src/audioringbuffer.ccg |    4 ++--
 gstreamer/src/audioringbuffer.hg  |    8 ++++----
 tools/m4/convert_gst.m4           |    2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gstreamer/src/audioringbuffer.ccg b/gstreamer/src/audioringbuffer.ccg
index 2868f5e..5311a98 100644
--- a/gstreamer/src/audioringbuffer.ccg
+++ b/gstreamer/src/audioringbuffer.ccg
@@ -64,7 +64,7 @@ AudioRingBufferSpec::AudioRingBufferSpec()
 }
 
 AudioRingBufferSpec::AudioRingBufferSpec(const Glib::RefPtr<Gst::Caps>& caps,
-  Gst::BufferFormatType type, Gst::BufferFormat format, bool sign,
+  Gst::AudioRingBufferFormatType type, Gst::BufferFormat format, bool sign,
   bool bigend, int width, int depth, int rate, int channels,
   guint64 latency_time, guint64 buffer_time, int segsize, int segtotal,
   int seglatency)
@@ -87,7 +87,7 @@ AudioRingBufferSpec::AudioRingBufferSpec(const Glib::RefPtr<Gst::Caps>& caps,
   if (caps)
     caps->reference();
 
-  spec->type = static_cast<GstBufferFormatType>(type);
+  spec->type = static_cast<GstAudioRingBufferFormatType>(type);
   spec->format = static_cast<GstBufferFormat>(format);
   spec->sign = static_cast<int>(sign);
   spec->bigend = static_cast<int>(bigend);
diff --git a/gstreamer/src/audioringbuffer.hg b/gstreamer/src/audioringbuffer.hg
index ab39807..c04cc4c 100644
--- a/gstreamer/src/audioringbuffer.hg
+++ b/gstreamer/src/audioringbuffer.hg
@@ -32,7 +32,7 @@ namespace Gst
 _WRAP_ENUM(AudioRingBufferSegState, GstAudioRingBufferSegState)
 _WRAP_ENUM(AudioRingBufferState, GstAudioRingBufferState)
 _WRAP_ENUM(BufferFormat, GstBufferFormat)
-_WRAP_ENUM(BufferFormatType, GstBufferFormatType)
+_WRAP_ENUM(AudioRingBufferFormatType, GstAudioRingBufferFormatType)
 
 /** A class containing the format specification of a Gst::AudioRingBuffer.
  * Gst::AudioRingBufferSpec contains the format specification of a
@@ -76,7 +76,7 @@ public:
    * Gst::AudioRingBufferSpec.
    */
   AudioRingBufferSpec(const Glib::RefPtr<Gst::Caps>& caps,
-    Gst::BufferFormatType type = Gst::BUFTYPE_LINEAR,
+    Gst::AudioRingBufferFormatType type = Gst::AUDIO_RING_BUFFER_FORMAT_TYPE_RAW,
     Gst::BufferFormat format = Gst::UNKNOWN, bool sign = false,
     bool bigend = false, int width = 0, int depth = 0, int rate = 0,
     int channels = 0, guint64 latency_time = 0, guint64 buffer_time = 0,
@@ -115,11 +115,11 @@ public:
 
   /** Get the sample type (in/out).
    */
-  _MEMBER_GET(type, type, Gst::BufferFormatType, GstBufferFormatType)
+  _MEMBER_GET(type, type, Gst::AudioRingBufferFormatType, GstAudioRingBufferFormatType)
 
   /** Set the sample type (in/out).
    */
-  _MEMBER_SET(type, type, Gst::BufferFormatType, GstBufferFormatType)
+  _MEMBER_SET(type, type, Gst::AudioRingBufferFormatType, GstAudioRingBufferFormatType)
 
   /** Get the sample format (in/out).
    */
diff --git a/tools/m4/convert_gst.m4 b/tools/m4/convert_gst.m4
index 34b44b2..1fc7a79 100644
--- a/tools/m4/convert_gst.m4
+++ b/tools/m4/convert_gst.m4
@@ -8,7 +8,7 @@ _CONV_ENUM(Gst,AudioBaseSrcSlaveMethod)
 _CONV_ENUM(Gst,BufferCopyFlags)
 _CONV_ENUM(Gst,BufferFlag)
 _CONV_ENUM(Gst,BufferFormat)
-_CONV_ENUM(Gst,BufferFormatType)
+_CONV_ENUM(Gst,AudioRingBufferFormatType)
 _CONV_ENUM(Gst,CapsIntersectMode)
 _CONV_ENUM(Gst,ClockEntryType)
 _CONV_ENUM(Gst,ClockReturn)


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