Debian Codegraph @

gstreamer/gstreamermm/vorbisenc.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_VORBISENC_H
3 #define _GSTREAMERMM_VORBISENC_H
4
5 #include <gstreamermmconfig.h>
6
7 #ifndef GSTREAMERMM_DISABLE_DEPRECATED
8
9
10 #include <glibmm/ustring.h>
11 #include <sigc++/sigc++.h>
12
13 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
14
15
16 #include <gstreamermm/element.h>
17 #include <gstreamermm/tagsetter.h>
18
19
20 #ifndef DOXYGEN_SHOULD_SKIP_THIS
21 using GstVorbisEnc = struct _GstVorbisEnc;
22 using GstVorbisEncClass = struct _GstVorbisEncClass;
23 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
24
25
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 namespace Gst
28 { class VorbisEnc_Class; } // namespace Gst
29 #endif //DOXYGEN_SHOULD_SKIP_THIS
30
31 namespace Gst
32 {
33
34 /** A Wrapper for the vorbisenc plugin.
35 * Please note that not all plug-ins are available on all systems so care
36 * must be taken that they exist before they are used otherwise there will
37 * be errors and possibly a crash.
38 *
39 * @ingroup GstPlugins
40 * @deprecated Plugins API is deprecated, and should not be used in a new code.
41 */
42
43 class VorbisEnc
44 : public Gst::Element, public Gst::TagSetter
45 {
46
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS
48
49 public:
50 using CppObjectType = VorbisEnc;
51 using CppClassType = VorbisEnc_Class;
52 using BaseObjectType = GstVorbisEnc;
53 using BaseClassType = GstVorbisEncClass;
54
55 // noncopyable
56 VorbisEnc(const VorbisEnc&) = delete;
57 VorbisEnc& operator=(const VorbisEnc&) = delete;
58
59 private: friend class VorbisEnc_Class;
60 static CppClassType vorbisenc_class_;
61
62 protected:
63 explicit VorbisEnc(const Glib::ConstructParams& construct_params);
64 explicit VorbisEnc(GstVorbisEnc* castitem);
65
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
67
68 public:
69
70 VorbisEnc(VorbisEnc&& src) noexcept;
71 VorbisEnc& operator=(VorbisEnc&& src) noexcept;
72
73 ~VorbisEnc() noexcept override;
74
75 /** Get the GType for this class, for use with the underlying GObject type system.
76 */
77 static GType get_type() G_GNUC_CONST;
78
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80
81
82 static GType get_base_type() G_GNUC_CONST;
83 #endif
84
85 ///Provides access to the underlying C GObject.
86 GstVorbisEnc* gobj() { return reinterpret_cast<GstVorbisEnc*>(gobject_); }
87
88 ///Provides access to the underlying C GObject.
89 const GstVorbisEnc* gobj() const { return reinterpret_cast<GstVorbisEnc*>(gobject_); }
90
91 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
92 GstVorbisEnc* gobj_copy();
93
94 private:
95
96
97 protected:
98 VorbisEnc();
99 explicit VorbisEnc(const Glib::ustring& name);
100
101 public:
102 /** Creates a new vorbisenc plugin with a unique name.
103 */
104
105 static Glib::RefPtr<VorbisEnc> create();
106
107
108 /** Creates a new vorbisenc plugin with the given name.
109 */
110
111 static Glib::RefPtr<VorbisEnc> create(const Glib::ustring& name);
112
113
114 /** Specify a maximum bitrate (in bps). Useful for streaming applications. (-1 == disabled).
115 *
116 * @return A PropertyProxy that allows you to get or set the value of the property,
117 * or receive notification when the value of the property changes.
118 */
119 Glib::PropertyProxy< int > property_max_bitrate() ;
120
121 /** Specify a maximum bitrate (in bps). Useful for streaming applications. (-1 == disabled).
122 *
123 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
124 * or receive notification when the value of the property changes.
125 */
126 Glib::PropertyProxy_ReadOnly< int > property_max_bitrate() const;
127
128 /** Attempt to encode at a bitrate averaging this (in bps). This uses the bitrate management engine, and is not recommended for most users. Quality is a better alternative. (-1 == disabled).
129 *
130 * @return A PropertyProxy that allows you to get or set the value of the property,
131 * or receive notification when the value of the property changes.
132 */
133 Glib::PropertyProxy< int > property_bitrate() ;
134
135 /** Attempt to encode at a bitrate averaging this (in bps). This uses the bitrate management engine, and is not recommended for most users. Quality is a better alternative. (-1 == disabled).
136 *
137 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
138 * or receive notification when the value of the property changes.
139 */
140 Glib::PropertyProxy_ReadOnly< int > property_bitrate() const;
141
142 /** Specify a minimum bitrate (in bps). Useful for encoding for a fixed-size channel. (-1 == disabled).
143 *
144 * @return A PropertyProxy that allows you to get or set the value of the property,
145 * or receive notification when the value of the property changes.
146 */
147 Glib::PropertyProxy< int > property_min_bitrate() ;
148
149 /** Specify a minimum bitrate (in bps). Useful for encoding for a fixed-size channel. (-1 == disabled).
150 *
151 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
152 * or receive notification when the value of the property changes.
153 */
154 Glib::PropertyProxy_ReadOnly< int > property_min_bitrate() const;
155
156 /** Specify quality instead of specifying a particular bitrate.
157 *
158 * @return A PropertyProxy that allows you to get or set the value of the property,
159 * or receive notification when the value of the property changes.
160 */
161 Glib::PropertyProxy< float > property_quality() ;
162
163 /** Specify quality instead of specifying a particular bitrate.
164 *
165 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
166 * or receive notification when the value of the property changes.
167 */
168 Glib::PropertyProxy_ReadOnly< float > property_quality() const;
169
170 /** Enable bitrate management engine.
171 *
172 * @return A PropertyProxy that allows you to get or set the value of the property,
173 * or receive notification when the value of the property changes.
174 */
175 Glib::PropertyProxy< bool > property_managed() ;
176
177 /** Enable bitrate management engine.
178 *
179 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
180 * or receive notification when the value of the property changes.
181 */
182 Glib::PropertyProxy_ReadOnly< bool > property_managed() const;
183
184 /** The last status message.
185 *
186 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
187 * or receive notification when the value of the property changes.
188 */
189 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_last_message() const;
190
191
192 public:
193
194 public:
195 //C++ methods used to invoke GTK+ virtual functions:
196
197 protected:
198 //GTK+ Virtual Functions (override these to change behaviour):
199
200 //Default Signal Handlers::
201
202
203 };
204
205 } // namespace Gst
206
207
208 namespace Glib
209 {
210 /** A Glib::wrap() method for this object.
211 *
212 * @param object The C instance.
213 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
214 * @result A C++ instance that wraps this C instance.
215 *
216 * @relates Gst::VorbisEnc
217 */
218 Glib::RefPtr<Gst::VorbisEnc> wrap(GstVorbisEnc* object, bool take_copy = false);
219 }
220
221
222 #endif // GSTREAMERMM_DISABLE_DEPRECATED
223
224
225 #endif /* _GSTREAMERMM_VORBISENC_H */
226