summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2012-02-20 18:22:23 (GMT)
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-02-20 18:22:23 (GMT)
commitd5d0c925638a55c8b1f72a3472e5176862b5cd3a (patch)
treed1b14f19239ff0393e7bf0f17a4e97adecb0d0ed
parentb355218252fc5a5cf7d7ef954e91e3225ad354b0 (diff)
downloadfarstream-d5d0c925638a55c8b1f72a3472e5176862b5cd3a.tar.gz
farstream-d5d0c925638a55c8b1f72a3472e5176862b5cd3a.tar.xz
Update defs
-rw-r--r--python/pyfarstream.defs118
1 files changed, 118 insertions, 0 deletions
diff --git a/python/pyfarstream.defs b/python/pyfarstream.defs
index b8ce916..61457b3 100644
--- a/python/pyfarstream.defs
+++ b/python/pyfarstream.defs
@@ -310,6 +310,17 @@
)
)
+(define-function fs_parse_error
+ (c-name "fs_parse_error")
+ (return-type "gboolean")
+ (parameters
+ '("GObject*" "object")
+ '("GstMessage*" "message")
+ '("FsError*" "error")
+ '("const-gchar**" "error_msg")
+ )
+)
+
;; -*- scheme -*-
; object definitions ...
@@ -429,6 +440,52 @@
(return-type "none")
)
+(define-method parse_send_codec_changed
+ (of-object "FsSession")
+ (unblock-threads t)
+ (c-name "fs_session_parse_send_codec_changed")
+ (return-type "gboolean")
+ (parameters
+ '("GstMessage*" "message")
+ '("FsCodec**" "codec")
+ '("GList**" "secondary_codecs")
+ )
+)
+
+(define-method parse_codecs_changed
+ (of-object "FsSession")
+ (unblock-threads t)
+ (c-name "fs_session_parse_codecs_changed")
+ (return-type "gboolean")
+ (parameters
+ '("GstMessage*" "message")
+ )
+)
+
+(define-method parse_telephony_event_started
+ (of-object "FsSession")
+ (unblock-threads t)
+ (c-name "fs_session_parse_telephony_event_started")
+ (return-type "gboolean")
+ (parameters
+ '("GstMessage*" "message")
+ '("FsDTMFMethod*" "method")
+ '("FsDTMFEvent*" "event")
+ '("guint8*" "volume")
+ )
+)
+
+(define-method parse_telephony_event_stopped
+ (of-object "FsSession")
+ (unblock-threads t)
+ (c-name "fs_session_parse_telephony_event_stopped")
+ (return-type "gboolean")
+ (parameters
+ '("GstMessage*" "message")
+ '("FsDTMFMethod*" "method")
+ )
+)
+
;; -*- scheme -*-
; object definitions ...
@@ -561,6 +618,62 @@
(return-type "none")
)
+(define-method parse_new_local_candidate
+ (of-object "FsStream")
+ (unblock-threads t)
+ (c-name "fs_stream_parse_new_local_candidate")
+ (return-type "gboolean")
+ (parameters
+ '("GstMessage*" "message")
+ '("FsCandidate**" "candidate")
+ )
+)
+
+(define-method parse_local_candidates_prepared
+ (of-object "FsStream")
+ (unblock-threads t)
+ (c-name "fs_stream_parse_local_candidates_prepared")
+ (return-type "gboolean")
+ (parameters
+ '("GstMessage*" "message")
+ )
+)
+
+(define-method parse_new_active_candidate_pair
+ (of-object "FsStream")
+ (unblock-threads t)
+ (c-name "fs_stream_parse_new_active_candidate_pair")
+ (return-type "gboolean")
+ (parameters
+ '("GstMessage*" "message")
+ '("FsCandidate**" "local_candidate")
+ '("FsCandidate**" "remote_candidate")
+ )
+)
+
+(define-method parse_recv_codecs_changed
+ (of-object "FsStream")
+ (unblock-threads t)
+ (c-name "fs_stream_parse_recv_codecs_changed")
+ (return-type "gboolean")
+ (parameters
+ '("GstMessage*" "message")
+ '("GList**" "codecs")
+ )
+)
+
+(define-method parse_component_state_changed
+ (of-object "FsStream")
+ (unblock-threads t)
+ (c-name "fs_stream_parse_component_state_changed")
+ (return-type "gboolean")
+ (parameters
+ '("GstMessage*" "message")
+ '("guint*" "component")
+ '("FsStreamState*" "state")
+ )
+)
+
;; -*- scheme -*-
; object definitions ...
@@ -742,6 +855,11 @@
(return-type "GType")
)
+(define-function fs_dtmf_method_get_type
+ (c-name "fs_dtmf_method_get_type")
+ (return-type "GType")
+)
+
(define-function fs_stream_direction_get_type
(c-name "fs_stream_direction_get_type")
(return-type "GType")