[gstreamermm: 2/167] removed BufferFormat enum type, format member from AudioRingBufferSpec - no more in gstreamer-1.0



commit bb6c31cbed7d73b6d13fcbf24d6836b90431f919
Author: Marcin Kolny at Flytronic <marcin kolny flytronic pl>
Date:   Tue Jul 23 14:27:20 2013 +0200

    removed BufferFormat enum type, format member from AudioRingBufferSpec - no more in gstreamer-1.0

 gstreamer/src/audioringbuffer.ccg |    3 +--
 gstreamer/src/audioringbuffer.hg  |    8 +-------
 2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/gstreamer/src/audioringbuffer.ccg b/gstreamer/src/audioringbuffer.ccg
index 5311a98..f56dd5f 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::AudioRingBufferFormatType type, Gst::BufferFormat format, bool sign,
+  Gst::AudioRingBufferFormatType type, bool sign,
   bool bigend, int width, int depth, int rate, int channels,
   guint64 latency_time, guint64 buffer_time, int segsize, int segtotal,
   int seglatency)
@@ -88,7 +88,6 @@ AudioRingBufferSpec::AudioRingBufferSpec(const Glib::RefPtr<Gst::Caps>& caps,
     caps->reference();
 
   spec->type = static_cast<GstAudioRingBufferFormatType>(type);
-  spec->format = static_cast<GstBufferFormat>(format);
   spec->sign = static_cast<int>(sign);
   spec->bigend = static_cast<int>(bigend);
   spec->width = width;
diff --git a/gstreamer/src/audioringbuffer.hg b/gstreamer/src/audioringbuffer.hg
index c04cc4c..87fa77a 100644
--- a/gstreamer/src/audioringbuffer.hg
+++ b/gstreamer/src/audioringbuffer.hg
@@ -31,7 +31,6 @@ namespace Gst
 
 _WRAP_ENUM(AudioRingBufferSegState, GstAudioRingBufferSegState)
 _WRAP_ENUM(AudioRingBufferState, GstAudioRingBufferState)
-_WRAP_ENUM(BufferFormat, GstBufferFormat)
 _WRAP_ENUM(AudioRingBufferFormatType, GstAudioRingBufferFormatType)
 
 /** A class containing the format specification of a Gst::AudioRingBuffer.
@@ -77,7 +76,7 @@ public:
    */
   AudioRingBufferSpec(const Glib::RefPtr<Gst::Caps>& caps,
     Gst::AudioRingBufferFormatType type = Gst::AUDIO_RING_BUFFER_FORMAT_TYPE_RAW,
-    Gst::BufferFormat format = Gst::UNKNOWN, bool sign = false,
+    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,
     int segsize = 0, int segtotal = 0, int seglatency = 0);
@@ -123,11 +122,6 @@ public:
 
   /** Get the sample format (in/out).
    */
-  _MEMBER_GET(format, format, Gst::BufferFormat, GstBufferFormat)
-
-  /** Set the sample format (in/out).
-   */
-  _MEMBER_SET(format, format, Gst::BufferFormat, GstBufferFormat)
 
   /** Get the sample sign (in/out).
    */


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