00001
00002
00003 #ifndef _GSTREAMERMM_AUDIORESAMPLE_H
00004 #define _GSTREAMERMM_AUDIORESAMPLE_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #include <gstreamermm/basetransform.h>
00029
00030
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GstSpeexResample GstSpeexResample;
00033 typedef struct _GstSpeexResampleClass GstSpeexResampleClass;
00034 #endif
00035
00036
00037 namespace Gst
00038 { class AudioResample_Class; }
00039 namespace Gst
00040 {
00041
00052 class AudioResample
00053 : public Gst::BaseTransform
00054 {
00055
00056 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00057
00058 public:
00059 typedef AudioResample CppObjectType;
00060 typedef AudioResample_Class CppClassType;
00061 typedef GstSpeexResample BaseObjectType;
00062 typedef GstSpeexResampleClass BaseClassType;
00063
00064 private: friend class AudioResample_Class;
00065 static CppClassType audioresample_class_;
00066
00067 private:
00068
00069 AudioResample(const AudioResample&);
00070 AudioResample& operator=(const AudioResample&);
00071
00072 protected:
00073 explicit AudioResample(const Glib::ConstructParams& construct_params);
00074 explicit AudioResample(GstSpeexResample* castitem);
00075
00076 #endif
00077
00078 public:
00079 virtual ~AudioResample();
00080
00081 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00082 static GType get_type() G_GNUC_CONST;
00083 static GType get_base_type() G_GNUC_CONST;
00084 #endif
00085
00087 GstSpeexResample* gobj() { return reinterpret_cast<GstSpeexResample*>(gobject_); }
00088
00090 const GstSpeexResample* gobj() const { return reinterpret_cast<GstSpeexResample*>(gobject_); }
00091
00093 GstSpeexResample* gobj_copy();
00094
00095 private:
00096
00097
00098 protected:
00099 AudioResample();
00100 AudioResample(const Glib::ustring& name);
00101
00102 public:
00106 static Glib::RefPtr<AudioResample> create();
00107
00108
00112 static Glib::RefPtr<AudioResample> create(const Glib::ustring& name);
00113
00114
00115
00116
00117
00118
00119 public:
00120
00121 public:
00122
00123 #ifdef GLIBMM_VFUNCS_ENABLED
00124 #endif //GLIBMM_VFUNCS_ENABLED
00125
00126 protected:
00127
00128 #ifdef GLIBMM_VFUNCS_ENABLED
00129 #endif //GLIBMM_VFUNCS_ENABLED
00130
00131
00132 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00133 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00134
00135
00136 };
00137
00138 }
00139
00140
00141 namespace Glib
00142 {
00151 Glib::RefPtr<Gst::AudioResample> wrap(GstSpeexResample* object, bool take_copy = false);
00152 }
00153
00154
00155 #endif
00156