mobile: gsm_settings_init(): set TCH frame format explicitly

Change-Id: I4660b07977b6701ad5dc4bf25f12cba374101f8b
Related: OS#4396
This commit is contained in:
Vadim Yanitskiy 2023-10-26 15:33:40 +07:00
parent e80d302255
commit 1c4a77adbf
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ int gsm_settings_init(struct osmocom_ms *ms)
/* TCH voice: drop frames by default */
set->tch_voice.io_handler = TCH_VOICE_IOH_NONE;
set->tch_voice.io_format = TCH_VOICE_IOF_RTP;
OSMO_STRLCPY_ARRAY(set->tch_voice.alsa_output_dev, alsa_dev_default);
OSMO_STRLCPY_ARRAY(set->tch_voice.alsa_input_dev, alsa_dev_default);