00001
00002
00003 #ifndef _GSTREAMERMM_ALSAMIXER_H
00004 #define _GSTREAMERMM_ALSAMIXER_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/element.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 _GstAlsaMixerElement GstAlsaMixerElement;
00036 typedef struct _GstAlsaMixerElementClass GstAlsaMixerElementClass;
00037 #endif
00038
00039
00040 namespace Gst
00041 { class AlsaMixer_Class; }
00042 namespace Gst
00043 {
00044
00055 class AlsaMixer
00056 : public Gst::Element, public Gst::Interface, public Gst::Mixer, public Gst::PropertyProbe
00057 {
00058
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060
00061 public:
00062 typedef AlsaMixer CppObjectType;
00063 typedef AlsaMixer_Class CppClassType;
00064 typedef GstAlsaMixerElement BaseObjectType;
00065 typedef GstAlsaMixerElementClass BaseClassType;
00066
00067 private: friend class AlsaMixer_Class;
00068 static CppClassType alsamixer_class_;
00069
00070 private:
00071
00072 AlsaMixer(const AlsaMixer&);
00073 AlsaMixer& operator=(const AlsaMixer&);
00074
00075 protected:
00076 explicit AlsaMixer(const Glib::ConstructParams& construct_params);
00077 explicit AlsaMixer(GstAlsaMixerElement* castitem);
00078
00079 #endif
00080
00081 public:
00082 virtual ~AlsaMixer();
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 GstAlsaMixerElement* gobj() { return reinterpret_cast<GstAlsaMixerElement*>(gobject_); }
00091
00093 const GstAlsaMixerElement* gobj() const { return reinterpret_cast<GstAlsaMixerElement*>(gobject_); }
00094
00096 GstAlsaMixerElement* gobj_copy();
00097
00098 private:
00099
00100
00101 protected:
00102 AlsaMixer();
00103 AlsaMixer(const Glib::ustring& name);
00104
00105 public:
00109 static Glib::RefPtr<AlsaMixer> create();
00110
00111
00115 static Glib::RefPtr<AlsaMixer> 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::AlsaMixer> wrap(GstAlsaMixerElement* object, bool take_copy = false);
00182 }
00183
00184
00185 #endif
00186