aboutsummaryrefslogtreecommitdiff
path: root/plugins/simtech/mm-broadband-modem-qmi-simtech.c
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-broadband-modem-qmi-simtech.c
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-broadband-modem-qmi-simtech.c')
-rw-r--r--plugins/simtech/mm-broadband-modem-qmi-simtech.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/simtech/mm-broadband-modem-qmi-simtech.c b/plugins/simtech/mm-broadband-modem-qmi-simtech.c
index 4ea84e9a..392f5626 100644
--- a/plugins/simtech/mm-broadband-modem-qmi-simtech.c
+++ b/plugins/simtech/mm-broadband-modem-qmi-simtech.c
@@ -99,6 +99,10 @@ iface_modem_voice_init (MMIfaceModemVoice *iface)
iface->setup_unsolicited_events_finish = mm_shared_simtech_voice_setup_unsolicited_events_finish;
iface->cleanup_unsolicited_events = mm_shared_simtech_voice_cleanup_unsolicited_events;
iface->cleanup_unsolicited_events_finish = mm_shared_simtech_voice_cleanup_unsolicited_events_finish;
+ iface->setup_in_call_audio_channel = mm_shared_simtech_voice_setup_in_call_audio_channel;
+ iface->setup_in_call_audio_channel_finish = mm_shared_simtech_voice_setup_in_call_audio_channel_finish;
+ iface->cleanup_in_call_audio_channel = mm_shared_simtech_voice_cleanup_in_call_audio_channel;
+ iface->cleanup_in_call_audio_channel_finish = mm_shared_simtech_voice_cleanup_in_call_audio_channel_finish;
}
static MMIfaceModemVoice *