00001
00002
00003 #ifndef _GSTREAMERMM_ALSASRC_H
00004 #define _GSTREAMERMM_ALSASRC_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/audiosrc.h>
00029 #include <gstreamermm/interface.h>
00030 #include <gstreamermm/mixer.h>
00031 #include <gstreamermm/propertyprobe.h>
00032
00033
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GstAlsaSrc GstAlsaSrc;
00036 typedef struct _GstAlsaSrcClass GstAlsaSrcClass;
00037 #endif
00038
00039
00040 namespace Gst
00041 { class AlsaSrc_Class; }
00042 namespace Gst
00043 {
00044
00055 class AlsaSrc
00056 : public Gst::AudioSrc, public Gst::Interface, public Gst::Mixer, public Gst::PropertyProbe
00057 {
00058
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060
00061 public:
00062 typedef AlsaSrc CppObjectType;
00063 typedef AlsaSrc_Class CppClassType;
00064 typedef GstAlsaSrc BaseObjectType;
00065 typedef GstAlsaSrcClass BaseClassType;
00066
00067 private: friend class AlsaSrc_Class;
00068 static CppClassType alsasrc_class_;
00069
00070 private:
00071
00072 AlsaSrc(const AlsaSrc&);
00073 AlsaSrc& operator=(const AlsaSrc&);
00074
00075 protected:
00076 explicit AlsaSrc(const Glib::ConstructParams& construct_params);
00077 explicit AlsaSrc(GstAlsaSrc* castitem);
00078
00079 #endif
00080
00081 public:
00082 virtual ~AlsaSrc();
00083
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085 static GType get_type() G_GNUC_CONST;
00086 static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088
00090 GstAlsaSrc* gobj() { return reinterpret_cast<GstAlsaSrc*>(gobject_); }
00091
00093 const GstAlsaSrc* gobj() const { return reinterpret_cast<GstAlsaSrc*>(gobject_); }
00094
00096 GstAlsaSrc* gobj_copy();
00097
00098 private:
00099
00100
00101 protected:
00102 AlsaSrc();
00103 AlsaSrc(const Glib::ustring& name);
00104
00105 public:
00109 static Glib::RefPtr<AlsaSrc> create();
00110
00111
00115 static Glib::RefPtr<AlsaSrc> create(const Glib::ustring& name);
00116
00117
00118 #ifdef GLIBMM_PROPERTIES_ENABLED
00119
00125 Glib::PropertyProxy<Glib::ustring> property_device() ;
00126 #endif //#GLIBMM_PROPERTIES_ENABLED
00127
00128 #ifdef GLIBMM_PROPERTIES_ENABLED
00129
00135 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device() const;
00136 #endif //#GLIBMM_PROPERTIES_ENABLED
00137
00138 #ifdef GLIBMM_PROPERTIES_ENABLED
00139
00145 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device_name() const;
00146 #endif //#GLIBMM_PROPERTIES_ENABLED
00147
00148
00149 public:
00150
00151 public:
00152
00153 #ifdef GLIBMM_VFUNCS_ENABLED
00154 #endif //GLIBMM_VFUNCS_ENABLED
00155
00156 protected:
00157
00158 #ifdef GLIBMM_VFUNCS_ENABLED
00159 #endif //GLIBMM_VFUNCS_ENABLED
00160
00161
00162 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00163 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00164
00165
00166 };
00167
00168 }
00169
00170
00171 namespace Glib
00172 {
00181 Glib::RefPtr<Gst::AlsaSrc> wrap(GstAlsaSrc* object, bool take_copy = false);
00182 }
00183
00184
00185 #endif
00186