aboutsummaryrefslogtreecommitdiff
path: root/plugins/simtech/mm-shared-simtech.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-10-15 11:39:44 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-10-16 17:50:16 +0200
commiteb66e8ae6844dfd065b68523bc9b5e3b2bf0d979 (patch)
treee3014c1a8202886021ac86536c9b30d73f183e51 /plugins/simtech/mm-shared-simtech.h
parente3a1364ddc43e13fe86e98dfca24ef7f6f267b38 (diff)
simtech: setup USB audio channel when in-call
We'll use +CPCMREG=1/0 to start/stop USB audio function, and we will also report the specific ttyUSB port to be used for audio in the Call interface.
Diffstat (limited to 'plugins/simtech/mm-shared-simtech.h')
-rw-r--r--plugins/simtech/mm-shared-simtech.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/simtech/mm-shared-simtech.h b/plugins/simtech/mm-shared-simtech.h
index 3382869a..37a221ca 100644
--- a/plugins/simtech/mm-shared-simtech.h
+++ b/plugins/simtech/mm-shared-simtech.h
@@ -111,4 +111,19 @@ gboolean mm_shared_simtech_voice_disable_unsolicited_events_finish (MMIfaceModem
GAsyncResult *res,
GError **error);
+void mm_shared_simtech_voice_setup_in_call_audio_channel (MMIfaceModemVoice *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_shared_simtech_voice_setup_in_call_audio_channel_finish (MMIfaceModemVoice *self,
+ GAsyncResult *res,
+ MMPort **audio_port, /* optional */
+ MMCallAudioFormat **audio_format, /* optional */
+ GError **error);
+void mm_shared_simtech_voice_cleanup_in_call_audio_channel (MMIfaceModemVoice *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_shared_simtech_voice_cleanup_in_call_audio_channel_finish (MMIfaceModemVoice *self,
+ GAsyncResult *res,
+ GError **error);
+
#endif /* MM_SHARED_SIMTECH_H */