aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-06-23 10:21:42 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2017-06-23 10:23:43 +0200
commite1257c75a6302c84cfa9d4a265e288c643a29a70 (patch)
treef6764574d6ba286c03b71cad86595b41bd6a1d0b
parentb5b809da0b18fcb0d4840ea567130b31b8524ca0 (diff)
fixup: rename gsm0808_extrapolate_speech_codec()
Libosmocore renames gsm0808_extrapolate_speech_codec() to gsm0808_speech_codec_from_chan_type()
-rw-r--r--openbsc/src/libmsc/a_iface.c2
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_audio.c2
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_bssap.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/libmsc/a_iface.c b/openbsc/src/libmsc/a_iface.c
index d4b73080b..9c85faca3 100644
--- a/openbsc/src/libmsc/a_iface.c
+++ b/openbsc/src/libmsc/a_iface.c
@@ -359,7 +359,7 @@ static int enc_speech_codec_list(struct gsm0808_speech_codec_list *scl, const st
memset(scl, 0, sizeof(*scl));
for (i = 0; i < ct->perm_spch_len; i++) {
- rc = gsm0808_extrapolate_speech_codec(&scl->codec[i], ct->perm_spch[i]);
+ rc = gsm0808_speech_codec_from_chan_type(&scl->codec[i], ct->perm_spch[i]);
if (rc != 0)
return -EINVAL;
}
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_audio.c b/openbsc/src/osmo-bsc/osmo_bsc_audio.c
index ffba754d3..03cfce21a 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_audio.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_audio.c
@@ -51,7 +51,7 @@ static int send_aoip_ass_compl(struct gsm_subscriber_connection *conn, struct gs
memcpy(&rtp_addr, &rtp_addr_in, sizeof(rtp_addr_in));
/* Extrapolate speech codec from speech mode */
- gsm0808_extrapolate_speech_codec(&sc, lchan->abis_ip.ass_compl.speech_mode);
+ gsm0808_speech_codec_from_chan_type(&sc, lchan->abis_ip.ass_compl.speech_mode);
/* Generate message */
resp = gsm0808_create_ass_compl(lchan->abis_ip.ass_compl.rr_cause,
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
index 38725a0b8..afb984799 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
@@ -137,7 +137,7 @@ static bool test_codec_pref(const struct gsm0808_channel_type *ct,
return false;
/* Extrapolate speech codec data */
- rc = gsm0808_extrapolate_speech_codec(&sc, perm_spch);
+ rc = gsm0808_speech_codec_from_chan_type(&sc, perm_spch);
if (rc < 0)
return false;