diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-03-18 04:09:36 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-03-18 04:09:36 +0800 |
commit | 16dd246118fafd56cc940a2b277a70745ea83528 (patch) | |
tree | 7c97041c16e3598477e2e249ee1ef2c54c3c5689 /python/pyempathygtk | |
parent | f9ba1961ebf13ca3e462f4e42ac2ae051b0a1151 (diff) | |
download | gsoc2013-empathy-16dd246118fafd56cc940a2b277a70745ea83528.tar gsoc2013-empathy-16dd246118fafd56cc940a2b277a70745ea83528.tar.gz gsoc2013-empathy-16dd246118fafd56cc940a2b277a70745ea83528.tar.bz2 gsoc2013-empathy-16dd246118fafd56cc940a2b277a70745ea83528.tar.lz gsoc2013-empathy-16dd246118fafd56cc940a2b277a70745ea83528.tar.xz gsoc2013-empathy-16dd246118fafd56cc940a2b277a70745ea83528.tar.zst gsoc2013-empathy-16dd246118fafd56cc940a2b277a70745ea83528.zip |
Update python bindings
From: Xavier Claessens <xclaesse@gmail.com>
svn path=/trunk/; revision=2707
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 61 |
1 files changed, 61 insertions, 0 deletions
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") |