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
00045
00056 class AlsaSrc
00057 : public Gst::AudioSrc, public Gst::Interface, public Gst::Mixer, public Gst::PropertyProbe
00058 {
00059
00060 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00061
00062 public:
00063 typedef AlsaSrc CppObjectType;
00064 typedef AlsaSrc_Class CppClassType;
00065 typedef GstAlsaSrc BaseObjectType;
00066 typedef GstAlsaSrcClass BaseClassType;
00067
00068 private: friend class AlsaSrc_Class;
00069 static CppClassType alsasrc_class_;
00070
00071 private:
00072
00073 AlsaSrc(const AlsaSrc&);
00074 AlsaSrc& operator=(const AlsaSrc&);
00075
00076 protected:
00077 explicit AlsaSrc(const Glib::ConstructParams& construct_params);
00078 explicit AlsaSrc(GstAlsaSrc* castitem);
00079
00080 #endif
00081
00082 public:
00083 virtual ~AlsaSrc();
00084
00085 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00086 static GType get_type() G_GNUC_CONST;
00087 static GType get_base_type() G_GNUC_CONST;
00088 #endif
00089
00091 GstAlsaSrc* gobj() { return reinterpret_cast<GstAlsaSrc*>(gobject_); }
00092
00094 const GstAlsaSrc* gobj() const { return reinterpret_cast<GstAlsaSrc*>(gobject_); }
00095
00097 GstAlsaSrc* gobj_copy();
00098
00099 private:
00100
00101
00102 protected:
00103 AlsaSrc();
00104 AlsaSrc(const Glib::ustring& name);
00105
00106 public:
00110 static Glib::RefPtr<AlsaSrc> create();
00111
00112
00116 static Glib::RefPtr<AlsaSrc> create(const Glib::ustring& name);
00117
00118
00119 #ifdef GLIBMM_PROPERTIES_ENABLED
00120
00126 Glib::PropertyProxy<Glib::ustring> property_device() ;
00127 #endif //#GLIBMM_PROPERTIES_ENABLED
00128
00129 #ifdef GLIBMM_PROPERTIES_ENABLED
00130
00136 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device() const;
00137 #endif //#GLIBMM_PROPERTIES_ENABLED
00138
00139 #ifdef GLIBMM_PROPERTIES_ENABLED
00140
00146 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device_name() const;
00147 #endif //#GLIBMM_PROPERTIES_ENABLED
00148
00149
00150 public:
00151
00152 public:
00153
00154 #ifdef GLIBMM_VFUNCS_ENABLED
00155 #endif //GLIBMM_VFUNCS_ENABLED
00156
00157 protected:
00158
00159 #ifdef GLIBMM_VFUNCS_ENABLED
00160 #endif //GLIBMM_VFUNCS_ENABLED
00161
00162
00163 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00164 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00165
00166
00167 };
00168
00169 }
00170
00171
00172 namespace Glib
00173 {
00182 Glib::RefPtr<Gst::AlsaSrc> wrap(GstAlsaSrc* object, bool take_copy = false);
00183 }
00184
00185
00186 #endif
00187