audioconvert.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GSTREAMERMM_AUDIOCONVERT_H
00004 #define _GSTREAMERMM_AUDIOCONVERT_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* gstreamermm - a C++ wrapper for gstreamer
00010  *
00011  * Copyright 2008 The gstreamermm Development Team
00012  *
00013  * This library is free software; you can redistribute it and/or
00014  * modify it under the terms of the GNU Lesser General Public
00015  * License as published by the Free Software Foundation; either
00016  * version 2.1 of the License, or (at your option) any later version.
00017  *
00018  * This library is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00021  * Lesser General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU Lesser General Public
00024  * License along with this library; if not, write to the Free
00025  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00026  */
00027 
00028 #include <gstreamermm/basetransform.h>
00029 
00030 
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GstAudioConvert GstAudioConvert;
00033 typedef struct _GstAudioConvertClass GstAudioConvertClass;
00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00035 
00036 
00037 namespace Gst
00038 { class AudioConvert_Class; } // namespace Gst
00039 namespace Gst
00040 {
00041 
00047 enum AudioConvertDithering
00048 {
00049   AUDIO_CONVERT_DITHER_NONE,
00050   AUDIO_CONVERT_DITHER_RPDF,
00051   AUDIO_CONVERT_DITHER_TPDF,
00052   AUDIO_CONVERT_DITHER_TPDF_HF
00053 };
00054 
00055 } // namespace Gst
00056 
00057 
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059 namespace Glib
00060 {
00061 
00062 template <>
00063 class Value<Gst::AudioConvertDithering> : public Glib::Value_Enum<Gst::AudioConvertDithering>
00064 {
00065 public:
00066   static GType value_type() G_GNUC_CONST;
00067 };
00068 
00069 } // namespace Glib
00070 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00071 
00072 
00073 namespace Gst
00074 {
00075 
00079 enum AudioConvertNoiseShaping
00080 {
00081   AUDIO_CONVERT_NOISE_SHAPING_NONE,
00082   AUDIO_CONVERT_NOISE_SHAPING_ERROR_FEEDBACK,
00083   AUDIO_CONVERT_NOISE_SHAPING_SIMPLE,
00084   AUDIO_CONVERT_NOISE_SHAPING_MEDIUM,
00085   AUDIO_CONVERT_NOISE_SHAPING_HIGH
00086 };
00087 
00088 } // namespace Gst
00089 
00090 
00091 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00092 namespace Glib
00093 {
00094 
00095 template <>
00096 class Value<Gst::AudioConvertNoiseShaping> : public Glib::Value_Enum<Gst::AudioConvertNoiseShaping>
00097 {
00098 public:
00099   static GType value_type() G_GNUC_CONST;
00100 };
00101 
00102 } // namespace Glib
00103 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00104 
00105 
00106 namespace Gst
00107 {
00108 
00109 
00120 class AudioConvert
00121 : public Gst::BaseTransform
00122 {
00123   
00124 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00125 
00126 public:
00127   typedef AudioConvert CppObjectType;
00128   typedef AudioConvert_Class CppClassType;
00129   typedef GstAudioConvert BaseObjectType;
00130   typedef GstAudioConvertClass BaseClassType;
00131 
00132 private:  friend class AudioConvert_Class;
00133   static CppClassType audioconvert_class_;
00134 
00135 private:
00136   // noncopyable
00137   AudioConvert(const AudioConvert&);
00138   AudioConvert& operator=(const AudioConvert&);
00139 
00140 protected:
00141   explicit AudioConvert(const Glib::ConstructParams& construct_params);
00142   explicit AudioConvert(GstAudioConvert* castitem);
00143 
00144 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00145 
00146 public:
00147   virtual ~AudioConvert();
00148 
00149 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00150   static GType get_type()      G_GNUC_CONST;
00151   static GType get_base_type() G_GNUC_CONST;
00152 #endif
00153 
00155   GstAudioConvert*       gobj()       { return reinterpret_cast<GstAudioConvert*>(gobject_); }
00156 
00158   const GstAudioConvert* gobj() const { return reinterpret_cast<GstAudioConvert*>(gobject_); }
00159 
00161   GstAudioConvert* gobj_copy();
00162 
00163 private:
00164 
00165   
00166 protected:
00167   AudioConvert();
00168   AudioConvert(const Glib::ustring& name);
00169 
00170 public:
00174   static Glib::RefPtr<AudioConvert> create();
00175 
00176 
00180   static Glib::RefPtr<AudioConvert> create(const Glib::ustring& name);
00181 
00182 
00183   #ifdef GLIBMM_PROPERTIES_ENABLED
00184 
00190   Glib::PropertyProxy<AudioConvertDithering> property_dithering() ;
00191 #endif //#GLIBMM_PROPERTIES_ENABLED
00192 
00193 #ifdef GLIBMM_PROPERTIES_ENABLED
00194 
00200   Glib::PropertyProxy_ReadOnly<AudioConvertDithering> property_dithering() const;
00201 #endif //#GLIBMM_PROPERTIES_ENABLED
00202 
00203   #ifdef GLIBMM_PROPERTIES_ENABLED
00204 
00210   Glib::PropertyProxy<AudioConvertNoiseShaping> property_noise_shaping() ;
00211 #endif //#GLIBMM_PROPERTIES_ENABLED
00212 
00213 #ifdef GLIBMM_PROPERTIES_ENABLED
00214 
00220   Glib::PropertyProxy_ReadOnly<AudioConvertNoiseShaping> property_noise_shaping() const;
00221 #endif //#GLIBMM_PROPERTIES_ENABLED
00222 
00223 
00224 public:
00225 
00226 public:
00227   //C++ methods used to invoke GTK+ virtual functions:
00228 #ifdef GLIBMM_VFUNCS_ENABLED
00229 #endif //GLIBMM_VFUNCS_ENABLED
00230 
00231 protected:
00232   //GTK+ Virtual Functions (override these to change behaviour):
00233 #ifdef GLIBMM_VFUNCS_ENABLED
00234 #endif //GLIBMM_VFUNCS_ENABLED
00235 
00236   //Default Signal Handlers::
00237 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00238 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00239 
00240 
00241 };
00242 
00243 } //namespace Gst
00244 
00245 
00246 namespace Glib
00247 {
00256   Glib::RefPtr<Gst::AudioConvert> wrap(GstAudioConvert* object, bool take_copy = false);
00257 }
00258 
00259 
00260 #endif /* _GSTREAMERMM_AUDIOCONVERT_H */
00261 

Generated on Wed Aug 19 15:53:11 2009 for gstreamermm by  doxygen 1.5.4