This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/8100
fix default fallbacks in audio_support_to_gsm88()
For audio->hr == true, use HR1, and for hr == false use FR1; not vice versa.
Change-Id: Ifb4dba7c8e9c1d0a22a007355fbd2eda57e789d3
---
M src/osmo-bsc/osmo_bsc_bssap.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/00/8100/1
diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c
index 3f7e4f8..dcc6b9f 100644
--- a/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/src/osmo-bsc/osmo_bsc_bssap.c
@@ -61,7 +61,7 @@
default:
LOGP(DMSC, LOGL_ERROR, "Wrong speech mode: %d\n",
audio->ver);
- return GSM0808_PERM_FR1;
+ return GSM0808_PERM_HR1;
}
} else {
switch (audio->ver) {
@@ -77,7 +77,7 @@
default:
LOGP(DMSC, LOGL_ERROR, "Wrong speech mode: %d\n",
audio->ver);
- return GSM0808_PERM_HR1;
+ return GSM0808_PERM_FR1;
}
}
}
--
To view, visit https://gerrit.osmocom.org/8100
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb4dba7c8e9c1d0a22a007355fbd2eda57e789d3
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>