aboutsummaryrefslogtreecommitdiff
path: root/src/mm-base-call.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2017-02-06 20:53:39 -0600
committerDan Williams <dcbw@redhat.com>2018-10-16 17:09:21 +0000
commit627303a748cce7274b05a6861a1dc0c779d9263a (patch)
tree52acb186721f9c48ccf1c042e620a86a06a7265c /src/mm-base-call.c
parent16162a5033593e017775eab640a3b9bf1b805c39 (diff)
api/libmm-glib/cli: add AudioPort and AudioFormat properties to the Call object
Diffstat (limited to 'src/mm-base-call.c')
-rw-r--r--src/mm-base-call.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mm-base-call.c b/src/mm-base-call.c
index c0fada6e..5637ddcf 100644
--- a/src/mm-base-call.c
+++ b/src/mm-base-call.c
@@ -724,6 +724,21 @@ mm_base_call_received_dtmf (MMBaseCall *self,
mm_gdbus_call_emit_dtmf_received (MM_GDBUS_CALL (self), dtmf);
}
+void
+mm_base_call_set_audio_port (MMBaseCall *self, const gchar *port)
+{
+ mm_gdbus_call_set_audio_port (MM_GDBUS_CALL (self), port);
+}
+
+void
+mm_base_call_set_audio_format (MMBaseCall *self,
+ MMCallAudioFormat *audio_format)
+{
+ mm_gdbus_call_set_audio_format (
+ MM_GDBUS_CALL (self),
+ mm_call_audio_format_get_dictionary (audio_format));
+}
+
/*****************************************************************************/
/* Start the CALL */