D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / packages / gstreamer-audio-0.10 / gstreamer-audio-0.10.gi
blobdcabacb3d2276a5e9a89841af954dd17285868c0
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Gst">
4 <function name="audio_buffer_clip" symbol="gst_audio_buffer_clip">
5 <return-type type="GstBuffer*"/>
6 <parameters>
7 <parameter name="buffer" type="GstBuffer*"/>
8 <parameter name="segment" type="GstSegment*"/>
9 <parameter name="rate" type="gint"/>
10 <parameter name="frame_size" type="gint"/>
11 </parameters>
12 </function>
13 <function name="audio_check_channel_positions" symbol="gst_audio_check_channel_positions">
14 <return-type type="gboolean"/>
15 <parameters>
16 <parameter name="pos" type="GstAudioChannelPosition*"/>
17 <parameter name="channels" type="guint"/>
18 </parameters>
19 </function>
20 <function name="audio_default_registry_mixer_filter" symbol="gst_audio_default_registry_mixer_filter">
21 <return-type type="GList*"/>
22 <parameters>
23 <parameter name="filter_func" type="GstAudioMixerFilterFunc"/>
24 <parameter name="first" type="gboolean"/>
25 <parameter name="user_data" type="gpointer"/>
26 </parameters>
27 </function>
28 <function name="audio_duration_from_pad_buffer" symbol="gst_audio_duration_from_pad_buffer">
29 <return-type type="GstClockTime"/>
30 <parameters>
31 <parameter name="pad" type="GstPad*"/>
32 <parameter name="buf" type="GstBuffer*"/>
33 </parameters>
34 </function>
35 <function name="audio_fixate_channel_positions" symbol="gst_audio_fixate_channel_positions">
36 <return-type type="GstAudioChannelPosition*"/>
37 <parameters>
38 <parameter name="str" type="GstStructure*"/>
39 </parameters>
40 </function>
41 <function name="audio_frame_byte_size" symbol="gst_audio_frame_byte_size">
42 <return-type type="int"/>
43 <parameters>
44 <parameter name="pad" type="GstPad*"/>
45 </parameters>
46 </function>
47 <function name="audio_frame_length" symbol="gst_audio_frame_length">
48 <return-type type="long"/>
49 <parameters>
50 <parameter name="pad" type="GstPad*"/>
51 <parameter name="buf" type="GstBuffer*"/>
52 </parameters>
53 </function>
54 <function name="audio_get_channel_positions" symbol="gst_audio_get_channel_positions">
55 <return-type type="GstAudioChannelPosition*"/>
56 <parameters>
57 <parameter name="str" type="GstStructure*"/>
58 </parameters>
59 </function>
60 <function name="audio_is_buffer_framed" symbol="gst_audio_is_buffer_framed">
61 <return-type type="gboolean"/>
62 <parameters>
63 <parameter name="pad" type="GstPad*"/>
64 <parameter name="buf" type="GstBuffer*"/>
65 </parameters>
66 </function>
67 <function name="audio_set_caps_channel_positions_list" symbol="gst_audio_set_caps_channel_positions_list">
68 <return-type type="void"/>
69 <parameters>
70 <parameter name="caps" type="GstCaps*"/>
71 <parameter name="pos" type="GstAudioChannelPosition*"/>
72 <parameter name="num_positions" type="gint"/>
73 </parameters>
74 </function>
75 <function name="audio_set_channel_positions" symbol="gst_audio_set_channel_positions">
76 <return-type type="void"/>
77 <parameters>
78 <parameter name="str" type="GstStructure*"/>
79 <parameter name="pos" type="GstAudioChannelPosition*"/>
80 </parameters>
81 </function>
82 <function name="audio_set_structure_channel_positions_list" symbol="gst_audio_set_structure_channel_positions_list">
83 <return-type type="void"/>
84 <parameters>
85 <parameter name="str" type="GstStructure*"/>
86 <parameter name="pos" type="GstAudioChannelPosition*"/>
87 <parameter name="num_positions" type="gint"/>
88 </parameters>
89 </function>
90 <function name="audio_structure_set_int" symbol="gst_audio_structure_set_int">
91 <return-type type="void"/>
92 <parameters>
93 <parameter name="structure" type="GstStructure*"/>
94 <parameter name="flag" type="GstAudioFieldFlag"/>
95 </parameters>
96 </function>
97 <callback name="GstAudioClockGetTimeFunc">
98 <return-type type="GstClockTime"/>
99 <parameters>
100 <parameter name="clock" type="GstClock*"/>
101 <parameter name="user_data" type="gpointer"/>
102 </parameters>
103 </callback>
104 <callback name="GstAudioMixerFilterFunc">
105 <return-type type="gboolean"/>
106 <parameters>
107 <parameter name="mixer" type="GstMixer*"/>
108 <parameter name="user_data" type="gpointer"/>
109 </parameters>
110 </callback>
111 <callback name="GstRingBufferCallback">
112 <return-type type="void"/>
113 <parameters>
114 <parameter name="rbuf" type="GstRingBuffer*"/>
115 <parameter name="data" type="guint8*"/>
116 <parameter name="len" type="guint"/>
117 <parameter name="user_data" type="gpointer"/>
118 </parameters>
119 </callback>
120 <struct name="GstRingBufferSpec">
121 <field name="caps" type="GstCaps*"/>
122 <field name="type" type="GstBufferFormatType"/>
123 <field name="format" type="GstBufferFormat"/>
124 <field name="sign" type="gboolean"/>
125 <field name="bigend" type="gboolean"/>
126 <field name="width" type="gint"/>
127 <field name="depth" type="gint"/>
128 <field name="rate" type="gint"/>
129 <field name="channels" type="gint"/>
130 <field name="latency_time" type="guint64"/>
131 <field name="buffer_time" type="guint64"/>
132 <field name="segsize" type="gint"/>
133 <field name="segtotal" type="gint"/>
134 <field name="bytes_per_sample" type="gint"/>
135 <field name="silence_sample" type="guint8[]"/>
136 <field name="seglatency" type="gint"/>
137 <field name="_gst_reserved" type="guint8[]"/>
138 </struct>
139 <enum name="GstAudioChannelPosition" type-name="GstAudioChannelPosition" get-type="gst_audio_channel_position_get_type">
140 <member name="GST_AUDIO_CHANNEL_POSITION_INVALID" value="-1"/>
141 <member name="GST_AUDIO_CHANNEL_POSITION_FRONT_MONO" value="0"/>
142 <member name="GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT" value="1"/>
143 <member name="GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT" value="2"/>
144 <member name="GST_AUDIO_CHANNEL_POSITION_REAR_CENTER" value="3"/>
145 <member name="GST_AUDIO_CHANNEL_POSITION_REAR_LEFT" value="4"/>
146 <member name="GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT" value="5"/>
147 <member name="GST_AUDIO_CHANNEL_POSITION_LFE" value="6"/>
148 <member name="GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER" value="7"/>
149 <member name="GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER" value="8"/>
150 <member name="GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER" value="9"/>
151 <member name="GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT" value="10"/>
152 <member name="GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT" value="11"/>
153 <member name="GST_AUDIO_CHANNEL_POSITION_NONE" value="12"/>
154 <member name="GST_AUDIO_CHANNEL_POSITION_NUM" value="13"/>
155 </enum>
156 <enum name="GstAudioFieldFlag">
157 <member name="GST_AUDIO_FIELD_RATE" value="1"/>
158 <member name="GST_AUDIO_FIELD_CHANNELS" value="2"/>
159 <member name="GST_AUDIO_FIELD_ENDIANNESS" value="4"/>
160 <member name="GST_AUDIO_FIELD_WIDTH" value="8"/>
161 <member name="GST_AUDIO_FIELD_DEPTH" value="16"/>
162 <member name="GST_AUDIO_FIELD_SIGNED" value="32"/>
163 </enum>
164 <enum name="GstBaseAudioSinkSlaveMethod" type-name="GstBaseAudioSinkSlaveMethod" get-type="gst_base_audio_sink_slave_method_get_type">
165 <member name="GST_BASE_AUDIO_SINK_SLAVE_RESAMPLE" value="0"/>
166 <member name="GST_BASE_AUDIO_SINK_SLAVE_SKEW" value="1"/>
167 <member name="GST_BASE_AUDIO_SINK_SLAVE_NONE" value="2"/>
168 </enum>
169 <enum name="GstBaseAudioSrcSlaveMethod" type-name="GstBaseAudioSrcSlaveMethod" get-type="gst_base_audio_src_slave_method_get_type">
170 <member name="GST_BASE_AUDIO_SRC_SLAVE_RESAMPLE" value="0"/>
171 <member name="GST_BASE_AUDIO_SRC_SLAVE_RETIMESTAMP" value="1"/>
172 <member name="GST_BASE_AUDIO_SRC_SLAVE_SKEW" value="2"/>
173 <member name="GST_BASE_AUDIO_SRC_SLAVE_NONE" value="3"/>
174 </enum>
175 <enum name="GstBufferFormat" type-name="GstBufferFormat" get-type="gst_buffer_format_get_type">
176 <member name="GST_UNKNOWN" value="0"/>
177 <member name="GST_S8" value="1"/>
178 <member name="GST_U8" value="2"/>
179 <member name="GST_S16_LE" value="3"/>
180 <member name="GST_S16_BE" value="4"/>
181 <member name="GST_U16_LE" value="5"/>
182 <member name="GST_U16_BE" value="6"/>
183 <member name="GST_S24_LE" value="7"/>
184 <member name="GST_S24_BE" value="8"/>
185 <member name="GST_U24_LE" value="9"/>
186 <member name="GST_U24_BE" value="10"/>
187 <member name="GST_S32_LE" value="11"/>
188 <member name="GST_S32_BE" value="12"/>
189 <member name="GST_U32_LE" value="13"/>
190 <member name="GST_U32_BE" value="14"/>
191 <member name="GST_S24_3LE" value="15"/>
192 <member name="GST_S24_3BE" value="16"/>
193 <member name="GST_U24_3LE" value="17"/>
194 <member name="GST_U24_3BE" value="18"/>
195 <member name="GST_S20_3LE" value="19"/>
196 <member name="GST_S20_3BE" value="20"/>
197 <member name="GST_U20_3LE" value="21"/>
198 <member name="GST_U20_3BE" value="22"/>
199 <member name="GST_S18_3LE" value="23"/>
200 <member name="GST_S18_3BE" value="24"/>
201 <member name="GST_U18_3LE" value="25"/>
202 <member name="GST_U18_3BE" value="26"/>
203 <member name="GST_FLOAT32_LE" value="27"/>
204 <member name="GST_FLOAT32_BE" value="28"/>
205 <member name="GST_FLOAT64_LE" value="29"/>
206 <member name="GST_FLOAT64_BE" value="30"/>
207 <member name="GST_MU_LAW" value="31"/>
208 <member name="GST_A_LAW" value="32"/>
209 <member name="GST_IMA_ADPCM" value="33"/>
210 <member name="GST_MPEG" value="34"/>
211 <member name="GST_GSM" value="35"/>
212 <member name="GST_IEC958" value="36"/>
213 <member name="GST_AC3" value="37"/>
214 <member name="GST_EAC3" value="38"/>
215 <member name="GST_DTS" value="39"/>
216 </enum>
217 <enum name="GstBufferFormatType" type-name="GstBufferFormatType" get-type="gst_buffer_format_type_get_type">
218 <member name="GST_BUFTYPE_LINEAR" value="0"/>
219 <member name="GST_BUFTYPE_FLOAT" value="1"/>
220 <member name="GST_BUFTYPE_MU_LAW" value="2"/>
221 <member name="GST_BUFTYPE_A_LAW" value="3"/>
222 <member name="GST_BUFTYPE_IMA_ADPCM" value="4"/>
223 <member name="GST_BUFTYPE_MPEG" value="5"/>
224 <member name="GST_BUFTYPE_GSM" value="6"/>
225 <member name="GST_BUFTYPE_IEC958" value="7"/>
226 <member name="GST_BUFTYPE_AC3" value="8"/>
227 <member name="GST_BUFTYPE_EAC3" value="9"/>
228 <member name="GST_BUFTYPE_DTS" value="10"/>
229 </enum>
230 <enum name="GstRingBufferSegState" type-name="GstRingBufferSegState" get-type="gst_ring_buffer_seg_state_get_type">
231 <member name="GST_SEGSTATE_INVALID" value="0"/>
232 <member name="GST_SEGSTATE_EMPTY" value="1"/>
233 <member name="GST_SEGSTATE_FILLED" value="2"/>
234 <member name="GST_SEGSTATE_PARTIAL" value="3"/>
235 </enum>
236 <enum name="GstRingBufferState" type-name="GstRingBufferState" get-type="gst_ring_buffer_state_get_type">
237 <member name="GST_RING_BUFFER_STATE_STOPPED" value="0"/>
238 <member name="GST_RING_BUFFER_STATE_PAUSED" value="1"/>
239 <member name="GST_RING_BUFFER_STATE_STARTED" value="2"/>
240 </enum>
241 <object name="GstAudioClock" parent="GstSystemClock" type-name="GstAudioClock" get-type="gst_audio_clock_get_type">
242 <method name="adjust" symbol="gst_audio_clock_adjust">
243 <return-type type="GstClockTime"/>
244 <parameters>
245 <parameter name="clock" type="GstClock*"/>
246 <parameter name="time" type="GstClockTime"/>
247 </parameters>
248 </method>
249 <method name="get_time" symbol="gst_audio_clock_get_time">
250 <return-type type="GstClockTime"/>
251 <parameters>
252 <parameter name="clock" type="GstClock*"/>
253 </parameters>
254 </method>
255 <constructor name="new" symbol="gst_audio_clock_new">
256 <return-type type="GstClock*"/>
257 <parameters>
258 <parameter name="name" type="gchar*"/>
259 <parameter name="func" type="GstAudioClockGetTimeFunc"/>
260 <parameter name="user_data" type="gpointer"/>
261 </parameters>
262 </constructor>
263 <method name="reset" symbol="gst_audio_clock_reset">
264 <return-type type="void"/>
265 <parameters>
266 <parameter name="clock" type="GstAudioClock*"/>
267 <parameter name="time" type="GstClockTime"/>
268 </parameters>
269 </method>
270 <field name="func" type="GstAudioClockGetTimeFunc"/>
271 <field name="user_data" type="gpointer"/>
272 <field name="last_time" type="GstClockTime"/>
273 <field name="abidata" type="gpointer"/>
274 </object>
275 <object name="GstAudioFilter" parent="GstBaseTransform" type-name="GstAudioFilter" get-type="gst_audio_filter_get_type">
276 <method name="class_add_pad_templates" symbol="gst_audio_filter_class_add_pad_templates">
277 <return-type type="void"/>
278 <parameters>
279 <parameter name="klass" type="GstAudioFilterClass*"/>
280 <parameter name="allowed_caps" type="GstCaps*"/>
281 </parameters>
282 </method>
283 <vfunc name="setup">
284 <return-type type="gboolean"/>
285 <parameters>
286 <parameter name="filter" type="GstAudioFilter*"/>
287 <parameter name="format" type="GstRingBufferSpec*"/>
288 </parameters>
289 </vfunc>
290 <field name="format" type="GstRingBufferSpec"/>
291 </object>
292 <object name="GstAudioSink" parent="GstBaseAudioSink" type-name="GstAudioSink" get-type="gst_audio_sink_get_type">
293 <vfunc name="close">
294 <return-type type="gboolean"/>
295 <parameters>
296 <parameter name="sink" type="GstAudioSink*"/>
297 </parameters>
298 </vfunc>
299 <vfunc name="delay">
300 <return-type type="guint"/>
301 <parameters>
302 <parameter name="sink" type="GstAudioSink*"/>
303 </parameters>
304 </vfunc>
305 <vfunc name="open">
306 <return-type type="gboolean"/>
307 <parameters>
308 <parameter name="sink" type="GstAudioSink*"/>
309 </parameters>
310 </vfunc>
311 <vfunc name="prepare">
312 <return-type type="gboolean"/>
313 <parameters>
314 <parameter name="sink" type="GstAudioSink*"/>
315 <parameter name="spec" type="GstRingBufferSpec*"/>
316 </parameters>
317 </vfunc>
318 <vfunc name="reset">
319 <return-type type="void"/>
320 <parameters>
321 <parameter name="sink" type="GstAudioSink*"/>
322 </parameters>
323 </vfunc>
324 <vfunc name="unprepare">
325 <return-type type="gboolean"/>
326 <parameters>
327 <parameter name="sink" type="GstAudioSink*"/>
328 </parameters>
329 </vfunc>
330 <vfunc name="write">
331 <return-type type="guint"/>
332 <parameters>
333 <parameter name="sink" type="GstAudioSink*"/>
334 <parameter name="data" type="gpointer"/>
335 <parameter name="length" type="guint"/>
336 </parameters>
337 </vfunc>
338 <field name="thread" type="GThread*"/>
339 </object>
340 <object name="GstAudioSrc" parent="GstBaseAudioSrc" type-name="GstAudioSrc" get-type="gst_audio_src_get_type">
341 <vfunc name="close">
342 <return-type type="gboolean"/>
343 <parameters>
344 <parameter name="src" type="GstAudioSrc*"/>
345 </parameters>
346 </vfunc>
347 <vfunc name="delay">
348 <return-type type="guint"/>
349 <parameters>
350 <parameter name="src" type="GstAudioSrc*"/>
351 </parameters>
352 </vfunc>
353 <vfunc name="open">
354 <return-type type="gboolean"/>
355 <parameters>
356 <parameter name="src" type="GstAudioSrc*"/>
357 </parameters>
358 </vfunc>
359 <vfunc name="prepare">
360 <return-type type="gboolean"/>
361 <parameters>
362 <parameter name="src" type="GstAudioSrc*"/>
363 <parameter name="spec" type="GstRingBufferSpec*"/>
364 </parameters>
365 </vfunc>
366 <vfunc name="read">
367 <return-type type="guint"/>
368 <parameters>
369 <parameter name="src" type="GstAudioSrc*"/>
370 <parameter name="data" type="gpointer"/>
371 <parameter name="length" type="guint"/>
372 </parameters>
373 </vfunc>
374 <vfunc name="reset">
375 <return-type type="void"/>
376 <parameters>
377 <parameter name="src" type="GstAudioSrc*"/>
378 </parameters>
379 </vfunc>
380 <vfunc name="unprepare">
381 <return-type type="gboolean"/>
382 <parameters>
383 <parameter name="src" type="GstAudioSrc*"/>
384 </parameters>
385 </vfunc>
386 <field name="thread" type="GThread*"/>
387 </object>
388 <object name="GstBaseAudioSink" parent="GstBaseSink" type-name="GstBaseAudioSink" get-type="gst_base_audio_sink_get_type">
389 <method name="create_ringbuffer" symbol="gst_base_audio_sink_create_ringbuffer">
390 <return-type type="GstRingBuffer*"/>
391 <parameters>
392 <parameter name="sink" type="GstBaseAudioSink*"/>
393 </parameters>
394 </method>
395 <method name="get_provide_clock" symbol="gst_base_audio_sink_get_provide_clock">
396 <return-type type="gboolean"/>
397 <parameters>
398 <parameter name="sink" type="GstBaseAudioSink*"/>
399 </parameters>
400 </method>
401 <method name="get_slave_method" symbol="gst_base_audio_sink_get_slave_method">
402 <return-type type="GstBaseAudioSinkSlaveMethod"/>
403 <parameters>
404 <parameter name="sink" type="GstBaseAudioSink*"/>
405 </parameters>
406 </method>
407 <method name="set_provide_clock" symbol="gst_base_audio_sink_set_provide_clock">
408 <return-type type="void"/>
409 <parameters>
410 <parameter name="sink" type="GstBaseAudioSink*"/>
411 <parameter name="provide" type="gboolean"/>
412 </parameters>
413 </method>
414 <method name="set_slave_method" symbol="gst_base_audio_sink_set_slave_method">
415 <return-type type="void"/>
416 <parameters>
417 <parameter name="sink" type="GstBaseAudioSink*"/>
418 <parameter name="method" type="GstBaseAudioSinkSlaveMethod"/>
419 </parameters>
420 </method>
421 <property name="buffer-time" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
422 <property name="can-activate-pull" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
423 <property name="drift-tolerance" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
424 <property name="latency-time" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
425 <property name="provide-clock" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
426 <property name="slave-method" type="GstBaseAudioSinkSlaveMethod" readable="1" writable="1" construct="0" construct-only="0"/>
427 <vfunc name="create_ringbuffer">
428 <return-type type="GstRingBuffer*"/>
429 <parameters>
430 <parameter name="sink" type="GstBaseAudioSink*"/>
431 </parameters>
432 </vfunc>
433 <field name="ringbuffer" type="GstRingBuffer*"/>
434 <field name="buffer_time" type="guint64"/>
435 <field name="latency_time" type="guint64"/>
436 <field name="next_sample" type="guint64"/>
437 <field name="provide_clock" type="gboolean"/>
438 <field name="provided_clock" type="GstClock*"/>
439 </object>
440 <object name="GstBaseAudioSrc" parent="GstPushSrc" type-name="GstBaseAudioSrc" get-type="gst_base_audio_src_get_type">
441 <method name="create_ringbuffer" symbol="gst_base_audio_src_create_ringbuffer">
442 <return-type type="GstRingBuffer*"/>
443 <parameters>
444 <parameter name="src" type="GstBaseAudioSrc*"/>
445 </parameters>
446 </method>
447 <method name="get_provide_clock" symbol="gst_base_audio_src_get_provide_clock">
448 <return-type type="gboolean"/>
449 <parameters>
450 <parameter name="src" type="GstBaseAudioSrc*"/>
451 </parameters>
452 </method>
453 <method name="get_slave_method" symbol="gst_base_audio_src_get_slave_method">
454 <return-type type="GstBaseAudioSrcSlaveMethod"/>
455 <parameters>
456 <parameter name="src" type="GstBaseAudioSrc*"/>
457 </parameters>
458 </method>
459 <method name="set_provide_clock" symbol="gst_base_audio_src_set_provide_clock">
460 <return-type type="void"/>
461 <parameters>
462 <parameter name="src" type="GstBaseAudioSrc*"/>
463 <parameter name="provide" type="gboolean"/>
464 </parameters>
465 </method>
466 <method name="set_slave_method" symbol="gst_base_audio_src_set_slave_method">
467 <return-type type="void"/>
468 <parameters>
469 <parameter name="src" type="GstBaseAudioSrc*"/>
470 <parameter name="method" type="GstBaseAudioSrcSlaveMethod"/>
471 </parameters>
472 </method>
473 <property name="actual-buffer-time" type="gint64" readable="1" writable="0" construct="0" construct-only="0"/>
474 <property name="actual-latency-time" type="gint64" readable="1" writable="0" construct="0" construct-only="0"/>
475 <property name="buffer-time" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
476 <property name="latency-time" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
477 <property name="provide-clock" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
478 <property name="slave-method" type="GstBaseAudioSrcSlaveMethod" readable="1" writable="1" construct="0" construct-only="0"/>
479 <vfunc name="create_ringbuffer">
480 <return-type type="GstRingBuffer*"/>
481 <parameters>
482 <parameter name="src" type="GstBaseAudioSrc*"/>
483 </parameters>
484 </vfunc>
485 <field name="ringbuffer" type="GstRingBuffer*"/>
486 <field name="buffer_time" type="GstClockTime"/>
487 <field name="latency_time" type="GstClockTime"/>
488 <field name="next_sample" type="guint64"/>
489 <field name="clock" type="GstClock*"/>
490 </object>
491 <object name="GstRingBuffer" parent="GstObject" type-name="GstRingBuffer" get-type="gst_ring_buffer_get_type">
492 <method name="acquire" symbol="gst_ring_buffer_acquire">
493 <return-type type="gboolean"/>
494 <parameters>
495 <parameter name="buf" type="GstRingBuffer*"/>
496 <parameter name="spec" type="GstRingBufferSpec*"/>
497 </parameters>
498 </method>
499 <method name="activate" symbol="gst_ring_buffer_activate">
500 <return-type type="gboolean"/>
501 <parameters>
502 <parameter name="buf" type="GstRingBuffer*"/>
503 <parameter name="active" type="gboolean"/>
504 </parameters>
505 </method>
506 <method name="advance" symbol="gst_ring_buffer_advance">
507 <return-type type="void"/>
508 <parameters>
509 <parameter name="buf" type="GstRingBuffer*"/>
510 <parameter name="advance" type="guint"/>
511 </parameters>
512 </method>
513 <method name="clear" symbol="gst_ring_buffer_clear">
514 <return-type type="void"/>
515 <parameters>
516 <parameter name="buf" type="GstRingBuffer*"/>
517 <parameter name="segment" type="gint"/>
518 </parameters>
519 </method>
520 <method name="clear_all" symbol="gst_ring_buffer_clear_all">
521 <return-type type="void"/>
522 <parameters>
523 <parameter name="buf" type="GstRingBuffer*"/>
524 </parameters>
525 </method>
526 <method name="close_device" symbol="gst_ring_buffer_close_device">
527 <return-type type="gboolean"/>
528 <parameters>
529 <parameter name="buf" type="GstRingBuffer*"/>
530 </parameters>
531 </method>
532 <method name="commit" symbol="gst_ring_buffer_commit">
533 <return-type type="guint"/>
534 <parameters>
535 <parameter name="buf" type="GstRingBuffer*"/>
536 <parameter name="sample" type="guint64"/>
537 <parameter name="data" type="guchar*"/>
538 <parameter name="len" type="guint"/>
539 </parameters>
540 </method>
541 <method name="commit_full" symbol="gst_ring_buffer_commit_full">
542 <return-type type="guint"/>
543 <parameters>
544 <parameter name="buf" type="GstRingBuffer*"/>
545 <parameter name="sample" type="guint64*"/>
546 <parameter name="data" type="guchar*"/>
547 <parameter name="in_samples" type="gint"/>
548 <parameter name="out_samples" type="gint"/>
549 <parameter name="accum" type="gint*"/>
550 </parameters>
551 </method>
552 <method name="convert" symbol="gst_ring_buffer_convert">
553 <return-type type="gboolean"/>
554 <parameters>
555 <parameter name="buf" type="GstRingBuffer*"/>
556 <parameter name="src_fmt" type="GstFormat"/>
557 <parameter name="src_val" type="gint64"/>
558 <parameter name="dest_fmt" type="GstFormat"/>
559 <parameter name="dest_val" type="gint64*"/>
560 </parameters>
561 </method>
562 <method name="debug_spec_buff" symbol="gst_ring_buffer_debug_spec_buff">
563 <return-type type="void"/>
564 <parameters>
565 <parameter name="spec" type="GstRingBufferSpec*"/>
566 </parameters>
567 </method>
568 <method name="debug_spec_caps" symbol="gst_ring_buffer_debug_spec_caps">
569 <return-type type="void"/>
570 <parameters>
571 <parameter name="spec" type="GstRingBufferSpec*"/>
572 </parameters>
573 </method>
574 <method name="delay" symbol="gst_ring_buffer_delay">
575 <return-type type="guint"/>
576 <parameters>
577 <parameter name="buf" type="GstRingBuffer*"/>
578 </parameters>
579 </method>
580 <method name="device_is_open" symbol="gst_ring_buffer_device_is_open">
581 <return-type type="gboolean"/>
582 <parameters>
583 <parameter name="buf" type="GstRingBuffer*"/>
584 </parameters>
585 </method>
586 <method name="is_acquired" symbol="gst_ring_buffer_is_acquired">
587 <return-type type="gboolean"/>
588 <parameters>
589 <parameter name="buf" type="GstRingBuffer*"/>
590 </parameters>
591 </method>
592 <method name="is_active" symbol="gst_ring_buffer_is_active">
593 <return-type type="gboolean"/>
594 <parameters>
595 <parameter name="buf" type="GstRingBuffer*"/>
596 </parameters>
597 </method>
598 <method name="may_start" symbol="gst_ring_buffer_may_start">
599 <return-type type="void"/>
600 <parameters>
601 <parameter name="buf" type="GstRingBuffer*"/>
602 <parameter name="allowed" type="gboolean"/>
603 </parameters>
604 </method>
605 <method name="open_device" symbol="gst_ring_buffer_open_device">
606 <return-type type="gboolean"/>
607 <parameters>
608 <parameter name="buf" type="GstRingBuffer*"/>
609 </parameters>
610 </method>
611 <method name="parse_caps" symbol="gst_ring_buffer_parse_caps">
612 <return-type type="gboolean"/>
613 <parameters>
614 <parameter name="spec" type="GstRingBufferSpec*"/>
615 <parameter name="caps" type="GstCaps*"/>
616 </parameters>
617 </method>
618 <method name="pause" symbol="gst_ring_buffer_pause">
619 <return-type type="gboolean"/>
620 <parameters>
621 <parameter name="buf" type="GstRingBuffer*"/>
622 </parameters>
623 </method>
624 <method name="prepare_read" symbol="gst_ring_buffer_prepare_read">
625 <return-type type="gboolean"/>
626 <parameters>
627 <parameter name="buf" type="GstRingBuffer*"/>
628 <parameter name="segment" type="gint*"/>
629 <parameter name="readptr" type="guint8**"/>
630 <parameter name="len" type="gint*"/>
631 </parameters>
632 </method>
633 <method name="read" symbol="gst_ring_buffer_read">
634 <return-type type="guint"/>
635 <parameters>
636 <parameter name="buf" type="GstRingBuffer*"/>
637 <parameter name="sample" type="guint64"/>
638 <parameter name="data" type="guchar*"/>
639 <parameter name="len" type="guint"/>
640 </parameters>
641 </method>
642 <method name="release" symbol="gst_ring_buffer_release">
643 <return-type type="gboolean"/>
644 <parameters>
645 <parameter name="buf" type="GstRingBuffer*"/>
646 </parameters>
647 </method>
648 <method name="samples_done" symbol="gst_ring_buffer_samples_done">
649 <return-type type="guint64"/>
650 <parameters>
651 <parameter name="buf" type="GstRingBuffer*"/>
652 </parameters>
653 </method>
654 <method name="set_callback" symbol="gst_ring_buffer_set_callback">
655 <return-type type="void"/>
656 <parameters>
657 <parameter name="buf" type="GstRingBuffer*"/>
658 <parameter name="cb" type="GstRingBufferCallback"/>
659 <parameter name="user_data" type="gpointer"/>
660 </parameters>
661 </method>
662 <method name="set_flushing" symbol="gst_ring_buffer_set_flushing">
663 <return-type type="void"/>
664 <parameters>
665 <parameter name="buf" type="GstRingBuffer*"/>
666 <parameter name="flushing" type="gboolean"/>
667 </parameters>
668 </method>
669 <method name="set_sample" symbol="gst_ring_buffer_set_sample">
670 <return-type type="void"/>
671 <parameters>
672 <parameter name="buf" type="GstRingBuffer*"/>
673 <parameter name="sample" type="guint64"/>
674 </parameters>
675 </method>
676 <method name="start" symbol="gst_ring_buffer_start">
677 <return-type type="gboolean"/>
678 <parameters>
679 <parameter name="buf" type="GstRingBuffer*"/>
680 </parameters>
681 </method>
682 <method name="stop" symbol="gst_ring_buffer_stop">
683 <return-type type="gboolean"/>
684 <parameters>
685 <parameter name="buf" type="GstRingBuffer*"/>
686 </parameters>
687 </method>
688 <vfunc name="acquire">
689 <return-type type="gboolean"/>
690 <parameters>
691 <parameter name="buf" type="GstRingBuffer*"/>
692 <parameter name="spec" type="GstRingBufferSpec*"/>
693 </parameters>
694 </vfunc>
695 <vfunc name="activate">
696 <return-type type="gboolean"/>
697 <parameters>
698 <parameter name="buf" type="GstRingBuffer*"/>
699 <parameter name="active" type="gboolean"/>
700 </parameters>
701 </vfunc>
702 <vfunc name="clear_all">
703 <return-type type="void"/>
704 <parameters>
705 <parameter name="buf" type="GstRingBuffer*"/>
706 </parameters>
707 </vfunc>
708 <vfunc name="close_device">
709 <return-type type="gboolean"/>
710 <parameters>
711 <parameter name="buf" type="GstRingBuffer*"/>
712 </parameters>
713 </vfunc>
714 <vfunc name="commit">
715 <return-type type="guint"/>
716 <parameters>
717 <parameter name="buf" type="GstRingBuffer*"/>
718 <parameter name="sample" type="guint64*"/>
719 <parameter name="data" type="guchar*"/>
720 <parameter name="in_samples" type="gint"/>
721 <parameter name="out_samples" type="gint"/>
722 <parameter name="accum" type="gint*"/>
723 </parameters>
724 </vfunc>
725 <vfunc name="delay">
726 <return-type type="guint"/>
727 <parameters>
728 <parameter name="buf" type="GstRingBuffer*"/>
729 </parameters>
730 </vfunc>
731 <vfunc name="open_device">
732 <return-type type="gboolean"/>
733 <parameters>
734 <parameter name="buf" type="GstRingBuffer*"/>
735 </parameters>
736 </vfunc>
737 <vfunc name="pause">
738 <return-type type="gboolean"/>
739 <parameters>
740 <parameter name="buf" type="GstRingBuffer*"/>
741 </parameters>
742 </vfunc>
743 <vfunc name="release">
744 <return-type type="gboolean"/>
745 <parameters>
746 <parameter name="buf" type="GstRingBuffer*"/>
747 </parameters>
748 </vfunc>
749 <vfunc name="resume">
750 <return-type type="gboolean"/>
751 <parameters>
752 <parameter name="buf" type="GstRingBuffer*"/>
753 </parameters>
754 </vfunc>
755 <vfunc name="start">
756 <return-type type="gboolean"/>
757 <parameters>
758 <parameter name="buf" type="GstRingBuffer*"/>
759 </parameters>
760 </vfunc>
761 <vfunc name="stop">
762 <return-type type="gboolean"/>
763 <parameters>
764 <parameter name="buf" type="GstRingBuffer*"/>
765 </parameters>
766 </vfunc>
767 <field name="cond" type="GCond*"/>
768 <field name="open" type="gboolean"/>
769 <field name="acquired" type="gboolean"/>
770 <field name="data" type="GstBuffer*"/>
771 <field name="spec" type="GstRingBufferSpec"/>
772 <field name="segstate" type="GstRingBufferSegState*"/>
773 <field name="samples_per_seg" type="gint"/>
774 <field name="empty_seg" type="guint8*"/>
775 <field name="state" type="gint"/>
776 <field name="segdone" type="gint"/>
777 <field name="segbase" type="gint"/>
778 <field name="waiting" type="gint"/>
779 <field name="callback" type="GstRingBufferCallback"/>
780 <field name="cb_data" type="gpointer"/>
781 <field name="abidata" type="gpointer"/>
782 </object>
783 <constant name="GST_AUDIO_DEF_RATE" type="int" value="44100"/>
784 <constant name="GST_AUDIO_FLOAT_PAD_TEMPLATE_CAPS" type="char*" value="audio/x-raw-float, rate = (int) [ 1, MAX ], channels = (int) [ 1, MAX ], endianness = (int) { LITTLE_ENDIAN , BIG_ENDIAN }, width = (int) { 32, 64 }"/>
785 <constant name="GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS" type="char*" value="audio/x-raw-float, width = (int) 32, rate = (int) [ 1, MAX ], channels = (int) 1, endianness = (int) BYTE_ORDER"/>
786 <constant name="GST_AUDIO_INT_PAD_TEMPLATE_CAPS" type="char*" value="audio/x-raw-int, rate = (int) [ 1, MAX ], channels = (int) [ 1, MAX ], endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, width = (int) { 8, 16, 24, 32 }, depth = (int) [ 1, 32 ], signed = (boolean) { true, false }"/>
787 <constant name="GST_AUDIO_INT_STANDARD_PAD_TEMPLATE_CAPS" type="char*" value="audio/x-raw-int, rate = (int) [ 1, MAX ], channels = (int) 2, endianness = (int) BYTE_ORDER, width = (int) 16, depth = (int) 16, signed = (boolean) true"/>
788 </namespace>
789 </api>