tmp dbg
Change-Id: If8b30d6efc1c70ed0e5b0de5b27309f6fc3a2f1b
This commit is contained in:
parent
4b2549bbae
commit
29f865d866
|
@ -605,12 +605,16 @@ int sdp_audio_codecs_to_gsm0808_channel_type(struct gsm0808_channel_type *ct, co
|
|||
*ct = (struct gsm0808_channel_type){
|
||||
.ch_indctr = GSM0808_CHAN_SPEECH,
|
||||
};
|
||||
LOGP(DLGLOBAL, LOGL_ERROR, "sdp_audio_codecs_to_gsm0808_channel_type()\n");
|
||||
|
||||
sdp_audio_codecs_foreach(codec, ac) {
|
||||
const struct codec_mapping *m;
|
||||
int i;
|
||||
bool dup;
|
||||
idx++;
|
||||
|
||||
LOGP(DLGLOBAL, LOGL_ERROR, "- codec = %s\n", sdp_audio_codec_to_str(codec));
|
||||
|
||||
codec_mapping_foreach(m) {
|
||||
if (sdp_audio_codec_cmp(codec, &m->sdp, true, false))
|
||||
continue;
|
||||
|
@ -651,6 +655,7 @@ int sdp_audio_codecs_to_gsm0808_channel_type(struct gsm0808_channel_type *ct, co
|
|||
if (dup)
|
||||
continue;
|
||||
|
||||
LOGP(DLGLOBAL, LOGL_ERROR, " adding %s\n", gsm0808_permitted_speech_name(m->perm_speech));
|
||||
ct->perm_spch[ct->perm_spch_len] = m->perm_speech;
|
||||
ct->perm_spch_len++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue