From 16dd246118fafd56cc940a2b277a70745ea83528 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 17 Mar 2009 20:09:36 +0000 Subject: Update python bindings From: Xavier Claessens svn path=/trunk/; revision=2707 --- python/pyempathygtk/pyempathygtk.defs | 61 +++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'python/pyempathygtk') diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 2c5515da8..c75c93efd 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -233,6 +233,18 @@ ) ) +(define-enum GstVideoSrcChannel + (in-module "Empathy") + (c-name "EmpathyGstVideoSrcChannel") + (gtype-id "EMPATHY_TYPE_GST_VIDEO_SRC_CHANNEL") + (values + '("empathy-gst-video-src-channel-contrast" "EMPATHY_GST_VIDEO_SRC_CHANNEL_CONTRAST") + '("empathy-gst-video-src-channel-brightness" "EMPATHY_GST_VIDEO_SRC_CHANNEL_BRIGHTNESS") + '("empathy-gst-video-src-channel-gamma" "EMPATHY_GST_VIDEO_SRC_CHANNEL_GAMMA") + '("nr-empathy-gst-video-src-channels" "NR_EMPATHY_GST_VIDEO_SRC_CHANNELS") + ) +) + (define-enum Sound (in-module "Empathy") (c-name "EmpathySound") @@ -1336,6 +1348,23 @@ (return-type "GstElement*") ) +(define-function audio_src_set_volume + (c-name "empathy_audio_src_set_volume") + (return-type "none") + (parameters + '("EmpathyGstAudioSrc*" "src") + '("gdouble" "volume") + ) +) + +(define-function audio_src_get_volume + (c-name "empathy_audio_src_get_volume") + (return-type "gdouble") + (parameters + '("EmpathyGstAudioSrc*" "src") + ) +) + ;; From empathy-video-src.h @@ -1351,6 +1380,33 @@ (return-type "GstElement*") ) +(define-function video_src_get_supported_channels + (c-name "empathy_video_src_get_supported_channels") + (return-type "guint") + (parameters + '("GstElement*" "src") + ) +) + +(define-function video_src_set_channel + (c-name "empathy_video_src_set_channel") + (return-type "none") + (parameters + '("GstElement*" "src") + '("EmpathyGstVideoSrcChannel" "channel") + '("guint" "percent") + ) +) + +(define-function video_src_get_channel + (c-name "empathy_video_src_get_channel") + (return-type "guint") + (parameters + '("GstElement*" "src") + '("EmpathyGstVideoSrcChannel" "channel") + ) +) + ;; From empathy-video-widget.h @@ -1688,6 +1744,11 @@ (return-type "none") ) +(define-function uri_regex_dup_singleton + (c-name "empathy_uri_regex_dup_singleton") + (return-type "GRegex*") +) + (define-function glade_get_file_simple (c-name "empathy_glade_get_file_simple") (return-type "none") -- cgit v1.2.3