fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/34914?usp=email )


Change subject: mobile: gsm_settings_init(): set TCH frame format explicitly
......................................................................

mobile: gsm_settings_init(): set TCH frame format explicitly

Change-Id: I4660b07977b6701ad5dc4bf25f12cba374101f8b
Related: OS#4396
---
M src/host/layer23/src/common/settings.c
1 file changed, 12 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/14/34914/1

diff --git a/src/host/layer23/src/common/settings.c 
b/src/host/layer23/src/common/settings.c
index 348986b..bfca1d5 100644
--- a/src/host/layer23/src/common/settings.c
+++ b/src/host/layer23/src/common/settings.c
@@ -48,6 +48,8 @@
        snprintf(set->mncc_socket_path, sizeof(set->mncc_socket_path) - 1,
                 "%s_%s", mncc_socket_path, ms->name);

+       /* TCH frame format: the one used by trxcon and virtphy */
+       set->tch.frame_format = TCH_IOFF_OSMO;
        /* TCH voice: drop frames by default */
        set->tch.voice_handler = TCH_VOICE_IOH_NONE;
        OSMO_STRLCPY_ARRAY(set->tch.alsa_output_dev, alsa_dev_default);

--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/34914?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I4660b07977b6701ad5dc4bf25f12cba374101f8b
Gerrit-Change-Number: 34914
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to