2004-03-15 14:25:10 +00:00
|
|
|
;; -*- scheme -*-
|
|
|
|
|
|
|
|
(include "xoverlay.defs")
|
|
|
|
|
2005-11-23 10:21:34 +00:00
|
|
|
;; object definitions ...
|
|
|
|
|
|
|
|
;;
|
|
|
|
;; interface definitions ...
|
|
|
|
;;
|
|
|
|
|
|
|
|
(define-interface ColorBalance
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstColorBalance")
|
|
|
|
(gtype-id "GST_TYPE_COLOR_BALANCE")
|
2006-04-28 15:07:41 +00:00
|
|
|
(vtable "GstColorBalanceClass")
|
2005-11-23 10:21:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-object ColorBalanceChannel
|
|
|
|
(in-module "Gst")
|
2006-12-11 09:58:51 +00:00
|
|
|
(parent "GObject")
|
2005-11-23 10:21:34 +00:00
|
|
|
(c-name "GstColorBalanceChannel")
|
|
|
|
(gtype-id "GST_TYPE_COLOR_BALANCE_CHANNEL")
|
|
|
|
(fields
|
|
|
|
'("gchar*" "label")
|
|
|
|
'("gint" "min_value")
|
|
|
|
'("gint" "max_value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-interface Mixer
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstMixer")
|
|
|
|
(gtype-id "GST_TYPE_MIXER")
|
|
|
|
(fields
|
|
|
|
'("GstMixerType" "mixer_type")
|
|
|
|
)
|
2006-04-28 15:07:41 +00:00
|
|
|
(vtable "GstMixerClass")
|
2005-11-23 10:21:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-object MixerTrack
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GObject")
|
|
|
|
(c-name "GstMixerTrack")
|
|
|
|
(gtype-id "GST_TYPE_MIXER_TRACK")
|
|
|
|
(fields
|
|
|
|
'("gchar*" "label")
|
|
|
|
'("GstMixerTrackFlags" "flags")
|
|
|
|
'("gint" "num_channels")
|
|
|
|
'("gint" "min_volume")
|
|
|
|
'("gint" "max_volume")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object MixerOptions
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstMixerTrack")
|
|
|
|
(c-name "GstMixerOptions")
|
|
|
|
(gtype-id "GST_TYPE_MIXER_OPTIONS")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-interface Navigation
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstNavigation")
|
|
|
|
(gtype-id "GST_TYPE_NAVIGATION")
|
2006-04-28 15:07:41 +00:00
|
|
|
(vtable "GstNavigationInterface")
|
2005-11-23 10:21:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-interface PropertyProbe
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstPropertyProbe")
|
|
|
|
(gtype-id "GST_TYPE_PROPERTY_PROBE")
|
2006-04-28 15:07:41 +00:00
|
|
|
(vtable "GstPropertyProbeInterface")
|
2005-11-23 10:21:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-interface Tuner
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstTuner")
|
|
|
|
(gtype-id "GST_TYPE_TUNER")
|
2006-04-28 15:07:41 +00:00
|
|
|
(vtable "GstTunerClass")
|
2005-11-23 10:21:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-object TunerChannel
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstTunerChannel")
|
|
|
|
(gtype-id "GST_TYPE_TUNER_CHANNEL")
|
|
|
|
(fields
|
|
|
|
'("gchar*" "label")
|
|
|
|
'("GstTunerChannelFlags" "flags")
|
|
|
|
'("gfloat" "freq_multiplicator")
|
|
|
|
'("gulong" "min_frequency")
|
|
|
|
'("gulong" "max_frequency")
|
|
|
|
'("gint" "min_signal")
|
|
|
|
'("gint" "max_signal"))
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object TunerNorm
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstTunerNorm")
|
|
|
|
(gtype-id "GST_TYPE_TUNER_NORM")
|
|
|
|
(fields
|
|
|
|
'("gchar*" "label")
|
|
|
|
'("GValue*" "framerate"))
|
|
|
|
)
|
2004-03-15 14:25:10 +00:00
|
|
|
|
|
|
|
;; Enumerations and flags ...
|
|
|
|
|
|
|
|
(define-enum ColorBalanceType
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstColorBalanceType")
|
|
|
|
(gtype-id "GST_TYPE_COLOR_BALANCE_TYPE")
|
|
|
|
(values
|
|
|
|
'("hardware" "GST_COLOR_BALANCE_HARDWARE")
|
|
|
|
'("software" "GST_COLOR_BALANCE_SOFTWARE")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum MixerType
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstMixerType")
|
|
|
|
(gtype-id "GST_TYPE_MIXER_TYPE")
|
|
|
|
(values
|
|
|
|
'("hardware" "GST_MIXER_HARDWARE")
|
|
|
|
'("software" "GST_MIXER_SOFTWARE")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-07-25 11:29:47 +00:00
|
|
|
(define-flags MixerTrackFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstMixerTrackFlags")
|
|
|
|
(gtype-id "GST_TYPE_MIXER_TRACK_FLAGS")
|
|
|
|
(values
|
|
|
|
'("input" "GST_MIXER_TRACK_INPUT")
|
|
|
|
'("output" "GST_MIXER_TRACK_OUTPUT")
|
|
|
|
'("mute" "GST_MIXER_TRACK_MUTE")
|
|
|
|
'("record" "GST_MIXER_TRACK_RECORD")
|
|
|
|
'("master" "GST_MIXER_TRACK_MASTER")
|
|
|
|
'("software" "GST_MIXER_TRACK_SOFTWARE")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-flags TunerChannelFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstTunerChannelFlags")
|
|
|
|
(gtype-id "GST_TYPE_TUNER_CHANNEL_FLAGS")
|
|
|
|
(values
|
|
|
|
'("input" "GST_TUNER_CHANNEL_INPUT")
|
|
|
|
'("output" "GST_TUNER_CHANNEL_OUTPUT")
|
|
|
|
'("frequency" "GST_TUNER_CHANNEL_FREQUENCY")
|
|
|
|
'("audio" "GST_TUNER_CHANNEL_AUDIO")
|
|
|
|
)
|
|
|
|
)
|
2004-03-15 14:25:10 +00:00
|
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/colorbalance/colorbalance.h
|
|
|
|
|
|
|
|
(define-function gst_color_balance_get_type
|
|
|
|
(c-name "gst_color_balance_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2004-11-29 12:25:56 +00:00
|
|
|
(define-method list_colorbalance_channels
|
2004-03-15 14:25:10 +00:00
|
|
|
(of-object "GstColorBalance")
|
|
|
|
(c-name "gst_color_balance_list_channels")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_value
|
|
|
|
(of-object "GstColorBalance")
|
|
|
|
(c-name "gst_color_balance_set_value")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstColorBalanceChannel*" "channel")
|
|
|
|
'("gint" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_value
|
|
|
|
(of-object "GstColorBalance")
|
|
|
|
(c-name "gst_color_balance_get_value")
|
|
|
|
(return-type "gint")
|
|
|
|
(parameters
|
|
|
|
'("GstColorBalanceChannel*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method value_changed
|
|
|
|
(of-object "GstColorBalance")
|
|
|
|
(c-name "gst_color_balance_value_changed")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstColorBalanceChannel*" "channel")
|
|
|
|
'("gint" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-04-28 15:07:41 +00:00
|
|
|
(define-virtual list_channels
|
|
|
|
(of-object "GstColorBalance")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_value
|
|
|
|
(of-object "GstColorBalance")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstColorBalanceChannel*" "channel")
|
|
|
|
'("gint" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_value
|
|
|
|
(of-object "GstColorBalance")
|
|
|
|
(return-type "gint")
|
|
|
|
(parameters
|
|
|
|
'("GstColorBalanceChannel*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-03-15 14:25:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/mixer/mixer.h
|
|
|
|
|
|
|
|
(define-function gst_mixer_get_type
|
|
|
|
(c-name "gst_mixer_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method list_tracks
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_list_tracks")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_volume
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_set_volume")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gint*" "volumes")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_volume
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_get_volume")
|
2007-01-17 06:27:38 +00:00
|
|
|
(return-type "tuple")
|
2004-03-15 14:25:10 +00:00
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_mute
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_set_mute")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gboolean" "mute")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_record
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_set_record")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gboolean" "record")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-07-23 14:54:02 +00:00
|
|
|
(define-method set_option
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_set_option")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerOptions*" "opts")
|
|
|
|
'("gchar*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_option
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_get_option")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerOptions*" "opts")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-03-15 14:25:10 +00:00
|
|
|
(define-method mute_toggled
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_mute_toggled")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gboolean" "mute")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method record_toggled
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_record_toggled")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gboolean" "record")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method volume_changed
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_volume_changed")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gint*" "volumes")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-23 10:21:34 +00:00
|
|
|
(define-method option_changed
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(c-name "gst_mixer_option_changed")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerOptions*" "opts")
|
|
|
|
'("gchar*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-04-28 15:07:41 +00:00
|
|
|
(define-virtual list_tracks
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_volume
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gint*" "volumes")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_volume
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gint*" "volumes")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_mute
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gboolean" "mute")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_record
|
|
|
|
(of-object "GstMixer")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMixerTrack*" "track")
|
|
|
|
'("gboolean" "record")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2005-11-23 10:21:34 +00:00
|
|
|
;; From ../gst-plugins-base/gst-libs/gst/interfaces/mixeroptions.h
|
|
|
|
|
|
|
|
(define-function gst_mixer_options_get_type
|
|
|
|
(c-name "gst_mixer_options_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_values
|
|
|
|
(of-object "GstMixerOptions")
|
|
|
|
(c-name "gst_mixer_options_get_values")
|
|
|
|
(return-type "GList*")
|
|
|
|
)
|
2004-03-15 14:25:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/navigation/navigation.h
|
|
|
|
|
|
|
|
(define-function gst_navigation_get_type
|
|
|
|
(c-name "gst_navigation_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method send_event
|
|
|
|
(of-object "GstNavigation")
|
|
|
|
(c-name "gst_navigation_send_event")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstStructure*" "structure")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method send_key_event
|
|
|
|
(of-object "GstNavigation")
|
|
|
|
(c-name "gst_navigation_send_key_event")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-char*" "event")
|
|
|
|
'("const-char*" "key")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method send_mouse_event
|
|
|
|
(of-object "GstNavigation")
|
|
|
|
(c-name "gst_navigation_send_mouse_event")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-char*" "event")
|
|
|
|
'("int" "button")
|
|
|
|
'("double" "x")
|
|
|
|
'("double" "y")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-04-28 15:07:41 +00:00
|
|
|
(define-virtual send_event
|
|
|
|
(of-object "GstNavigation")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstStructure*" "structure")
|
|
|
|
)
|
|
|
|
)
|
2004-03-15 14:25:10 +00:00
|
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/propertyprobe/propertyprobe.h
|
|
|
|
|
|
|
|
(define-function gst_property_probe_get_type
|
|
|
|
(c-name "gst_property_probe_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2007-02-04 10:23:38 +00:00
|
|
|
(define-method probe_get_properties
|
2004-03-15 14:25:10 +00:00
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_get_properties")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
2007-02-04 10:23:38 +00:00
|
|
|
(define-method probe_get_property
|
2004-03-15 14:25:10 +00:00
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_get_property")
|
|
|
|
(return-type "const-GParamSpec*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method probe_property
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_probe_property")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-GParamSpec*" "pspec")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method probe_property_name
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_probe_property_name")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method needs_probe
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_needs_probe")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GParamSpec*" "pspec")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method needs_probe_name
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_needs_probe_name")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_values
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_get_values")
|
|
|
|
(return-type "GValueArray*")
|
|
|
|
(parameters
|
|
|
|
'("const-GParamSpec*" "pspec")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-02-04 10:23:38 +00:00
|
|
|
(define-method probe_get_values_name
|
2004-03-15 14:25:10 +00:00
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_get_values_name")
|
|
|
|
(return-type "GValueArray*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method probe_and_get_values
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_probe_and_get_values")
|
|
|
|
(return-type "GValueArray*")
|
|
|
|
(parameters
|
|
|
|
'("const-GParamSpec*" "pspec")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method probe_and_get_values_name
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(c-name "gst_property_probe_probe_and_get_values_name")
|
|
|
|
(return-type "GValueArray*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-04-28 15:07:41 +00:00
|
|
|
(define-virtual get_properties
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual needs_probe
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("guint" "prop_id")
|
|
|
|
'("const-GParamSpec*" "pspec")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual probe_property
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint" "prop_id")
|
|
|
|
'("const-GParamSpec*" "pspec")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_values
|
|
|
|
(of-object "GstPropertyProbe")
|
|
|
|
(return-type "GValueArray*")
|
|
|
|
(parameters
|
|
|
|
'("guint" "prop_id")
|
|
|
|
'("const-GParamSpec*" "pspec")
|
|
|
|
)
|
|
|
|
)
|
2004-03-15 14:25:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/tuner/tuner.h
|
|
|
|
|
|
|
|
(define-function gst_tuner_get_type
|
|
|
|
(c-name "gst_tuner_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method list_channels
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_list_channels")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_channel
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_set_channel")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_channel
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_get_channel")
|
|
|
|
(return-type "GstTunerChannel*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method list_norms
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_list_norms")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_norm
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_set_norm")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerNorm*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_norm
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_get_norm")
|
|
|
|
(return-type "GstTunerNorm*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_frequency
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_set_frequency")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
'("gulong" "frequency")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_frequency
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_get_frequency")
|
|
|
|
(return-type "gulong")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method signal_strength
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_signal_strength")
|
|
|
|
(return-type "gint")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method find_norm_by_name
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_find_norm_by_name")
|
|
|
|
(return-type "GstTunerNorm*")
|
|
|
|
(parameters
|
|
|
|
'("gchar*" "norm")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method find_channel_by_name
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_find_channel_by_name")
|
|
|
|
(return-type "GstTunerChannel*")
|
|
|
|
(parameters
|
|
|
|
'("gchar*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method channel_changed
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_channel_changed")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method norm_changed
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_norm_changed")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerNorm*" "norm")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method frequency_changed
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_frequency_changed")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
'("gulong" "frequency")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method signal_changed
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(c-name "gst_tuner_signal_changed")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
'("gint" "signal")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-04-28 15:07:41 +00:00
|
|
|
(define-virtual list_channels
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_channel
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_channel
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(return-type "GstTunerChannel*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual list_norms
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_norm
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerNorm*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_norm
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(return-type "GstTunerNorm*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_frequency
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
'("gulong" "frequency")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_frequency
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(return-type "gulong")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual signal_strength
|
|
|
|
(of-object "GstTuner")
|
|
|
|
(return-type "gint")
|
|
|
|
(parameters
|
|
|
|
'("GstTunerChannel*" "channel")
|
|
|
|
)
|
|
|
|
)
|
2004-03-15 14:25:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/xwindowlistener/xwindowlistener.h
|
|
|
|
|
|
|
|
(define-function gst_x_window_listener_get_type
|
|
|
|
(c-name "gst_x_window_listener_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gst_x_window_listener_new
|
|
|
|
(c-name "gst_x_window_listener_new")
|
|
|
|
(is-constructor-of "GstXWindowListener")
|
|
|
|
(return-type "GstXWindowListener*")
|
|
|
|
(parameters
|
|
|
|
'("gchar*" "display")
|
|
|
|
'("MapWindowFunc" "map_window_func")
|
|
|
|
'("SetWindowFunc" "set_window_func")
|
|
|
|
'("gpointer" "private_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_xid
|
|
|
|
(of-object "GstXWindowListener")
|
|
|
|
(c-name "gst_x_window_listener_set_xid")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("XID" "id")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2007-01-17 04:40:33 +00:00
|
|
|
;; -*- scheme -*-
|
|
|
|
; object definitions ...
|
|
|
|
;; Enumerations and flags ...
|
|
|
|
|
|
|
|
|
|
|
|
;; From videoorientation.h
|
|
|
|
|
|
|
|
;;
|
|
|
|
;; interface definitions ...
|
|
|
|
;;
|
|
|
|
|
|
|
|
(define-interface VideoOrientation
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstVideoOrientation")
|
|
|
|
(gtype-id "GST_TYPE_VIDEO_ORIENTATION")
|
|
|
|
(vtable "GstVideoOrientationClass")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gst_video_orientation_get_type
|
|
|
|
(c-name "gst_video_orientation_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_hflip
|
|
|
|
(of-object "GstVideoOrientation")
|
|
|
|
(c-name "gst_video_orientation_get_hflip")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gboolean*" "flip")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_vflip
|
|
|
|
(of-object "GstVideoOrientation")
|
|
|
|
(c-name "gst_video_orientation_get_vflip")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gboolean*" "flip")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_hcenter
|
|
|
|
(of-object "GstVideoOrientation")
|
|
|
|
(c-name "gst_video_orientation_get_hcenter")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gint*" "center")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_vcenter
|
|
|
|
(of-object "GstVideoOrientation")
|
|
|
|
(c-name "gst_video_orientation_get_vcenter")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gint*" "center")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_hflip
|
|
|
|
(of-object "GstVideoOrientation")
|
|
|
|
(c-name "gst_video_orientation_set_hflip")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "flip")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_vflip
|
|
|
|
(of-object "GstVideoOrientation")
|
|
|
|
(c-name "gst_video_orientation_set_vflip")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "flip")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_hcenter
|
|
|
|
(of-object "GstVideoOrientation")
|
|
|
|
(c-name "gst_video_orientation_set_hcenter")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gint" "center")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_vcenter
|
|
|
|
(of-object "GstVideoOrientation")
|
|
|
|
(c-name "gst_video_orientation_set_vcenter")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gint" "center")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|