Initial import to Tizen
[profile/ivi/gstreamer-python.git] / gst / interfaces.defs
1 ;; -*- scheme -*-
2
3 (include "xoverlay.defs")
4
5 ;; object definitions ...
6
7 ;;
8 ;; interface definitions ...
9 ;;
10
11 (define-interface ColorBalance
12    (in-module "Gst")
13    (c-name "GstColorBalance")
14    (gtype-id "GST_TYPE_COLOR_BALANCE")
15    (vtable "GstColorBalanceClass")
16 )
17
18 (define-object ColorBalanceChannel
19   (in-module "Gst")
20   (parent "GObject")
21   (c-name "GstColorBalanceChannel")
22   (gtype-id "GST_TYPE_COLOR_BALANCE_CHANNEL")
23   (fields
24     '("gchar*" "label")
25     '("gint" "min_value")
26     '("gint" "max_value")
27   )
28 )
29
30 (define-interface Mixer
31    (in-module "Gst")
32    (c-name "GstMixer")
33    (gtype-id "GST_TYPE_MIXER")
34    (fields
35      '("GstMixerType" "mixer_type")
36     )
37    (vtable "GstMixerClass")
38 )
39
40 (define-object MixerTrack
41    (in-module "Gst")
42    (parent "GObject")
43    (c-name "GstMixerTrack")
44    (gtype-id "GST_TYPE_MIXER_TRACK")
45    (fields
46      '("gchar*" "label")
47      '("GstMixerTrackFlags" "flags")
48      '("gint" "num_channels")
49      '("gint" "min_volume")
50      '("gint" "max_volume")
51     )
52 )
53
54 (define-object MixerOptions
55   (in-module "Gst")
56   (parent "GstMixerTrack")
57   (c-name "GstMixerOptions")
58   (gtype-id "GST_TYPE_MIXER_OPTIONS")
59 )
60
61 (define-interface Navigation
62    (in-module "Gst")
63    (c-name "GstNavigation")
64    (gtype-id "GST_TYPE_NAVIGATION")
65    (vtable "GstNavigationInterface")
66 )
67
68 (define-interface PropertyProbe
69    (in-module "Gst")
70    (c-name "GstPropertyProbe")
71    (gtype-id "GST_TYPE_PROPERTY_PROBE")
72    (vtable "GstPropertyProbeInterface")
73 )
74
75 (define-interface Tuner
76    (in-module "Gst")
77    (c-name "GstTuner")
78    (gtype-id "GST_TYPE_TUNER")
79    (vtable "GstTunerClass")
80 )
81
82 (define-object TunerChannel
83    (in-module "Gst")
84    (parent "GObject")
85    (c-name "GstTunerChannel")
86    (gtype-id "GST_TYPE_TUNER_CHANNEL")
87    (fields
88     '("gchar*" "label")
89     '("GstTunerChannelFlags" "flags")
90     '("gfloat" "freq_multiplicator")
91     '("gulong" "min_frequency")
92     '("gulong" "max_frequency")
93     '("gint" "min_signal")
94     '("gint" "max_signal"))
95 )
96
97 (define-object TunerNorm
98    (in-module "Gst")
99    (parent "GObject")
100    (c-name "GstTunerNorm")
101    (gtype-id "GST_TYPE_TUNER_NORM")
102    (fields
103     '("gchar*" "label")
104     '("GValue*" "framerate"))
105 )
106
107 ;; Enumerations and flags ...
108
109 (define-enum ColorBalanceType
110   (in-module "Gst")
111   (c-name "GstColorBalanceType")
112   (gtype-id "GST_TYPE_COLOR_BALANCE_TYPE")
113   (values
114     '("hardware" "GST_COLOR_BALANCE_HARDWARE")
115     '("software" "GST_COLOR_BALANCE_SOFTWARE")
116   )
117 )
118
119 (define-enum MixerType
120   (in-module "Gst")
121   (c-name "GstMixerType")
122   (gtype-id "GST_TYPE_MIXER_TYPE")
123   (values
124     '("hardware" "GST_MIXER_HARDWARE")
125     '("software" "GST_MIXER_SOFTWARE")
126   )
127 )
128
129 (define-enum MixerMessageType
130   (in-module "Gst")
131   (c-name "GstMixerMessageType")
132   (gtype-id "GST_TYPE_MIXER_MESSAGE_TYPE")
133   (values
134     '("invalid" "GST_MIXER_MESSAGE_INVALID")
135     '("mute-toggled" "GST_MIXER_MESSAGE_MUTE_TOGGLED")
136     '("record-toggled" "GST_MIXER_MESSAGE_RECORD_TOGGLED")
137     '("volume-changed" "GST_MIXER_MESSAGE_VOLUME_CHANGED")
138     '("option-changed" "GST_MIXER_MESSAGE_OPTION_CHANGED")
139   )
140 )
141
142 (define-flags MixerFlags
143   (in-module "Gst")
144   (c-name "GstMixerFlags")
145   (gtype-id "GST_TYPE_MIXER_FLAGS")
146   (values
147     '("none" "GST_MIXER_FLAG_NONE")
148     '("auto-notifications" "GST_MIXER_FLAG_AUTO_NOTIFICATIONS")
149     '("has-whitelist" "GST_MIXER_FLAG_HAS_WHITELIST")
150     '("grouping" "GST_MIXER_FLAG_GROUPING")
151   )
152 )
153
154 (define-flags MixerTrackFlags
155   (in-module "Gst")
156   (c-name "GstMixerTrackFlags")
157   (gtype-id "GST_TYPE_MIXER_TRACK_FLAGS")
158   (values
159     '("input" "GST_MIXER_TRACK_INPUT")
160     '("output" "GST_MIXER_TRACK_OUTPUT")
161     '("mute" "GST_MIXER_TRACK_MUTE")
162     '("record" "GST_MIXER_TRACK_RECORD")
163     '("master" "GST_MIXER_TRACK_MASTER")
164     '("software" "GST_MIXER_TRACK_SOFTWARE")
165     '("no-record" "GST_MIXER_TRACK_NO_RECORD")
166     '("no-mute" "GST_MIXER_TRACK_NO_MUTE")
167     '("whitelist" "GST_MIXER_TRACK_WHITELIST")
168     '("readonly" "GST_MIXER_TRACK_READONLY")
169     '("writeonly" "GST_MIXER_TRACK_WRITEONLY")
170   )
171 )
172
173 (define-enum NavigationCommand
174   (in-module "Gst")
175   (c-name "GstNavigationCommand")
176   (gtype-id "GST_TYPE_NAVIGATION_COMMAND")
177   (values
178     '("invalid" "GST_NAVIGATION_COMMAND_INVALID")
179     '("menu1" "GST_NAVIGATION_COMMAND_MENU1")
180     '("menu2" "GST_NAVIGATION_COMMAND_MENU2")
181     '("menu3" "GST_NAVIGATION_COMMAND_MENU3")
182     '("menu4" "GST_NAVIGATION_COMMAND_MENU4")
183     '("menu5" "GST_NAVIGATION_COMMAND_MENU5")
184     '("menu6" "GST_NAVIGATION_COMMAND_MENU6")
185     '("menu7" "GST_NAVIGATION_COMMAND_MENU7")
186     '("left" "GST_NAVIGATION_COMMAND_LEFT")
187     '("right" "GST_NAVIGATION_COMMAND_RIGHT")
188     '("up" "GST_NAVIGATION_COMMAND_UP")
189     '("down" "GST_NAVIGATION_COMMAND_DOWN")
190     '("activate" "GST_NAVIGATION_COMMAND_ACTIVATE")
191     '("prev-angle" "GST_NAVIGATION_COMMAND_PREV_ANGLE")
192     '("next-angle" "GST_NAVIGATION_COMMAND_NEXT_ANGLE")
193   )
194 )
195
196 (define-enum NavigationQueryType
197   (in-module "Gst")
198   (c-name "GstNavigationQueryType")
199   (gtype-id "GST_TYPE_NAVIGATION_QUERY_TYPE")
200   (values
201     '("invalid" "GST_NAVIGATION_QUERY_INVALID")
202     '("commands" "GST_NAVIGATION_QUERY_COMMANDS")
203     '("angles" "GST_NAVIGATION_QUERY_ANGLES")
204   )
205 )
206
207 (define-enum NavigationMessageType
208   (in-module "Gst")
209   (c-name "GstNavigationMessageType")
210   (gtype-id "GST_TYPE_NAVIGATION_MESSAGE_TYPE")
211   (values
212     '("invalid" "GST_NAVIGATION_MESSAGE_INVALID")
213     '("mouse-over" "GST_NAVIGATION_MESSAGE_MOUSE_OVER")
214     '("commands-changed" "GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED")
215     '("angles-changed" "GST_NAVIGATION_MESSAGE_ANGLES_CHANGED")
216   )
217 )
218
219 (define-enum NavigationEventType
220   (in-module "Gst")
221   (c-name "GstNavigationEventType")
222   (gtype-id "GST_TYPE_NAVIGATION_EVENT_TYPE")
223   (values
224     '("invalid" "GST_NAVIGATION_EVENT_INVALID")
225     '("key-press" "GST_NAVIGATION_EVENT_KEY_PRESS")
226     '("key-release" "GST_NAVIGATION_EVENT_KEY_RELEASE")
227     '("mouse-button-press" "GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS")
228     '("mouse-button-release" "GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE")
229     '("mouse-move" "GST_NAVIGATION_EVENT_MOUSE_MOVE")
230     '("command" "GST_NAVIGATION_EVENT_COMMAND")
231   )
232 )
233
234 (define-enum StreamVolumeFormat
235   (in-module "Gst")
236   (c-name "GstStreamVolumeFormat")
237   (gtype-id "GST_TYPE_STREAM_VOLUME_FORMAT")
238   (values
239     '("linear" "GST_STREAM_VOLUME_FORMAT_LINEAR")
240     '("cubic" "GST_STREAM_VOLUME_FORMAT_CUBIC")
241     '("db" "GST_STREAM_VOLUME_FORMAT_DB")
242   )
243 )
244
245 (define-flags TunerChannelFlags
246   (in-module "Gst")
247   (c-name "GstTunerChannelFlags")
248   (gtype-id "GST_TYPE_TUNER_CHANNEL_FLAGS")
249   (values
250     '("input" "GST_TUNER_CHANNEL_INPUT")
251     '("output" "GST_TUNER_CHANNEL_OUTPUT")
252     '("frequency" "GST_TUNER_CHANNEL_FREQUENCY")
253     '("audio" "GST_TUNER_CHANNEL_AUDIO")
254   )
255 )
256
257 ;; From /opt/gnome/include/gstreamer-0.7/gst/colorbalance/colorbalance.h
258
259 (define-function gst_color_balance_get_type
260   (c-name "gst_color_balance_get_type")
261   (return-type "GType")
262 )
263
264 (define-method list_colorbalance_channels
265   (of-object "GstColorBalance")
266   (c-name "gst_color_balance_list_channels")
267   (return-type "const-GList*")
268 )
269
270 (define-method set_value
271   (of-object "GstColorBalance")
272   (c-name "gst_color_balance_set_value")
273   (return-type "none")
274   (parameters
275     '("GstColorBalanceChannel*" "channel")
276     '("gint" "value")
277   )
278 )
279
280 (define-method get_value
281   (of-object "GstColorBalance")
282   (c-name "gst_color_balance_get_value")
283   (return-type "gint")
284   (parameters
285     '("GstColorBalanceChannel*" "channel")
286   )
287 )
288
289 (define-method value_changed
290   (of-object "GstColorBalance")
291   (c-name "gst_color_balance_value_changed")
292   (return-type "none")
293   (parameters
294     '("GstColorBalanceChannel*" "channel")
295     '("gint" "value")
296   )
297 )
298
299 (define-virtual list_channels
300   (of-object "GstColorBalance")
301   (return-type "const-GList*")
302 )
303
304 (define-virtual set_value
305   (of-object "GstColorBalance")
306   (return-type "none")
307   (parameters
308     '("GstColorBalanceChannel*" "channel")
309     '("gint" "value")
310   )
311 )
312
313 (define-virtual get_value
314   (of-object "GstColorBalance")
315   (return-type "gint")
316   (parameters
317     '("GstColorBalanceChannel*" "channel")
318   )
319 )
320
321
322
323 ;; From /opt/gnome/include/gstreamer-0.7/gst/mixer/mixer.h
324
325 (define-function gst_mixer_get_type
326   (c-name "gst_mixer_get_type")
327   (return-type "GType")
328 )
329
330 (define-method list_tracks
331   (of-object "GstMixer")
332   (c-name "gst_mixer_list_tracks")
333   (return-type "const-GList*")
334 )
335
336 (define-method set_volume
337   (of-object "GstMixer")
338   (c-name "gst_mixer_set_volume")
339   (return-type "none")
340   (parameters
341     '("GstMixerTrack*" "track")
342     '("gint*" "volumes")
343   )
344 )
345
346 (define-method get_volume
347   (of-object "GstMixer")
348   (c-name "gst_mixer_get_volume")
349   (return-type "tuple")
350   (parameters
351     '("GstMixerTrack*" "track")
352   )
353 )
354
355 (define-method set_mute
356   (of-object "GstMixer")
357   (c-name "gst_mixer_set_mute")
358   (return-type "none")
359   (parameters
360     '("GstMixerTrack*" "track")
361     '("gboolean" "mute")
362   )
363 )
364
365 (define-method set_record
366   (of-object "GstMixer")
367   (c-name "gst_mixer_set_record")
368   (return-type "none")
369   (parameters
370     '("GstMixerTrack*" "track")
371     '("gboolean" "record")
372   )
373 )
374
375 (define-method set_option
376   (of-object "GstMixer")
377   (c-name "gst_mixer_set_option")
378   (return-type "none")
379   (parameters
380     '("GstMixerOptions*" "opts")
381     '("gchar*" "value")
382   )
383 )
384
385 (define-method get_option
386   (of-object "GstMixer")
387   (c-name "gst_mixer_get_option")
388   (return-type "const-gchar*")
389   (parameters
390     '("GstMixerOptions*" "opts")
391   )
392 )
393
394 (define-method mute_toggled
395   (of-object "GstMixer")
396   (c-name "gst_mixer_mute_toggled")
397   (return-type "none")
398   (parameters
399     '("GstMixerTrack*" "track")
400     '("gboolean" "mute")
401   )
402 )
403
404 (define-method record_toggled
405   (of-object "GstMixer")
406   (c-name "gst_mixer_record_toggled")
407   (return-type "none")
408   (parameters
409     '("GstMixerTrack*" "track")
410     '("gboolean" "record")
411   )
412 )
413
414 (define-method volume_changed
415   (of-object "GstMixer")
416   (c-name "gst_mixer_volume_changed")
417   (return-type "none")
418   (parameters
419     '("GstMixerTrack*" "track")
420     '("gint*" "volumes")
421   )
422 )
423
424 (define-method option_changed
425   (of-object "GstMixer")
426   (c-name "gst_mixer_option_changed")
427   (return-type "none")
428   (parameters
429     '("GstMixerOptions*" "opts")
430     '("gchar*" "value")
431   )
432 )
433
434 (define-method get_mixer_flags
435   (of-object "GstMixer")
436   (c-name "gst_mixer_get_mixer_flags")
437   (return-type "GstMixerFlags")
438 )
439
440 (define-function mixer_message_get_type
441   (c-name "gst_mixer_message_get_type")
442   (return-type "GstMixerMessageType")
443   (parameters
444     '("GstMessage*" "message")
445   )
446 )
447
448 (define-function mixer_message_parse_mute_toggled
449   (c-name "gst_mixer_message_parse_mute_toggled")
450   (return-type "none")
451   (parameters
452     '("GstMessage*" "message")
453     '("GstMixerTrack**" "track")
454     '("gboolean*" "mute")
455   )
456 )
457
458 (define-function mixer_message_parse_record_toggled
459   (c-name "gst_mixer_message_parse_record_toggled")
460   (return-type "none")
461   (parameters
462     '("GstMessage*" "message")
463     '("GstMixerTrack**" "track")
464     '("gboolean*" "record")
465   )
466 )
467
468 (define-function mixer_message_parse_volume_changed
469   (c-name "gst_mixer_message_parse_volume_changed")
470   (return-type "none")
471   (parameters
472     '("GstMessage*" "message")
473     '("GstMixerTrack**" "track")
474     '("gint**" "volumes")
475     '("gint*" "num_channels")
476   )
477 )
478
479 (define-function mixer_message_parse_option_changed
480   (c-name "gst_mixer_message_parse_option_changed")
481   (return-type "none")
482   (parameters
483     '("GstMessage*" "message")
484     '("GstMixerOptions**" "options")
485     '("const-gchar**" "value")
486   )
487 )
488
489 (define-function gst_mixer_message_parse_options_list_changed
490   (c-name "gst_mixer_message_parse_options_list_changed")
491   (return-type "none")
492   (parameters
493     '("GstMessage*" "message")
494     '("GstMixerOptions**" "options")
495   )
496 )
497
498 (define-virtual list_tracks
499   (of-object "GstMixer")
500   (return-type "const-GList*")
501 )
502
503 (define-virtual set_volume
504   (of-object "GstMixer")
505   (return-type "none")
506   (parameters
507     '("GstMixerTrack*" "track")
508     '("gint*" "volumes")
509   )
510 )
511
512 (define-virtual get_volume
513   (of-object "GstMixer")
514   (return-type "none")
515   (parameters
516     '("GstMixerTrack*" "track")
517     '("gint*" "volumes")
518   )
519 )
520
521 (define-virtual set_mute
522   (of-object "GstMixer")
523   (return-type "none")
524   (parameters
525     '("GstMixerTrack*" "track")
526     '("gboolean" "mute")
527   )
528 )
529
530 (define-virtual set_record
531   (of-object "GstMixer")
532   (return-type "none")
533   (parameters
534     '("GstMixerTrack*" "track")
535     '("gboolean" "record")
536   )
537 )
538
539
540 ;; From ../gst-plugins-base/gst-libs/gst/interfaces/mixeroptions.h
541
542 (define-function gst_mixer_options_get_type
543   (c-name "gst_mixer_options_get_type")
544   (return-type "GType")
545 )
546
547 (define-method get_values
548   (of-object "GstMixerOptions")
549   (c-name "gst_mixer_options_get_values")
550   (return-type "GList*")
551 )
552
553
554 ;; From /opt/gnome/include/gstreamer-0.7/gst/navigation/navigation.h
555
556 (define-function navigation_get_type
557   (c-name "gst_navigation_get_type")
558   (return-type "GType")
559 )
560
561 (define-function navigation_query_get_type
562   (c-name "gst_navigation_query_get_type")
563   (return-type "GstNavigationQueryType")
564   (parameters
565     '("GstQuery*" "query")
566   )
567 )
568
569 (define-function navigation_query_new_commands
570   (c-name "gst_navigation_query_new_commands")
571   (caller-owns-return #t)
572   (return-type "GstQuery*")
573 )
574
575 (define-function navigation_query_set_commands
576   (c-name "gst_navigation_query_set_commands")
577   (return-type "none")
578   (parameters
579     '("GstQuery*" "query")
580     '("gint" "n_cmds")
581   )
582   (varargs #t)
583 )
584
585 (define-function navigation_query_set_commandsv
586   (c-name "gst_navigation_query_set_commandsv")
587   (return-type "none")
588   (parameters
589     '("GstQuery*" "query")
590     '("gint" "n_cmds")
591     '("GstNavigationCommand*" "cmds")
592   )
593 )
594
595 (define-function navigation_query_parse_commands_length
596   (c-name "gst_navigation_query_parse_commands_length")
597   (return-type "gboolean")
598   (parameters
599     '("GstQuery*" "query")
600     '("guint*" "n_cmds")
601   )
602 )
603
604 (define-function navigation_query_parse_commands_nth
605   (c-name "gst_navigation_query_parse_commands_nth")
606   (return-type "gboolean")
607   (parameters
608     '("GstQuery*" "query")
609     '("guint" "nth")
610     '("GstNavigationCommand*" "cmd")
611   )
612 )
613
614 (define-function navigation_query_new_angles
615   (c-name "gst_navigation_query_new_angles")
616   (caller-owns-return #t)
617   (return-type "GstQuery*")
618 )
619
620 (define-function navigation_query_set_angles
621   (c-name "gst_navigation_query_set_angles")
622   (return-type "none")
623   (parameters
624     '("GstQuery*" "query")
625     '("guint" "cur_angle")
626     '("guint" "n_angles")
627   )
628 )
629
630 (define-function navigation_query_parse_angles
631   (c-name "gst_navigation_query_parse_angles")
632   (return-type "gboolean")
633   (parameters
634     '("GstQuery*" "query")
635     '("guint*" "cur_angle")
636     '("guint*" "n_angles")
637   )
638 )
639
640 (define-function navigation_message_get_type
641   (c-name "gst_navigation_message_get_type")
642   (return-type "GstNavigationMessageType")
643   (parameters
644     '("GstMessage*" "message")
645   )
646 )
647
648 (define-function navigation_message_new_mouse_over
649   (c-name "gst_navigation_message_new_mouse_over")
650   (return-type "GstMessage*")
651   (caller-owns-return #t)
652   (parameters
653     '("GstObject*" "src")
654     '("gboolean" "active")
655   )
656 )
657
658 (define-function navigation_message_parse_mouse_over
659   (c-name "gst_navigation_message_parse_mouse_over")
660   (return-type "gboolean")
661   (parameters
662     '("GstMessage*" "message")
663     '("gboolean*" "active")
664   )
665 )
666
667 (define-function navigation_message_new_commands_changed
668   (c-name "gst_navigation_message_new_commands_changed")
669   (return-type "GstMessage*")
670   (caller-owns-return #t)
671   (parameters
672     '("GstObject*" "src")
673   )
674 )
675
676 (define-function navigation_message_new_angles_changed
677   (c-name "gst_navigation_message_new_angles_changed")
678   (return-type "GstMessage*")
679   (caller-owns-return #t)
680   (parameters
681     '("GstObject*" "src")
682     '("guint" "cur_angle")
683     '("guint" "n_angles")
684   )
685 )
686
687 (define-function navigation_message_parse_angles_changed
688   (c-name "gst_navigation_message_parse_angles_changed")
689   (return-type "gboolean")
690   (parameters
691     '("GstMessage*" "message")
692     '("guint*" "cur_angle")
693     '("guint*" "n_angles")
694   )
695 )
696
697 (define-function navigation_event_get_type
698   (c-name "gst_navigation_event_get_type")
699   (return-type "GstNavigationEventType")
700   (parameters
701     '("GstEvent*" "event")
702   )
703 )
704
705 (define-function navigation_event_parse_key_event
706   (c-name "gst_navigation_event_parse_key_event")
707   (return-type "gboolean")
708   (parameters
709     '("GstEvent*" "event")
710     '("const-gchar**" "key")
711   )
712 )
713
714 (define-function navigation_event_parse_mouse_button_event
715   (c-name "gst_navigation_event_parse_mouse_button_event")
716   (return-type "gboolean")
717   (parameters
718     '("GstEvent*" "event")
719     '("gint*" "button")
720     '("gdouble*" "x")
721     '("gdouble*" "y")
722   )
723 )
724
725 (define-function navigation_event_parse_mouse_move_event
726   (c-name "gst_navigation_event_parse_mouse_move_event")
727   (return-type "gboolean")
728   (parameters
729     '("GstEvent*" "event")
730     '("gdouble*" "x")
731     '("gdouble*" "y")
732   )
733 )
734
735 (define-function navigation_event_parse_command
736   (c-name "gst_navigation_event_parse_command")
737   (return-type "gboolean")
738   (parameters
739     '("GstEvent*" "event")
740     '("GstNavigationCommand*" "command")
741   )
742 )
743
744 (define-method send_event
745   (of-object "GstNavigation")
746   (c-name "gst_navigation_send_event")
747   (return-type "none")
748   (parameters
749     '("GstStructure*" "structure")
750   )
751 )
752
753 (define-method send_key_event
754   (of-object "GstNavigation")
755   (c-name "gst_navigation_send_key_event")
756   (return-type "none")
757   (parameters
758     '("const-char*" "event")
759     '("const-char*" "key")
760   )
761 )
762
763 (define-method send_mouse_event
764   (of-object "GstNavigation")
765   (c-name "gst_navigation_send_mouse_event")
766   (return-type "none")
767   (parameters
768     '("const-char*" "event")
769     '("int" "button")
770     '("double" "x")
771     '("double" "y")
772   )
773 )
774
775 (define-virtual send_event
776   (of-object "GstNavigation")
777   (return-type "none")
778   (parameters
779     '("GstStructure*" "structure")
780   )
781 )
782
783 (define-method send_command
784   (of-object "GstNavigation")
785   (c-name "gst_navigation_send_command")
786   (return-type "none")
787   (parameters
788     '("GstNavigationCommand" "command")
789   )
790 )
791
792 ;; From /opt/gnome/include/gstreamer-0.7/gst/propertyprobe/propertyprobe.h
793
794 (define-function gst_property_probe_get_type
795   (c-name "gst_property_probe_get_type")
796   (return-type "GType")
797 )
798
799 (define-method probe_get_properties
800   (of-object "GstPropertyProbe")
801   (c-name "gst_property_probe_get_properties")
802   (return-type "const-GList*")
803 )
804
805 (define-method probe_get_property
806   (of-object "GstPropertyProbe")
807   (c-name "gst_property_probe_get_property")
808   (return-type "const-GParamSpec*")
809   (parameters
810     '("const-gchar*" "name")
811   )
812 )
813
814 (define-method probe_property
815   (of-object "GstPropertyProbe")
816   (c-name "gst_property_probe_probe_property")
817   (return-type "none")
818   (parameters
819     '("const-GParamSpec*" "pspec")
820   )
821 )
822
823 (define-method probe_property_name
824   (of-object "GstPropertyProbe")
825   (c-name "gst_property_probe_probe_property_name")
826   (return-type "none")
827   (parameters
828     '("const-gchar*" "name")
829   )
830 )
831
832 (define-method needs_probe
833   (of-object "GstPropertyProbe")
834   (c-name "gst_property_probe_needs_probe")
835   (return-type "gboolean")
836   (parameters
837     '("const-GParamSpec*" "pspec")
838   )
839 )
840
841 (define-method needs_probe_name
842   (of-object "GstPropertyProbe")
843   (c-name "gst_property_probe_needs_probe_name")
844   (return-type "gboolean")
845   (parameters
846     '("const-gchar*" "name")
847   )
848 )
849
850 (define-method get_values
851   (of-object "GstPropertyProbe")
852   (c-name "gst_property_probe_get_values")
853   (return-type "GValueArray*")
854   (parameters
855     '("const-GParamSpec*" "pspec")
856   )
857 )
858
859 (define-method probe_get_values_name
860   (of-object "GstPropertyProbe")
861   (c-name "gst_property_probe_get_values_name")
862   (return-type "GValueArray*")
863   (parameters
864     '("const-gchar*" "name")
865   )
866 )
867
868 (define-method probe_and_get_values
869   (of-object "GstPropertyProbe")
870   (c-name "gst_property_probe_probe_and_get_values")
871   (return-type "GValueArray*")
872   (parameters
873     '("const-GParamSpec*" "pspec")
874   )
875 )
876
877 (define-method probe_and_get_values_name
878   (of-object "GstPropertyProbe")
879   (c-name "gst_property_probe_probe_and_get_values_name")
880   (return-type "GValueArray*")
881   (parameters
882     '("const-gchar*" "name")
883   )
884 )
885
886 (define-virtual get_properties
887   (of-object "GstPropertyProbe")
888   (return-type "const-GList*")
889 )
890
891 (define-virtual needs_probe
892   (of-object "GstPropertyProbe")
893   (return-type "gboolean")
894   (parameters
895     '("guint" "prop_id")
896     '("const-GParamSpec*" "pspec")
897   )
898 )
899
900 (define-virtual probe_property
901   (of-object "GstPropertyProbe")
902   (return-type "none")
903   (parameters
904     '("guint" "prop_id")
905     '("const-GParamSpec*" "pspec")
906   )
907 )
908
909 (define-virtual get_values
910   (of-object "GstPropertyProbe")
911   (return-type "GValueArray*")
912   (parameters
913     '("guint" "prop_id")
914     '("const-GParamSpec*" "pspec")
915   )
916 )
917
918
919 ;; From streamvolume.h
920
921 (define-method set_volume
922   (of-object "GstStreamVolume")
923   (c-name "gst_stream_volume_set_volume")
924   (return-type "none")
925   (parameters
926     '("GstStreamVolumeFormat" "format")
927     '("gdouble" "val")
928   )
929 )
930
931 (define-method get_volume
932   (of-object "GstStreamVolume")
933   (c-name "gst_stream_volume_get_volume")
934   (return-type "gdouble")
935   (parameters
936     '("GstStreamVolumeFormat" "format")
937   )
938 )
939
940 (define-method set_mute
941   (of-object "GstStreamVolume")
942   (c-name "gst_stream_volume_set_mute")
943   (return-type "none")
944   (parameters
945     '("gboolean" "mute")
946   )
947 )
948
949 (define-method get_mute
950   (of-object "GstStreamVolume")
951   (c-name "gst_stream_volume_get_mute")
952   (return-type "gboolean")
953 )
954
955 (define-function stream_volume_convert_volume
956   (c-name "gst_stream_volume_convert_volume")
957   (return-type "gdouble")
958   (parameters
959     '("GstStreamVolumeFormat" "from")
960     '("GstStreamVolumeFormat" "to")
961     '("gdouble" "val")
962   )
963 )
964
965
966 ;; From /opt/gnome/include/gstreamer-0.7/gst/tuner/tuner.h
967
968 (define-function gst_tuner_get_type
969   (c-name "gst_tuner_get_type")
970   (return-type "GType")
971 )
972
973 (define-method list_channels
974   (of-object "GstTuner")
975   (c-name "gst_tuner_list_channels")
976   (return-type "const-GList*")
977 )
978
979 (define-method set_channel
980   (of-object "GstTuner")
981   (c-name "gst_tuner_set_channel")
982   (return-type "none")
983   (parameters
984     '("GstTunerChannel*" "channel")
985   )
986 )
987
988 (define-method get_channel
989   (of-object "GstTuner")
990   (c-name "gst_tuner_get_channel")
991   (return-type "GstTunerChannel*")
992 )
993
994 (define-method list_norms
995   (of-object "GstTuner")
996   (c-name "gst_tuner_list_norms")
997   (return-type "const-GList*")
998 )
999
1000 (define-method set_norm
1001   (of-object "GstTuner")
1002   (c-name "gst_tuner_set_norm")
1003   (return-type "none")
1004   (parameters
1005     '("GstTunerNorm*" "channel")
1006   )
1007 )
1008
1009 (define-method get_norm
1010   (of-object "GstTuner")
1011   (c-name "gst_tuner_get_norm")
1012   (return-type "GstTunerNorm*")
1013 )
1014
1015 (define-method set_frequency
1016   (of-object "GstTuner")
1017   (c-name "gst_tuner_set_frequency")
1018   (return-type "none")
1019   (parameters
1020     '("GstTunerChannel*" "channel")
1021     '("gulong" "frequency")
1022   )
1023 )
1024
1025 (define-method get_frequency
1026   (of-object "GstTuner")
1027   (c-name "gst_tuner_get_frequency")
1028   (return-type "gulong")
1029   (parameters
1030     '("GstTunerChannel*" "channel")
1031   )
1032 )
1033
1034 (define-method signal_strength
1035   (of-object "GstTuner")
1036   (c-name "gst_tuner_signal_strength")
1037   (return-type "gint")
1038   (parameters
1039     '("GstTunerChannel*" "channel")
1040   )
1041 )
1042
1043 (define-method find_norm_by_name
1044   (of-object "GstTuner")
1045   (c-name "gst_tuner_find_norm_by_name")
1046   (return-type "GstTunerNorm*")
1047   (parameters
1048     '("gchar*" "norm")
1049   )
1050 )
1051
1052 (define-method find_channel_by_name
1053   (of-object "GstTuner")
1054   (c-name "gst_tuner_find_channel_by_name")
1055   (return-type "GstTunerChannel*")
1056   (parameters
1057     '("gchar*" "channel")
1058   )
1059 )
1060
1061 (define-method channel_changed
1062   (of-object "GstTuner")
1063   (c-name "gst_tuner_channel_changed")
1064   (return-type "none")
1065   (parameters
1066     '("GstTunerChannel*" "channel")
1067   )
1068 )
1069
1070 (define-method norm_changed
1071   (of-object "GstTuner")
1072   (c-name "gst_tuner_norm_changed")
1073   (return-type "none")
1074   (parameters
1075     '("GstTunerNorm*" "norm")
1076   )
1077 )
1078
1079 (define-method frequency_changed
1080   (of-object "GstTuner")
1081   (c-name "gst_tuner_frequency_changed")
1082   (return-type "none")
1083   (parameters
1084     '("GstTunerChannel*" "channel")
1085     '("gulong" "frequency")
1086   )
1087 )
1088
1089 (define-method signal_changed
1090   (of-object "GstTuner")
1091   (c-name "gst_tuner_signal_changed")
1092   (return-type "none")
1093   (parameters
1094     '("GstTunerChannel*" "channel")
1095     '("gint" "signal")
1096   )
1097 )
1098
1099 (define-virtual list_channels
1100   (of-object "GstTuner")
1101   (return-type "const-GList*")
1102 )
1103
1104 (define-virtual set_channel
1105   (of-object "GstTuner")
1106   (return-type "none")
1107   (parameters
1108     '("GstTunerChannel*" "channel")
1109   )
1110 )
1111
1112 (define-virtual get_channel
1113   (of-object "GstTuner")
1114   (return-type "GstTunerChannel*")
1115 )
1116
1117 (define-virtual list_norms
1118   (of-object "GstTuner")
1119   (return-type "const-GList*")
1120 )
1121
1122 (define-virtual set_norm
1123   (of-object "GstTuner")
1124   (return-type "none")
1125   (parameters
1126     '("GstTunerNorm*" "channel")
1127   )
1128 )
1129
1130 (define-virtual get_norm
1131   (of-object "GstTuner")
1132   (return-type "GstTunerNorm*")
1133 )
1134
1135 (define-virtual set_frequency
1136   (of-object "GstTuner")
1137   (return-type "none")
1138   (parameters
1139     '("GstTunerChannel*" "channel")
1140     '("gulong" "frequency")
1141   )
1142 )
1143
1144 (define-virtual get_frequency
1145   (of-object "GstTuner")
1146   (return-type "gulong")
1147   (parameters
1148     '("GstTunerChannel*" "channel")
1149   )
1150 )
1151
1152 (define-virtual signal_strength
1153   (of-object "GstTuner")
1154   (return-type "gint")
1155   (parameters
1156     '("GstTunerChannel*" "channel")
1157   )
1158 )
1159
1160 ;; -*- scheme -*-
1161 ; object definitions ...
1162 ;; Enumerations and flags ...
1163
1164
1165 ;; From videoorientation.h
1166
1167 ;;
1168 ;; interface definitions ...
1169 ;;
1170
1171 (define-interface VideoOrientation
1172    (in-module "Gst")
1173    (c-name "GstVideoOrientation")
1174    (gtype-id "GST_TYPE_VIDEO_ORIENTATION")
1175    (vtable "GstVideoOrientationClass")
1176 )
1177
1178 (define-function gst_video_orientation_get_type
1179   (c-name "gst_video_orientation_get_type")
1180   (return-type "GType")
1181 )
1182
1183 (define-method get_hflip
1184   (of-object "GstVideoOrientation")
1185   (c-name "gst_video_orientation_get_hflip")
1186   (return-type "gboolean")
1187   (parameters
1188     '("gboolean*" "flip")
1189   )
1190 )
1191
1192 (define-method get_vflip
1193   (of-object "GstVideoOrientation")
1194   (c-name "gst_video_orientation_get_vflip")
1195   (return-type "gboolean")
1196   (parameters
1197     '("gboolean*" "flip")
1198   )
1199 )
1200
1201 (define-method get_hcenter
1202   (of-object "GstVideoOrientation")
1203   (c-name "gst_video_orientation_get_hcenter")
1204   (return-type "gboolean")
1205   (parameters
1206     '("gint*" "center")
1207   )
1208 )
1209
1210 (define-method get_vcenter
1211   (of-object "GstVideoOrientation")
1212   (c-name "gst_video_orientation_get_vcenter")
1213   (return-type "gboolean")
1214   (parameters
1215     '("gint*" "center")
1216   )
1217 )
1218
1219 (define-method set_hflip
1220   (of-object "GstVideoOrientation")
1221   (c-name "gst_video_orientation_set_hflip")
1222   (return-type "gboolean")
1223   (parameters
1224     '("gboolean" "flip")
1225   )
1226 )
1227
1228 (define-method set_vflip
1229   (of-object "GstVideoOrientation")
1230   (c-name "gst_video_orientation_set_vflip")
1231   (return-type "gboolean")
1232   (parameters
1233     '("gboolean" "flip")
1234   )
1235 )
1236
1237 (define-method set_hcenter
1238   (of-object "GstVideoOrientation")
1239   (c-name "gst_video_orientation_set_hcenter")
1240   (return-type "gboolean")
1241   (parameters
1242     '("gint" "center")
1243   )
1244 )
1245
1246 (define-method set_vcenter
1247   (of-object "GstVideoOrientation")
1248   (c-name "gst_video_orientation_set_vcenter")
1249   (return-type "gboolean")
1250   (parameters
1251     '("gint" "center")
1252   )
1253 )
1254
1255