Debian Codegraph @

gstreamer/gstreamermm/audioformat.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/audioformat.h`/
2 #ifndef _GSTREAMERMM_AUDIOFORMAT_H
3 #define _GSTREAMERMM_AUDIOFORMAT_Hcxx . . $ `gstreamer/gstreamermm/audioformat.h:3:9`!
4
5
6 #include <glibmm/ustring.h>
7 #include <sigc++/sigc++.h>
8
9 /* gstreamermm - a C++ wrapper for gstreamer
10 *
11 * Copyright 2008-2016 The gstreamermm Development Team
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2.1 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the Free
25 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 */
27
28 #include <gst/audio/audio-format.h>
29
30
31 namespace Gstcxx . . $ Gst/
32 {
33
34 /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */
35
36 /**
37 * @var AudioFormat AUDIO_FORMAT_UNKNOWN
38 * Unknown or unset audio format.
39 *
40 * @var AudioFormat AUDIO_FORMAT_ENCODED
41 * Encoded audio format.
42 *
43 * @var AudioFormat AUDIO_FORMAT_S8
44 * 8 bits in 8 bits, signed.
45 *
46 * @var AudioFormat AUDIO_FORMAT_U8
47 * 8 bits in 8 bits, unsigned.
48 *
49 * @var AudioFormat AUDIO_FORMAT_S16LE
50 * 16 bits in 16 bits, signed, little endian.
51 *
52 * @var AudioFormat AUDIO_FORMAT_S16BE
53 * 16 bits in 16 bits, signed, big endian.
54 *
55 * @var AudioFormat AUDIO_FORMAT_U16LE
56 * 16 bits in 16 bits, unsigned, little endian.
57 *
58 * @var AudioFormat AUDIO_FORMAT_U16BE
59 * 16 bits in 16 bits, unsigned, big endian.
60 *
61 * @var AudioFormat AUDIO_FORMAT_S24_32LE
62 * 24 bits in 32 bits, signed, little endian.
63 *
64 * @var AudioFormat AUDIO_FORMAT_S24_32BE
65 * 24 bits in 32 bits, signed, big endian.
66 *
67 * @var AudioFormat AUDIO_FORMAT_U24_32LE
68 * 24 bits in 32 bits, unsigned, little endian.
69 *
70 * @var AudioFormat AUDIO_FORMAT_U24_32BE
71 * 24 bits in 32 bits, unsigned, big endian.
72 *
73 * @var AudioFormat AUDIO_FORMAT_S32LE
74 * 32 bits in 32 bits, signed, little endian.
75 *
76 * @var AudioFormat AUDIO_FORMAT_S32BE
77 * 32 bits in 32 bits, signed, big endian.
78 *
79 * @var AudioFormat AUDIO_FORMAT_U32LE
80 * 32 bits in 32 bits, unsigned, little endian.
81 *
82 * @var AudioFormat AUDIO_FORMAT_U32BE
83 * 32 bits in 32 bits, unsigned, big endian.
84 *
85 * @var AudioFormat AUDIO_FORMAT_S24LE
86 * 24 bits in 24 bits, signed, little endian.
87 *
88 * @var AudioFormat AUDIO_FORMAT_S24BE
89 * 24 bits in 24 bits, signed, big endian.
90 *
91 * @var AudioFormat AUDIO_FORMAT_U24LE
92 * 24 bits in 24 bits, unsigned, little endian.
93 *
94 * @var AudioFormat AUDIO_FORMAT_U24BE
95 * 24 bits in 24 bits, unsigned, big endian.
96 *
97 * @var AudioFormat AUDIO_FORMAT_S20LE
98 * 20 bits in 24 bits, signed, little endian.
99 *
100 * @var AudioFormat AUDIO_FORMAT_S20BE
101 * 20 bits in 24 bits, signed, big endian.
102 *
103 * @var AudioFormat AUDIO_FORMAT_U20LE
104 * 20 bits in 24 bits, unsigned, little endian.
105 *
106 * @var AudioFormat AUDIO_FORMAT_U20BE
107 * 20 bits in 24 bits, unsigned, big endian.
108 *
109 * @var AudioFormat AUDIO_FORMAT_S18LE
110 * 18 bits in 24 bits, signed, little endian.
111 *
112 * @var AudioFormat AUDIO_FORMAT_S18BE
113 * 18 bits in 24 bits, signed, big endian.
114 *
115 * @var AudioFormat AUDIO_FORMAT_U18LE
116 * 18 bits in 24 bits, unsigned, little endian.
117 *
118 * @var AudioFormat AUDIO_FORMAT_U18BE
119 * 18 bits in 24 bits, unsigned, big endian.
120 *
121 * @var AudioFormat AUDIO_FORMAT_F32LE
122 * 32-bit floating point samples, little endian.
123 *
124 * @var AudioFormat AUDIO_FORMAT_F32BE
125 * 32-bit floating point samples, big endian.
126 *
127 * @var AudioFormat AUDIO_FORMAT_F64LE
128 * 64-bit floating point samples, little endian.
129 *
130 * @var AudioFormat AUDIO_FORMAT_F64BE
131 * 64-bit floating point samples, big endian.
132 *
133 * @var AudioFormat AUDIO_FORMAT_S16
134 * 16 bits in 16 bits, signed, native endianness.
135 *
136 * @var AudioFormat AUDIO_FORMAT_U16
137 * 16 bits in 16 bits, unsigned, native endianness.
138 *
139 * @var AudioFormat AUDIO_FORMAT_S24_32
140 * 24 bits in 32 bits, signed, native endianness.
141 *
142 * @var AudioFormat AUDIO_FORMAT_U24_32
143 * 24 bits in 32 bits, unsigned, native endianness.
144 *
145 * @var AudioFormat AUDIO_FORMAT_S32
146 * 32 bits in 32 bits, signed, native endianness.
147 *
148 * @var AudioFormat AUDIO_FORMAT_U32
149 * 32 bits in 32 bits, unsigned, native endianness.
150 *
151 * @var AudioFormat AUDIO_FORMAT_S24
152 * 24 bits in 24 bits, signed, native endianness.
153 *
154 * @var AudioFormat AUDIO_FORMAT_U24
155 * 24 bits in 24 bits, unsigned, native endianness.
156 *
157 * @var AudioFormat AUDIO_FORMAT_S20
158 * 20 bits in 24 bits, signed, native endianness.
159 *
160 * @var AudioFormat AUDIO_FORMAT_U20
161 * 20 bits in 24 bits, unsigned, native endianness.
162 *
163 * @var AudioFormat AUDIO_FORMAT_S18
164 * 18 bits in 24 bits, signed, native endianness.
165 *
166 * @var AudioFormat AUDIO_FORMAT_U18
167 * 18 bits in 24 bits, unsigned, native endianness.
168 *
169 * @var AudioFormat AUDIO_FORMAT_F32
170 * 32-bit floating point samples, native endianness.
171 *
172 * @var AudioFormat AUDIO_FORMAT_F64
173 * 64-bit floating point samples, native endianness.
174 *
175 * @enum AudioFormat
176 *
177 * Enum value describing the most common audio formats.
178 *
179 * @ingroup gstreamermmEnums
180 */
181 enum AudioFormatcxx . . $ Gst/AudioFormat#
182 {
183 AUDIO_FORMAT_UNKNOWNcxx . . $ Gst/AUDIO_FORMAT_UNKNOWN. = 0,
184 AUDIO_FORMAT_ENCODEDcxx . . $ Gst/AUDIO_FORMAT_ENCODED. = 1,
185 AUDIO_FORMAT_S8cxx . . $ Gst/AUDIO_FORMAT_S8. = 2,
186 AUDIO_FORMAT_U8cxx . . $ Gst/AUDIO_FORMAT_U8. = 3,
187 AUDIO_FORMAT_S16LEcxx . . $ Gst/AUDIO_FORMAT_S16LE. = 4,
188 AUDIO_FORMAT_S16BEcxx . . $ Gst/AUDIO_FORMAT_S16BE. = 5,
189 AUDIO_FORMAT_U16LEcxx . . $ Gst/AUDIO_FORMAT_U16LE. = 6,
190 AUDIO_FORMAT_U16BEcxx . . $ Gst/AUDIO_FORMAT_U16BE. = 7,
191 AUDIO_FORMAT_S24_32LEcxx . . $ Gst/AUDIO_FORMAT_S24_32LE. = 8,
192 AUDIO_FORMAT_S24_32BEcxx . . $ Gst/AUDIO_FORMAT_S24_32BE. = 9,
193 AUDIO_FORMAT_U24_32LEcxx . . $ Gst/AUDIO_FORMAT_U24_32LE. = 10,
194 AUDIO_FORMAT_U24_32BEcxx . . $ Gst/AUDIO_FORMAT_U24_32BE. = 11,
195 AUDIO_FORMAT_S32LEcxx . . $ Gst/AUDIO_FORMAT_S32LE. = 12,
196 AUDIO_FORMAT_S32BEcxx . . $ Gst/AUDIO_FORMAT_S32BE. = 13,
197 AUDIO_FORMAT_U32LEcxx . . $ Gst/AUDIO_FORMAT_U32LE. = 14,
198 AUDIO_FORMAT_U32BEcxx . . $ Gst/AUDIO_FORMAT_U32BE. = 15,
199 AUDIO_FORMAT_S24LEcxx . . $ Gst/AUDIO_FORMAT_S24LE. = 16,
200 AUDIO_FORMAT_S24BEcxx . . $ Gst/AUDIO_FORMAT_S24BE. = 17,
201 AUDIO_FORMAT_U24LEcxx . . $ Gst/AUDIO_FORMAT_U24LE. = 18,
202 AUDIO_FORMAT_U24BEcxx . . $ Gst/AUDIO_FORMAT_U24BE. = 19,
203 AUDIO_FORMAT_S20LEcxx . . $ Gst/AUDIO_FORMAT_S20LE. = 20,
204 AUDIO_FORMAT_S20BEcxx . . $ Gst/AUDIO_FORMAT_S20BE. = 21,
205 AUDIO_FORMAT_U20LEcxx . . $ Gst/AUDIO_FORMAT_U20LE. = 22,
206 AUDIO_FORMAT_U20BEcxx . . $ Gst/AUDIO_FORMAT_U20BE. = 23,
207 AUDIO_FORMAT_S18LEcxx . . $ Gst/AUDIO_FORMAT_S18LE. = 24,
208 AUDIO_FORMAT_S18BEcxx . . $ Gst/AUDIO_FORMAT_S18BE. = 25,
209 AUDIO_FORMAT_U18LEcxx . . $ Gst/AUDIO_FORMAT_U18LE. = 26,
210 AUDIO_FORMAT_U18BEcxx . . $ Gst/AUDIO_FORMAT_U18BE. = 27,
211 AUDIO_FORMAT_F32LEcxx . . $ Gst/AUDIO_FORMAT_F32LE. = 28,
212 AUDIO_FORMAT_F32BEcxx . . $ Gst/AUDIO_FORMAT_F32BE. = 29,
213 AUDIO_FORMAT_F64LEcxx . . $ Gst/AUDIO_FORMAT_F64LE. = 30,
214 AUDIO_FORMAT_F64BEcxx . . $ Gst/AUDIO_FORMAT_F64BE. = 31,
215 AUDIO_FORMAT_S16cxx . . $ Gst/AUDIO_FORMAT_S16. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(S16),
216 AUDIO_FORMAT_U16cxx . . $ Gst/AUDIO_FORMAT_U16. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(U16),
217 AUDIO_FORMAT_S24_32cxx . . $ Gst/AUDIO_FORMAT_S24_32. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(S24_32),
218 AUDIO_FORMAT_U24_32cxx . . $ Gst/AUDIO_FORMAT_U24_32. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(U24_32),
219 AUDIO_FORMAT_S32cxx . . $ Gst/AUDIO_FORMAT_S32. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(S32),
220 AUDIO_FORMAT_U32cxx . . $ Gst/AUDIO_FORMAT_U32. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(U32),
221 AUDIO_FORMAT_S24cxx . . $ Gst/AUDIO_FORMAT_S24. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(S24),
222 AUDIO_FORMAT_U24cxx . . $ Gst/AUDIO_FORMAT_U24. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(U24),
223 AUDIO_FORMAT_S20cxx . . $ Gst/AUDIO_FORMAT_S20. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(S20),
224 AUDIO_FORMAT_U20cxx . . $ Gst/AUDIO_FORMAT_U20. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(U20),
225 AUDIO_FORMAT_S18cxx . . $ Gst/AUDIO_FORMAT_S18. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(S18),
226 AUDIO_FORMAT_U18cxx . . $ Gst/AUDIO_FORMAT_U18. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(U18),
227 AUDIO_FORMAT_F32cxx . . $ Gst/AUDIO_FORMAT_F32. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(F32),
228 AUDIO_FORMAT_F64cxx . . $ Gst/AUDIO_FORMAT_F64. = _GST_AUDIO_FORMAT_NEcxx . . $ `<external>/17752411578235149350/audio-format.h:35:9`!(F64)
229 };
230
231 } // namespace Gst
232
233 #ifndef DOXYGEN_SHOULD_SKIP_THIS
234 namespace Glibcxx . . $ Glib/
235 {
236
237 template <>
238 class Valuecxx . . $ Glib/Value#<Gstcxx . . $ Gst/::AudioFormatcxx . . $ Gst/AudioFormat#> : public Glibcxx . . $ Glib/::Value_Enumcxx . . $ Glib/Value_Enum#<Gstcxx . . $ Gst/::AudioFormatcxx . . $ Gst/AudioFormat#>
239 {
240 public:
241 static GType value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!;
242 };
243
244 } // namespace Glib
245 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
246
247 namespace Gstcxx . . $ Gst/
248 {
249
250 /**
251 * @var AudioFormatFlags AUDIO_FORMAT_FLAG_INTEGER
252 * Integer samples.
253 *
254 * @var AudioFormatFlags AUDIO_FORMAT_FLAG_FLOAT
255 * Float samples.
256 *
257 * @var AudioFormatFlags AUDIO_FORMAT_FLAG_SIGNED
258 * Signed samples.
259 *
260 * @var AudioFormatFlags AUDIO_FORMAT_FLAG_COMPLEX
261 * Complex layout.
262 *
263 * @var AudioFormatFlags AUDIO_FORMAT_FLAG_UNPACK
264 * The format can be used in
265 * Gst::AudioFormatUnpack and Gst::AudioFormatPack functions.
266 *
267 * @enum AudioFormatFlags
268 *
269 * The different audio flags that a format info can have.
270 *
271 * @ingroup gstreamermmEnums
272 * @par Bitwise operators:
273 * <tt>%AudioFormatFlags operator|(AudioFormatFlags, AudioFormatFlags)</tt><br>
274 * <tt>%AudioFormatFlags operator&(AudioFormatFlags, AudioFormatFlags)</tt><br>
275 * <tt>%AudioFormatFlags operator^(AudioFormatFlags, AudioFormatFlags)</tt><br>
276 * <tt>%AudioFormatFlags operator~(AudioFormatFlags)</tt><br>
277 * <tt>%AudioFormatFlags& operator|=(AudioFormatFlags&, AudioFormatFlags)</tt><br>
278 * <tt>%AudioFormatFlags& operator&=(AudioFormatFlags&, AudioFormatFlags)</tt><br>
279 * <tt>%AudioFormatFlags& operator^=(AudioFormatFlags&, AudioFormatFlags)</tt><br>
280 */
281 enum AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#
282 {
283 AUDIO_FORMAT_FLAG_INTEGERcxx . . $ Gst/AUDIO_FORMAT_FLAG_INTEGER. = (1 << 0),
284 AUDIO_FORMAT_FLAG_FLOATcxx . . $ Gst/AUDIO_FORMAT_FLAG_FLOAT. = (1 << 1),
285 AUDIO_FORMAT_FLAG_SIGNEDcxx . . $ Gst/AUDIO_FORMAT_FLAG_SIGNED. = (1 << 2),
286 AUDIO_FORMAT_FLAG_COMPLEXcxx . . $ Gst/AUDIO_FORMAT_FLAG_COMPLEX. = (1 << 4),
287 AUDIO_FORMAT_FLAG_UNPACKcxx . . $ Gst/AUDIO_FORMAT_FLAG_UNPACK. = (1 << 5)
288 };
289
290 /** @ingroup gstreamermmEnums */
291 inline AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# operatorcxx . . $ Gst/`operator|`(3316f167eace9e32).|(AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# lhs, AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# rhs)
292 { return static_cast<AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
293
294 /** @ingroup gstreamermmEnums */
295 inline AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# operatorcxx . . $ Gst/`operator&`(3316f167eace9e32).&(AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# lhs, AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# rhs)
296 { return static_cast<AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
297
298 /** @ingroup gstreamermmEnums */
299 inline AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# operatorcxx . . $ Gst/`operator^`(3316f167eace9e32).^(AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# lhs, AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# rhs)
300 { return static_cast<AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
301
302 /** @ingroup gstreamermmEnums */
303 inline AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# operatorcxx . . $ Gst/`operator~`(28dfcb3d538e4fe4).~(AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# flags)
304 { return static_cast<AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#>(~static_cast<unsigned>(flags)); }
305
306 /** @ingroup gstreamermmEnums */
307 inline AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#& operatorcxx . . $ Gst/`operator|=`(ec809e3544e2793d).|=(AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#& lhs, AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# rhs)
308 { return (lhs = static_cast<AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
309
310 /** @ingroup gstreamermmEnums */
311 inline AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#& operatorcxx . . $ Gst/`operator&=`(ec809e3544e2793d).&=(AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#& lhs, AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# rhs)
312 { return (lhs = static_cast<AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
313
314 /** @ingroup gstreamermmEnums */
315 inline AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#& operatorcxx . . $ Gst/`operator^=`(ec809e3544e2793d).^=(AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#& lhs, AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# rhs)
316 { return (lhs = static_cast<AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
317
318 } // namespace Gst
319
320 #ifndef DOXYGEN_SHOULD_SKIP_THIS
321 namespace Glibcxx . . $ Glib/
322 {
323
324 template <>
325 class Valuecxx . . $ Glib/Value#<Gstcxx . . $ Gst/::AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#> : public Glibcxx . . $ Glib/::Value_Flagscxx . . $ Glib/Value_Flags#<Gstcxx . . $ Gst/::AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#>
326 {
327 public:
328 static GType value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!;
329 };
330
331 } // namespace Glib
332 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
333
334 namespace Gstcxx . . $ Gst/
335 {
336
337 /**
338 * @var AudioPackFlags AUDIO_PACK_FLAG_NONE
339 * No flag.
340 *
341 * @var AudioPackFlags AUDIO_PACK_FLAG_TRUNCATE_RANGE
342 * When the source has a smaller depth
343 * than the target format, set the least significant bits of the target
344 * to 0. This is likely sightly faster but less accurate. When this flag
345 * is not specified, the most significant bits of the source are duplicated
346 * in the least significant bits of the destination.
347 *
348 * @enum AudioPackFlags
349 *
350 * The different flags that can be used when packing and unpacking.
351 *
352 * @ingroup gstreamermmEnums
353 * @par Bitwise operators:
354 * <tt>%AudioPackFlags operator|(AudioPackFlags, AudioPackFlags)</tt><br>
355 * <tt>%AudioPackFlags operator&(AudioPackFlags, AudioPackFlags)</tt><br>
356 * <tt>%AudioPackFlags operator^(AudioPackFlags, AudioPackFlags)</tt><br>
357 * <tt>%AudioPackFlags operator~(AudioPackFlags)</tt><br>
358 * <tt>%AudioPackFlags& operator|=(AudioPackFlags&, AudioPackFlags)</tt><br>
359 * <tt>%AudioPackFlags& operator&=(AudioPackFlags&, AudioPackFlags)</tt><br>
360 * <tt>%AudioPackFlags& operator^=(AudioPackFlags&, AudioPackFlags)</tt><br>
361 */
362 enum AudioPackFlagscxx . . $ Gst/AudioPackFlags#
363 {
364 AUDIO_PACK_FLAG_NONEcxx . . $ Gst/AUDIO_PACK_FLAG_NONE. = 0x0,
365 AUDIO_PACK_FLAG_TRUNCATE_RANGEcxx . . $ Gst/AUDIO_PACK_FLAG_TRUNCATE_RANGE. = (1 << 0)
366 };
367
368 /** @ingroup gstreamermmEnums */
369 inline AudioPackFlagscxx . . $ Gst/AudioPackFlags# operatorcxx . . $ Gst/`operator|`(33234f77ca870e14).|(AudioPackFlagscxx . . $ Gst/AudioPackFlags# lhs, AudioPackFlagscxx . . $ Gst/AudioPackFlags# rhs)
370 { return static_cast<AudioPackFlagscxx . . $ Gst/AudioPackFlags#>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
371
372 /** @ingroup gstreamermmEnums */
373 inline AudioPackFlagscxx . . $ Gst/AudioPackFlags# operatorcxx . . $ Gst/`operator&`(33234f77ca870e14).&(AudioPackFlagscxx . . $ Gst/AudioPackFlags# lhs, AudioPackFlagscxx . . $ Gst/AudioPackFlags# rhs)
374 { return static_cast<AudioPackFlagscxx . . $ Gst/AudioPackFlags#>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
375
376 /** @ingroup gstreamermmEnums */
377 inline AudioPackFlagscxx . . $ Gst/AudioPackFlags# operatorcxx . . $ Gst/`operator^`(33234f77ca870e14).^(AudioPackFlagscxx . . $ Gst/AudioPackFlags# lhs, AudioPackFlagscxx . . $ Gst/AudioPackFlags# rhs)
378 { return static_cast<AudioPackFlagscxx . . $ Gst/AudioPackFlags#>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
379
380 /** @ingroup gstreamermmEnums */
381 inline AudioPackFlagscxx . . $ Gst/AudioPackFlags# operatorcxx . . $ Gst/`operator~`(59052fae2c0868e2).~(AudioPackFlagscxx . . $ Gst/AudioPackFlags# flags)
382 { return static_cast<AudioPackFlagscxx . . $ Gst/AudioPackFlags#>(~static_cast<unsigned>(flags)); }
383
384 /** @ingroup gstreamermmEnums */
385 inline AudioPackFlagscxx . . $ Gst/AudioPackFlags#& operatorcxx . . $ Gst/`operator|=`(859edff89f55c51d).|=(AudioPackFlagscxx . . $ Gst/AudioPackFlags#& lhs, AudioPackFlagscxx . . $ Gst/AudioPackFlags# rhs)
386 { return (lhs = static_cast<AudioPackFlagscxx . . $ Gst/AudioPackFlags#>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
387
388 /** @ingroup gstreamermmEnums */
389 inline AudioPackFlagscxx . . $ Gst/AudioPackFlags#& operatorcxx . . $ Gst/`operator&=`(859edff89f55c51d).&=(AudioPackFlagscxx . . $ Gst/AudioPackFlags#& lhs, AudioPackFlagscxx . . $ Gst/AudioPackFlags# rhs)
390 { return (lhs = static_cast<AudioPackFlagscxx . . $ Gst/AudioPackFlags#>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
391
392 /** @ingroup gstreamermmEnums */
393 inline AudioPackFlagscxx . . $ Gst/AudioPackFlags#& operatorcxx . . $ Gst/`operator^=`(859edff89f55c51d).^=(AudioPackFlagscxx . . $ Gst/AudioPackFlags#& lhs, AudioPackFlagscxx . . $ Gst/AudioPackFlags# rhs)
394 { return (lhs = static_cast<AudioPackFlagscxx . . $ Gst/AudioPackFlags#>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
395
396 } // namespace Gst
397
398 #ifndef DOXYGEN_SHOULD_SKIP_THIS
399 namespace Glibcxx . . $ Glib/
400 {
401
402 template <>
403 class Valuecxx . . $ Glib/Value#<Gstcxx . . $ Gst/::AudioPackFlagscxx . . $ Gst/AudioPackFlags#> : public Glibcxx . . $ Glib/::Value_Flagscxx . . $ Glib/Value_Flags#<Gstcxx . . $ Gst/::AudioPackFlagscxx . . $ Gst/AudioPackFlags#>
404 {
405 public:
406 static GType value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!;
407 };
408
409 } // namespace Glib
410 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
411
412 namespace Gstcxx . . $ Gst/
413 {
414
415
416 /**
417 * Information for an audio format.
418 *
419 * Last reviewed on 2016-04-23 (1.8.0).
420 */
421 class AudioFormatInfocxx . . $ Gst/AudioFormatInfo#
422 {
423 public:
424 #ifndef DOXYGEN_SHOULD_SKIP_THIS
425 using CppObjectTypecxx . . $ Gst/AudioFormatInfo#CppObjectType# = AudioFormatInfocxx . . $ Gst/AudioFormatInfo#;
426 using BaseObjectTypecxx . . $ Gst/AudioFormatInfo#BaseObjectType# = GstAudioFormatInfo;
427 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
428
429 private:
430
431 public:
432 AudioFormatInfocxx . . $ Gst/AudioFormatInfo#AudioFormatInfo(62f86273b78ff696).(const GstAudioFormatInfo *m_info);
433
434 /// Gets the underlying gobject.
435 GstAudioFormatInfo* gobjcxx . . $ Gst/AudioFormatInfo#gobj(af82d8cfe975f187).() { return &m_infocxx . . $ Gst/AudioFormatInfo#m_info.; };
436
437 /// Gets the underlying gobject.
438 const GstAudioFormatInfo* gobjcxx . . $ Gst/AudioFormatInfo#gobj(4a5270a75bd7b686).() const { return &m_infocxx . . $ Gst/AudioFormatInfo#m_info.; };
439
440 AudioFormatcxx . . $ Gst/AudioFormat# get_formatcxx . . $ Gst/AudioFormatInfo#get_format(9f276b4f55555770).() const;
441 void set_formatcxx . . $ Gst/AudioFormatInfo#set_format(3b202788c2d9589a).(const AudioFormatcxx . . $ Gst/AudioFormat#& value);
442
443 stdcxx . . $ std/::stringcxx . . $ std/string# get_namecxx . . $ Gst/AudioFormatInfo#get_name(219584694fe2b248).() const;
444 void set_namecxx . . $ Gst/AudioFormatInfo#set_name(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& value);
445
446 stdcxx . . $ std/::stringcxx . . $ std/string# get_descriptioncxx . . $ Gst/AudioFormatInfo#get_description(219584694fe2b248).() const;
447 void set_descriptioncxx . . $ Gst/AudioFormatInfo#set_description(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& value);
448
449 AudioFormatFlagscxx . . $ Gst/AudioFormatFlags# get_flagscxx . . $ Gst/AudioFormatInfo#get_flags(7fa63be98f10a9eb).() const;
450 void set_flagscxx . . $ Gst/AudioFormatInfo#set_flags(5ae6b7a7abcbfc51).(const AudioFormatFlagscxx . . $ Gst/AudioFormatFlags#& value);
451
452 int get_endiannesscxx . . $ Gst/AudioFormatInfo#get_endianness(455f465bc33b4cdf).() const;
453 void set_endiannesscxx . . $ Gst/AudioFormatInfo#set_endianness(794bbbca577513a2).(const int& value);
454
455 int get_widthcxx . . $ Gst/AudioFormatInfo#get_width(455f465bc33b4cdf).() const;
456 void set_widthcxx . . $ Gst/AudioFormatInfo#set_width(794bbbca577513a2).(const int& value);
457
458 int get_depthcxx . . $ Gst/AudioFormatInfo#get_depth(455f465bc33b4cdf).() const;
459 void set_depthcxx . . $ Gst/AudioFormatInfo#set_depth(794bbbca577513a2).(const int& value);
460
461 AudioFormatcxx . . $ Gst/AudioFormat# get_unpack_formatcxx . . $ Gst/AudioFormatInfo#get_unpack_format(9f276b4f55555770).() const;
462 void set_unpack_formatcxx . . $ Gst/AudioFormatInfo#set_unpack_format(3b202788c2d9589a).(const AudioFormatcxx . . $ Gst/AudioFormat#& value);
463
464 protected:
465 #ifndef DOXYGEN_SHOULD_SKIP_THIS
466 GstAudioFormatInfo m_infocxx . . $ Gst/AudioFormatInfo#m_info.;
467 #endif
468
469
470 };
471 } //namespace Gst
472
473
474 #endif /* _GSTREAMERMM_AUDIOFORMAT_H */
475