aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm/libosmogsm.map
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-06-02 13:49:16 +0200
committerHarald Welte <laforge@gnumonks.org>2017-06-22 17:08:16 +0000
commit884ba0f2bcaf385cabee0b4228a2598d61fa406b (patch)
tree34112fe51252784fb170e985ec9ff4f9e9f9039c /src/gsm/libosmogsm.map
parent3149b0d076477303a38df735fe579b1b06ee17b2 (diff)
gsm0808: add function gsm0808_speech_codec_from_chan_type()
The contents of the speech codec element (struct gsm0808_speech_codec), that is also used in the speech codec list element (struct gsm0808_speech_codec_list) can be generated directly from the permitted speech parameter in the channel type field (struct gsm0808_channel_type) when full AoIP with compressed speech via RTP/UDP/IP is assumed and when the codec configuration on the air interface exactly matches the codec configuration on the IP backhaul. This patch adds a function that can be used as a helper to fill out spech codec fields by only giving a permitted speech parameter as input. Change-Id: I257c972e9fdf0dfe940a8d483447085bd62e50a2
Diffstat (limited to 'src/gsm/libosmogsm.map')
-rw-r--r--src/gsm/libosmogsm.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map
index ccc5b9a4..36cba391 100644
--- a/src/gsm/libosmogsm.map
+++ b/src/gsm/libosmogsm.map
@@ -163,6 +163,7 @@ gsm0808_dec_encrypt_info;
gsm0808_enc_cell_id_list;
gsm0808_dec_cell_id_list;
gsm0808_convert_to_speech_codec_type;
+gsm0808_extrapolate_speech_codec;
gsm0858_rsl_ul_meas_enc;