aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/msc/codec_sdp_cc_t9n.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/msc/codec_sdp_cc_t9n.h')
-rw-r--r--include/osmocom/msc/codec_sdp_cc_t9n.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osmocom/msc/codec_sdp_cc_t9n.h b/include/osmocom/msc/codec_sdp_cc_t9n.h
index 093456133..150fd265b 100644
--- a/include/osmocom/msc/codec_sdp_cc_t9n.h
+++ b/include/osmocom/msc/codec_sdp_cc_t9n.h
@@ -29,10 +29,9 @@ struct codec_mapping {
enum gsm48_bcap_speech_ver speech_ver[8];
/* If applicable, one of GSM_TCHF_FRAME, GSM_TCHF_FRAME_EFR, GSM_TCHH_FRAME, GSM_TCH_FRAME_AMR; or zero. */
uint32_t mncc_payload_msg_type;
- /* Set to true if gsm0808_speech_codec_type below reflects a meaningful value. */
- bool has_gsm0808_speech_codec_type;
- /* gsm0808_speech_codec_type corresponds to gsm0808_speech_codec[_list]->type */
- enum gsm0808_speech_codec_type gsm0808_speech_codec_type;
+ /* Set to true if gsm0808_speech_codec below reflects a meaningful value. */
+ bool has_gsm0808_speech_codec;
+ struct gsm0808_speech_codec gsm0808_speech_codec;
/* If applicable, entries to add to Permitted Speech lists when this codec is present; or zero. */
enum gsm0808_permitted_speech perm_speech;
/* If applicable, indicator whether this codec can work on a GERAN half-rate lchan, or whether full-rate is
@@ -61,6 +60,7 @@ struct sdp_audio_codec *sdp_audio_codecs_add_speech_ver(struct sdp_audio_codecs
struct sdp_audio_codec *sdp_audio_codecs_add_mgcp_codec(struct sdp_audio_codecs *ac, enum mgcp_codecs mgcp_codec);
void sdp_audio_codecs_from_bearer_cap(struct sdp_audio_codecs *ac, const struct gsm_mncc_bearer_cap *bc);
+void sdp_audio_codecs_to_speech_codec_list(struct gsm0808_speech_codec_list *cl, const struct sdp_audio_codecs *ac);
void sdp_audio_codecs_from_speech_codec_list(struct sdp_audio_codecs *ac, const struct gsm0808_speech_codec_list *cl);
int sdp_audio_codecs_to_gsm0808_channel_type(struct gsm0808_channel_type *ct, const struct sdp_audio_codecs *ac);