3 (include "xoverlay.defs")
5 ;; object definitions ...
8 ;; interface definitions ...
11 (define-interface ColorBalance
13 (c-name "GstColorBalance")
14 (gtype-id "GST_TYPE_COLOR_BALANCE")
15 (vtable "GstColorBalanceClass")
18 (define-object ColorBalanceChannel
21 (c-name "GstColorBalanceChannel")
22 (gtype-id "GST_TYPE_COLOR_BALANCE_CHANNEL")
30 (define-interface Mixer
33 (gtype-id "GST_TYPE_MIXER")
35 '("GstMixerType" "mixer_type")
37 (vtable "GstMixerClass")
40 (define-object MixerTrack
43 (c-name "GstMixerTrack")
44 (gtype-id "GST_TYPE_MIXER_TRACK")
47 '("GstMixerTrackFlags" "flags")
48 '("gint" "num_channels")
49 '("gint" "min_volume")
50 '("gint" "max_volume")
54 (define-object MixerOptions
56 (parent "GstMixerTrack")
57 (c-name "GstMixerOptions")
58 (gtype-id "GST_TYPE_MIXER_OPTIONS")
61 (define-interface Navigation
63 (c-name "GstNavigation")
64 (gtype-id "GST_TYPE_NAVIGATION")
65 (vtable "GstNavigationInterface")
68 (define-interface PropertyProbe
70 (c-name "GstPropertyProbe")
71 (gtype-id "GST_TYPE_PROPERTY_PROBE")
72 (vtable "GstPropertyProbeInterface")
75 (define-interface Tuner
78 (gtype-id "GST_TYPE_TUNER")
79 (vtable "GstTunerClass")
82 (define-object TunerChannel
85 (c-name "GstTunerChannel")
86 (gtype-id "GST_TYPE_TUNER_CHANNEL")
89 '("GstTunerChannelFlags" "flags")
90 '("gfloat" "freq_multiplicator")
91 '("gulong" "min_frequency")
92 '("gulong" "max_frequency")
93 '("gint" "min_signal")
94 '("gint" "max_signal"))
97 (define-object TunerNorm
100 (c-name "GstTunerNorm")
101 (gtype-id "GST_TYPE_TUNER_NORM")
104 '("GValue*" "framerate"))
107 ;; Enumerations and flags ...
109 (define-enum ColorBalanceType
111 (c-name "GstColorBalanceType")
112 (gtype-id "GST_TYPE_COLOR_BALANCE_TYPE")
114 '("hardware" "GST_COLOR_BALANCE_HARDWARE")
115 '("software" "GST_COLOR_BALANCE_SOFTWARE")
119 (define-enum MixerType
121 (c-name "GstMixerType")
122 (gtype-id "GST_TYPE_MIXER_TYPE")
124 '("hardware" "GST_MIXER_HARDWARE")
125 '("software" "GST_MIXER_SOFTWARE")
129 (define-enum MixerMessageType
131 (c-name "GstMixerMessageType")
132 (gtype-id "GST_TYPE_MIXER_MESSAGE_TYPE")
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")
142 (define-flags MixerFlags
144 (c-name "GstMixerFlags")
145 (gtype-id "GST_TYPE_MIXER_FLAGS")
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")
154 (define-flags MixerTrackFlags
156 (c-name "GstMixerTrackFlags")
157 (gtype-id "GST_TYPE_MIXER_TRACK_FLAGS")
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")
173 (define-enum NavigationCommand
175 (c-name "GstNavigationCommand")
176 (gtype-id "GST_TYPE_NAVIGATION_COMMAND")
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")
196 (define-enum NavigationQueryType
198 (c-name "GstNavigationQueryType")
199 (gtype-id "GST_TYPE_NAVIGATION_QUERY_TYPE")
201 '("invalid" "GST_NAVIGATION_QUERY_INVALID")
202 '("commands" "GST_NAVIGATION_QUERY_COMMANDS")
203 '("angles" "GST_NAVIGATION_QUERY_ANGLES")
207 (define-enum NavigationMessageType
209 (c-name "GstNavigationMessageType")
210 (gtype-id "GST_TYPE_NAVIGATION_MESSAGE_TYPE")
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")
219 (define-enum NavigationEventType
221 (c-name "GstNavigationEventType")
222 (gtype-id "GST_TYPE_NAVIGATION_EVENT_TYPE")
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")
234 (define-enum StreamVolumeFormat
236 (c-name "GstStreamVolumeFormat")
237 (gtype-id "GST_TYPE_STREAM_VOLUME_FORMAT")
239 '("linear" "GST_STREAM_VOLUME_FORMAT_LINEAR")
240 '("cubic" "GST_STREAM_VOLUME_FORMAT_CUBIC")
241 '("db" "GST_STREAM_VOLUME_FORMAT_DB")
245 (define-flags TunerChannelFlags
247 (c-name "GstTunerChannelFlags")
248 (gtype-id "GST_TYPE_TUNER_CHANNEL_FLAGS")
250 '("input" "GST_TUNER_CHANNEL_INPUT")
251 '("output" "GST_TUNER_CHANNEL_OUTPUT")
252 '("frequency" "GST_TUNER_CHANNEL_FREQUENCY")
253 '("audio" "GST_TUNER_CHANNEL_AUDIO")
257 ;; From /opt/gnome/include/gstreamer-0.7/gst/colorbalance/colorbalance.h
259 (define-function gst_color_balance_get_type
260 (c-name "gst_color_balance_get_type")
261 (return-type "GType")
264 (define-method list_colorbalance_channels
265 (of-object "GstColorBalance")
266 (c-name "gst_color_balance_list_channels")
267 (return-type "const-GList*")
270 (define-method set_value
271 (of-object "GstColorBalance")
272 (c-name "gst_color_balance_set_value")
275 '("GstColorBalanceChannel*" "channel")
280 (define-method get_value
281 (of-object "GstColorBalance")
282 (c-name "gst_color_balance_get_value")
285 '("GstColorBalanceChannel*" "channel")
289 (define-method value_changed
290 (of-object "GstColorBalance")
291 (c-name "gst_color_balance_value_changed")
294 '("GstColorBalanceChannel*" "channel")
299 (define-virtual list_channels
300 (of-object "GstColorBalance")
301 (return-type "const-GList*")
304 (define-virtual set_value
305 (of-object "GstColorBalance")
308 '("GstColorBalanceChannel*" "channel")
313 (define-virtual get_value
314 (of-object "GstColorBalance")
317 '("GstColorBalanceChannel*" "channel")
323 ;; From /opt/gnome/include/gstreamer-0.7/gst/mixer/mixer.h
325 (define-function gst_mixer_get_type
326 (c-name "gst_mixer_get_type")
327 (return-type "GType")
330 (define-method list_tracks
331 (of-object "GstMixer")
332 (c-name "gst_mixer_list_tracks")
333 (return-type "const-GList*")
336 (define-method set_volume
337 (of-object "GstMixer")
338 (c-name "gst_mixer_set_volume")
341 '("GstMixerTrack*" "track")
346 (define-method get_volume
347 (of-object "GstMixer")
348 (c-name "gst_mixer_get_volume")
349 (return-type "tuple")
351 '("GstMixerTrack*" "track")
355 (define-method set_mute
356 (of-object "GstMixer")
357 (c-name "gst_mixer_set_mute")
360 '("GstMixerTrack*" "track")
365 (define-method set_record
366 (of-object "GstMixer")
367 (c-name "gst_mixer_set_record")
370 '("GstMixerTrack*" "track")
371 '("gboolean" "record")
375 (define-method set_option
376 (of-object "GstMixer")
377 (c-name "gst_mixer_set_option")
380 '("GstMixerOptions*" "opts")
385 (define-method get_option
386 (of-object "GstMixer")
387 (c-name "gst_mixer_get_option")
388 (return-type "const-gchar*")
390 '("GstMixerOptions*" "opts")
394 (define-method mute_toggled
395 (of-object "GstMixer")
396 (c-name "gst_mixer_mute_toggled")
399 '("GstMixerTrack*" "track")
404 (define-method record_toggled
405 (of-object "GstMixer")
406 (c-name "gst_mixer_record_toggled")
409 '("GstMixerTrack*" "track")
410 '("gboolean" "record")
414 (define-method volume_changed
415 (of-object "GstMixer")
416 (c-name "gst_mixer_volume_changed")
419 '("GstMixerTrack*" "track")
424 (define-method option_changed
425 (of-object "GstMixer")
426 (c-name "gst_mixer_option_changed")
429 '("GstMixerOptions*" "opts")
434 (define-method get_mixer_flags
435 (of-object "GstMixer")
436 (c-name "gst_mixer_get_mixer_flags")
437 (return-type "GstMixerFlags")
440 (define-function mixer_message_get_type
441 (c-name "gst_mixer_message_get_type")
442 (return-type "GstMixerMessageType")
444 '("GstMessage*" "message")
448 (define-function mixer_message_parse_mute_toggled
449 (c-name "gst_mixer_message_parse_mute_toggled")
452 '("GstMessage*" "message")
453 '("GstMixerTrack**" "track")
454 '("gboolean*" "mute")
458 (define-function mixer_message_parse_record_toggled
459 (c-name "gst_mixer_message_parse_record_toggled")
462 '("GstMessage*" "message")
463 '("GstMixerTrack**" "track")
464 '("gboolean*" "record")
468 (define-function mixer_message_parse_volume_changed
469 (c-name "gst_mixer_message_parse_volume_changed")
472 '("GstMessage*" "message")
473 '("GstMixerTrack**" "track")
474 '("gint**" "volumes")
475 '("gint*" "num_channels")
479 (define-function mixer_message_parse_option_changed
480 (c-name "gst_mixer_message_parse_option_changed")
483 '("GstMessage*" "message")
484 '("GstMixerOptions**" "options")
485 '("const-gchar**" "value")
489 (define-function gst_mixer_message_parse_options_list_changed
490 (c-name "gst_mixer_message_parse_options_list_changed")
493 '("GstMessage*" "message")
494 '("GstMixerOptions**" "options")
498 (define-virtual list_tracks
499 (of-object "GstMixer")
500 (return-type "const-GList*")
503 (define-virtual set_volume
504 (of-object "GstMixer")
507 '("GstMixerTrack*" "track")
512 (define-virtual get_volume
513 (of-object "GstMixer")
516 '("GstMixerTrack*" "track")
521 (define-virtual set_mute
522 (of-object "GstMixer")
525 '("GstMixerTrack*" "track")
530 (define-virtual set_record
531 (of-object "GstMixer")
534 '("GstMixerTrack*" "track")
535 '("gboolean" "record")
540 ;; From ../gst-plugins-base/gst-libs/gst/interfaces/mixeroptions.h
542 (define-function gst_mixer_options_get_type
543 (c-name "gst_mixer_options_get_type")
544 (return-type "GType")
547 (define-method get_values
548 (of-object "GstMixerOptions")
549 (c-name "gst_mixer_options_get_values")
550 (return-type "GList*")
554 ;; From /opt/gnome/include/gstreamer-0.7/gst/navigation/navigation.h
556 (define-function navigation_get_type
557 (c-name "gst_navigation_get_type")
558 (return-type "GType")
561 (define-function navigation_query_get_type
562 (c-name "gst_navigation_query_get_type")
563 (return-type "GstNavigationQueryType")
565 '("GstQuery*" "query")
569 (define-function navigation_query_new_commands
570 (c-name "gst_navigation_query_new_commands")
571 (caller-owns-return #t)
572 (return-type "GstQuery*")
575 (define-function navigation_query_set_commands
576 (c-name "gst_navigation_query_set_commands")
579 '("GstQuery*" "query")
585 (define-function navigation_query_set_commandsv
586 (c-name "gst_navigation_query_set_commandsv")
589 '("GstQuery*" "query")
591 '("GstNavigationCommand*" "cmds")
595 (define-function navigation_query_parse_commands_length
596 (c-name "gst_navigation_query_parse_commands_length")
597 (return-type "gboolean")
599 '("GstQuery*" "query")
604 (define-function navigation_query_parse_commands_nth
605 (c-name "gst_navigation_query_parse_commands_nth")
606 (return-type "gboolean")
608 '("GstQuery*" "query")
610 '("GstNavigationCommand*" "cmd")
614 (define-function navigation_query_new_angles
615 (c-name "gst_navigation_query_new_angles")
616 (caller-owns-return #t)
617 (return-type "GstQuery*")
620 (define-function navigation_query_set_angles
621 (c-name "gst_navigation_query_set_angles")
624 '("GstQuery*" "query")
625 '("guint" "cur_angle")
626 '("guint" "n_angles")
630 (define-function navigation_query_parse_angles
631 (c-name "gst_navigation_query_parse_angles")
632 (return-type "gboolean")
634 '("GstQuery*" "query")
635 '("guint*" "cur_angle")
636 '("guint*" "n_angles")
640 (define-function navigation_message_get_type
641 (c-name "gst_navigation_message_get_type")
642 (return-type "GstNavigationMessageType")
644 '("GstMessage*" "message")
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)
653 '("GstObject*" "src")
654 '("gboolean" "active")
658 (define-function navigation_message_parse_mouse_over
659 (c-name "gst_navigation_message_parse_mouse_over")
660 (return-type "gboolean")
662 '("GstMessage*" "message")
663 '("gboolean*" "active")
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)
672 '("GstObject*" "src")
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)
681 '("GstObject*" "src")
682 '("guint" "cur_angle")
683 '("guint" "n_angles")
687 (define-function navigation_message_parse_angles_changed
688 (c-name "gst_navigation_message_parse_angles_changed")
689 (return-type "gboolean")
691 '("GstMessage*" "message")
692 '("guint*" "cur_angle")
693 '("guint*" "n_angles")
697 (define-function navigation_event_get_type
698 (c-name "gst_navigation_event_get_type")
699 (return-type "GstNavigationEventType")
701 '("GstEvent*" "event")
705 (define-function navigation_event_parse_key_event
706 (c-name "gst_navigation_event_parse_key_event")
707 (return-type "gboolean")
709 '("GstEvent*" "event")
710 '("const-gchar**" "key")
714 (define-function navigation_event_parse_mouse_button_event
715 (c-name "gst_navigation_event_parse_mouse_button_event")
716 (return-type "gboolean")
718 '("GstEvent*" "event")
725 (define-function navigation_event_parse_mouse_move_event
726 (c-name "gst_navigation_event_parse_mouse_move_event")
727 (return-type "gboolean")
729 '("GstEvent*" "event")
735 (define-function navigation_event_parse_command
736 (c-name "gst_navigation_event_parse_command")
737 (return-type "gboolean")
739 '("GstEvent*" "event")
740 '("GstNavigationCommand*" "command")
744 (define-method send_event
745 (of-object "GstNavigation")
746 (c-name "gst_navigation_send_event")
749 '("GstStructure*" "structure")
753 (define-method send_key_event
754 (of-object "GstNavigation")
755 (c-name "gst_navigation_send_key_event")
758 '("const-char*" "event")
759 '("const-char*" "key")
763 (define-method send_mouse_event
764 (of-object "GstNavigation")
765 (c-name "gst_navigation_send_mouse_event")
768 '("const-char*" "event")
775 (define-virtual send_event
776 (of-object "GstNavigation")
779 '("GstStructure*" "structure")
783 (define-method send_command
784 (of-object "GstNavigation")
785 (c-name "gst_navigation_send_command")
788 '("GstNavigationCommand" "command")
792 ;; From /opt/gnome/include/gstreamer-0.7/gst/propertyprobe/propertyprobe.h
794 (define-function gst_property_probe_get_type
795 (c-name "gst_property_probe_get_type")
796 (return-type "GType")
799 (define-method probe_get_properties
800 (of-object "GstPropertyProbe")
801 (c-name "gst_property_probe_get_properties")
802 (return-type "const-GList*")
805 (define-method probe_get_property
806 (of-object "GstPropertyProbe")
807 (c-name "gst_property_probe_get_property")
808 (return-type "const-GParamSpec*")
810 '("const-gchar*" "name")
814 (define-method probe_property
815 (of-object "GstPropertyProbe")
816 (c-name "gst_property_probe_probe_property")
819 '("const-GParamSpec*" "pspec")
823 (define-method probe_property_name
824 (of-object "GstPropertyProbe")
825 (c-name "gst_property_probe_probe_property_name")
828 '("const-gchar*" "name")
832 (define-method needs_probe
833 (of-object "GstPropertyProbe")
834 (c-name "gst_property_probe_needs_probe")
835 (return-type "gboolean")
837 '("const-GParamSpec*" "pspec")
841 (define-method needs_probe_name
842 (of-object "GstPropertyProbe")
843 (c-name "gst_property_probe_needs_probe_name")
844 (return-type "gboolean")
846 '("const-gchar*" "name")
850 (define-method get_values
851 (of-object "GstPropertyProbe")
852 (c-name "gst_property_probe_get_values")
853 (return-type "GValueArray*")
855 '("const-GParamSpec*" "pspec")
859 (define-method probe_get_values_name
860 (of-object "GstPropertyProbe")
861 (c-name "gst_property_probe_get_values_name")
862 (return-type "GValueArray*")
864 '("const-gchar*" "name")
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*")
873 '("const-GParamSpec*" "pspec")
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*")
882 '("const-gchar*" "name")
886 (define-virtual get_properties
887 (of-object "GstPropertyProbe")
888 (return-type "const-GList*")
891 (define-virtual needs_probe
892 (of-object "GstPropertyProbe")
893 (return-type "gboolean")
896 '("const-GParamSpec*" "pspec")
900 (define-virtual probe_property
901 (of-object "GstPropertyProbe")
905 '("const-GParamSpec*" "pspec")
909 (define-virtual get_values
910 (of-object "GstPropertyProbe")
911 (return-type "GValueArray*")
914 '("const-GParamSpec*" "pspec")
919 ;; From streamvolume.h
921 (define-method set_volume
922 (of-object "GstStreamVolume")
923 (c-name "gst_stream_volume_set_volume")
926 '("GstStreamVolumeFormat" "format")
931 (define-method get_volume
932 (of-object "GstStreamVolume")
933 (c-name "gst_stream_volume_get_volume")
934 (return-type "gdouble")
936 '("GstStreamVolumeFormat" "format")
940 (define-method set_mute
941 (of-object "GstStreamVolume")
942 (c-name "gst_stream_volume_set_mute")
949 (define-method get_mute
950 (of-object "GstStreamVolume")
951 (c-name "gst_stream_volume_get_mute")
952 (return-type "gboolean")
955 (define-function stream_volume_convert_volume
956 (c-name "gst_stream_volume_convert_volume")
957 (return-type "gdouble")
959 '("GstStreamVolumeFormat" "from")
960 '("GstStreamVolumeFormat" "to")
966 ;; From /opt/gnome/include/gstreamer-0.7/gst/tuner/tuner.h
968 (define-function gst_tuner_get_type
969 (c-name "gst_tuner_get_type")
970 (return-type "GType")
973 (define-method list_channels
974 (of-object "GstTuner")
975 (c-name "gst_tuner_list_channels")
976 (return-type "const-GList*")
979 (define-method set_channel
980 (of-object "GstTuner")
981 (c-name "gst_tuner_set_channel")
984 '("GstTunerChannel*" "channel")
988 (define-method get_channel
989 (of-object "GstTuner")
990 (c-name "gst_tuner_get_channel")
991 (return-type "GstTunerChannel*")
994 (define-method list_norms
995 (of-object "GstTuner")
996 (c-name "gst_tuner_list_norms")
997 (return-type "const-GList*")
1000 (define-method set_norm
1001 (of-object "GstTuner")
1002 (c-name "gst_tuner_set_norm")
1003 (return-type "none")
1005 '("GstTunerNorm*" "channel")
1009 (define-method get_norm
1010 (of-object "GstTuner")
1011 (c-name "gst_tuner_get_norm")
1012 (return-type "GstTunerNorm*")
1015 (define-method set_frequency
1016 (of-object "GstTuner")
1017 (c-name "gst_tuner_set_frequency")
1018 (return-type "none")
1020 '("GstTunerChannel*" "channel")
1021 '("gulong" "frequency")
1025 (define-method get_frequency
1026 (of-object "GstTuner")
1027 (c-name "gst_tuner_get_frequency")
1028 (return-type "gulong")
1030 '("GstTunerChannel*" "channel")
1034 (define-method signal_strength
1035 (of-object "GstTuner")
1036 (c-name "gst_tuner_signal_strength")
1037 (return-type "gint")
1039 '("GstTunerChannel*" "channel")
1043 (define-method find_norm_by_name
1044 (of-object "GstTuner")
1045 (c-name "gst_tuner_find_norm_by_name")
1046 (return-type "GstTunerNorm*")
1052 (define-method find_channel_by_name
1053 (of-object "GstTuner")
1054 (c-name "gst_tuner_find_channel_by_name")
1055 (return-type "GstTunerChannel*")
1057 '("gchar*" "channel")
1061 (define-method channel_changed
1062 (of-object "GstTuner")
1063 (c-name "gst_tuner_channel_changed")
1064 (return-type "none")
1066 '("GstTunerChannel*" "channel")
1070 (define-method norm_changed
1071 (of-object "GstTuner")
1072 (c-name "gst_tuner_norm_changed")
1073 (return-type "none")
1075 '("GstTunerNorm*" "norm")
1079 (define-method frequency_changed
1080 (of-object "GstTuner")
1081 (c-name "gst_tuner_frequency_changed")
1082 (return-type "none")
1084 '("GstTunerChannel*" "channel")
1085 '("gulong" "frequency")
1089 (define-method signal_changed
1090 (of-object "GstTuner")
1091 (c-name "gst_tuner_signal_changed")
1092 (return-type "none")
1094 '("GstTunerChannel*" "channel")
1099 (define-virtual list_channels
1100 (of-object "GstTuner")
1101 (return-type "const-GList*")
1104 (define-virtual set_channel
1105 (of-object "GstTuner")
1106 (return-type "none")
1108 '("GstTunerChannel*" "channel")
1112 (define-virtual get_channel
1113 (of-object "GstTuner")
1114 (return-type "GstTunerChannel*")
1117 (define-virtual list_norms
1118 (of-object "GstTuner")
1119 (return-type "const-GList*")
1122 (define-virtual set_norm
1123 (of-object "GstTuner")
1124 (return-type "none")
1126 '("GstTunerNorm*" "channel")
1130 (define-virtual get_norm
1131 (of-object "GstTuner")
1132 (return-type "GstTunerNorm*")
1135 (define-virtual set_frequency
1136 (of-object "GstTuner")
1137 (return-type "none")
1139 '("GstTunerChannel*" "channel")
1140 '("gulong" "frequency")
1144 (define-virtual get_frequency
1145 (of-object "GstTuner")
1146 (return-type "gulong")
1148 '("GstTunerChannel*" "channel")
1152 (define-virtual signal_strength
1153 (of-object "GstTuner")
1154 (return-type "gint")
1156 '("GstTunerChannel*" "channel")
1161 ; object definitions ...
1162 ;; Enumerations and flags ...
1165 ;; From videoorientation.h
1168 ;; interface definitions ...
1171 (define-interface VideoOrientation
1173 (c-name "GstVideoOrientation")
1174 (gtype-id "GST_TYPE_VIDEO_ORIENTATION")
1175 (vtable "GstVideoOrientationClass")
1178 (define-function gst_video_orientation_get_type
1179 (c-name "gst_video_orientation_get_type")
1180 (return-type "GType")
1183 (define-method get_hflip
1184 (of-object "GstVideoOrientation")
1185 (c-name "gst_video_orientation_get_hflip")
1186 (return-type "gboolean")
1188 '("gboolean*" "flip")
1192 (define-method get_vflip
1193 (of-object "GstVideoOrientation")
1194 (c-name "gst_video_orientation_get_vflip")
1195 (return-type "gboolean")
1197 '("gboolean*" "flip")
1201 (define-method get_hcenter
1202 (of-object "GstVideoOrientation")
1203 (c-name "gst_video_orientation_get_hcenter")
1204 (return-type "gboolean")
1210 (define-method get_vcenter
1211 (of-object "GstVideoOrientation")
1212 (c-name "gst_video_orientation_get_vcenter")
1213 (return-type "gboolean")
1219 (define-method set_hflip
1220 (of-object "GstVideoOrientation")
1221 (c-name "gst_video_orientation_set_hflip")
1222 (return-type "gboolean")
1224 '("gboolean" "flip")
1228 (define-method set_vflip
1229 (of-object "GstVideoOrientation")
1230 (c-name "gst_video_orientation_set_vflip")
1231 (return-type "gboolean")
1233 '("gboolean" "flip")
1237 (define-method set_hcenter
1238 (of-object "GstVideoOrientation")
1239 (c-name "gst_video_orientation_set_hcenter")
1240 (return-type "gboolean")
1246 (define-method set_vcenter
1247 (of-object "GstVideoOrientation")
1248 (c-name "gst_video_orientation_set_vcenter")
1249 (return-type "gboolean")