From eb66e8ae6844dfd065b68523bc9b5e3b2bf0d979 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 15 Oct 2019 11:39:44 +0200 Subject: 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. --- plugins/simtech/mm-shared-simtech.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'plugins/simtech/mm-shared-simtech.h') 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 */ -- cgit v1.2.3-70-g09d2