00001
00002
00003 #ifndef _GSTREAMERMM_ALSASINK_H
00004 #define _GSTREAMERMM_ALSASINK_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
00029
00030 #include <gstreamermm/audiosink.h>
00031 #include <gstreamermm/propertyprobe.h>
00032
00033
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GstAlsaSink GstAlsaSink;
00036 typedef struct _GstAlsaSinkClass GstAlsaSinkClass;
00037 #endif
00038
00039
00040 namespace Gst
00041 { class AlsaSink_Class; }
00042 namespace Gst
00043 {
00044
00055 class AlsaSink
00056 : public Gst::AudioSink, public Gst::PropertyProbe
00057 {
00058
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060
00061 public:
00062 typedef AlsaSink CppObjectType;
00063 typedef AlsaSink_Class CppClassType;
00064 typedef GstAlsaSink BaseObjectType;
00065 typedef GstAlsaSinkClass BaseClassType;
00066
00067 private: friend class AlsaSink_Class;
00068 static CppClassType alsasink_class_;
00069
00070 private:
00071
00072 AlsaSink(const AlsaSink&);
00073 AlsaSink& operator=(const AlsaSink&);
00074
00075 protected:
00076 explicit AlsaSink(const Glib::ConstructParams& construct_params);
00077 explicit AlsaSink(GstAlsaSink* castitem);
00078
00079 #endif
00080
00081 public:
00082 virtual ~AlsaSink();
00083
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085 static GType get_type() G_GNUC_CONST;
00086
00087
00088 static GType get_base_type() G_GNUC_CONST;
00089 #endif
00090
00092 GstAlsaSink* gobj() { return reinterpret_cast<GstAlsaSink*>(gobject_); }
00093
00095 const GstAlsaSink* gobj() const { return reinterpret_cast<GstAlsaSink*>(gobject_); }
00096
00098 GstAlsaSink* gobj_copy();
00099
00100 private:
00101
00102
00103 protected:
00104 AlsaSink();
00105 AlsaSink(const Glib::ustring& name);
00106
00107 public:
00111 static Glib::RefPtr<AlsaSink> create();
00112
00113
00117 static Glib::RefPtr<AlsaSink> create(const Glib::ustring& name);
00118
00119
00120 #ifdef GLIBMM_PROPERTIES_ENABLED
00121
00127 Glib::PropertyProxy<Glib::ustring> property_device() ;
00128 #endif //#GLIBMM_PROPERTIES_ENABLED
00129
00130 #ifdef GLIBMM_PROPERTIES_ENABLED
00131
00137 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device() const;
00138 #endif //#GLIBMM_PROPERTIES_ENABLED
00139
00140 #ifdef GLIBMM_PROPERTIES_ENABLED
00141
00147 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device_name() const;
00148 #endif //#GLIBMM_PROPERTIES_ENABLED
00149
00150
00151 public:
00152
00153 public:
00154
00155 #ifdef GLIBMM_VFUNCS_ENABLED
00156 #endif //GLIBMM_VFUNCS_ENABLED
00157
00158 protected:
00159
00160 #ifdef GLIBMM_VFUNCS_ENABLED
00161 #endif //GLIBMM_VFUNCS_ENABLED
00162
00163
00164 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00165 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00166
00167
00168 };
00169
00170 }
00171
00172
00173 namespace Glib
00174 {
00183 Glib::RefPtr<Gst::AlsaSink> wrap(GstAlsaSink* object, bool take_copy = false);
00184 }
00185
00186
00187 #endif
00188