00001
00002
00003 #ifndef _GSTREAMERMM_AUDIOSINK_H
00004 #define _GSTREAMERMM_AUDIOSINK_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 <gst/audio/gstaudiosink.h>
00029 #include <gstreamermm/baseaudiosink.h>
00030
00031
00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00033 typedef struct _GstAudioSink GstAudioSink;
00034 typedef struct _GstAudioSinkClass GstAudioSinkClass;
00035 #endif
00036
00037
00038 namespace Gst
00039 { class AudioSink_Class; }
00040 namespace Gst
00041 {
00042
00065 class AudioSink : public Gst::BaseAudioSink
00066 {
00067
00068 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00069
00070 public:
00071 typedef AudioSink CppObjectType;
00072 typedef AudioSink_Class CppClassType;
00073 typedef GstAudioSink BaseObjectType;
00074 typedef GstAudioSinkClass BaseClassType;
00075
00076 private: friend class AudioSink_Class;
00077 static CppClassType audiosink_class_;
00078
00079 private:
00080
00081 AudioSink(const AudioSink&);
00082 AudioSink& operator=(const AudioSink&);
00083
00084 protected:
00085 explicit AudioSink(const Glib::ConstructParams& construct_params);
00086 explicit AudioSink(GstAudioSink* castitem);
00087
00088 #endif
00089
00090 public:
00091 virtual ~AudioSink();
00092
00093 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00094 static GType get_type() G_GNUC_CONST;
00095 static GType get_base_type() G_GNUC_CONST;
00096 #endif
00097
00099 GstAudioSink* gobj() { return reinterpret_cast<GstAudioSink*>(gobject_); }
00100
00102 const GstAudioSink* gobj() const { return reinterpret_cast<GstAudioSink*>(gobject_); }
00103
00105 GstAudioSink* gobj_copy();
00106
00107 private:
00108
00109
00110 public:
00111
00112
00113
00114 public:
00115
00116 public:
00117
00118 #ifdef GLIBMM_VFUNCS_ENABLED
00119 #endif //GLIBMM_VFUNCS_ENABLED
00120
00121 protected:
00122
00123 #ifdef GLIBMM_VFUNCS_ENABLED
00124 #endif //GLIBMM_VFUNCS_ENABLED
00125
00126
00127 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00128 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00129
00130
00131 };
00132
00133 }
00134
00135
00136 namespace Glib
00137 {
00146 Glib::RefPtr<Gst::AudioSink> wrap(GstAudioSink* object, bool take_copy = false);
00147 }
00148
00149
00150 #endif
00151