dbg log
Change-Id: Ia3332166bd2d599c8c12fe9c699c93f40eb1391c
This commit is contained in:
parent
2dd8449f7c
commit
bd7a177eec
|
@ -456,13 +456,19 @@ int sdp_audio_codec_add_to_bearer_cap(struct gsm_mncc_bearer_cap *bearer_cap, co
|
||||||
{
|
{
|
||||||
const struct codec_mapping *m;
|
const struct codec_mapping *m;
|
||||||
int added = 0;
|
int added = 0;
|
||||||
|
LOGP(DLGLOBAL, LOGL_ERROR, "sdp_audio_codec_add_to_bearer_cap(%s)\n", sdp_audio_codec_to_str(codec));
|
||||||
codec_mapping_foreach(m) {
|
codec_mapping_foreach(m) {
|
||||||
int i;
|
int i;
|
||||||
if (sdp_audio_codec_cmp(&m->sdp, codec, true, false))
|
if (sdp_audio_codec_cmp(&m->sdp, codec, true, false))
|
||||||
continue;
|
continue;
|
||||||
for (i = 0; i < m->speech_ver_count; i++)
|
LOGP(DLGLOBAL, LOGL_ERROR, " %s speech_ver_count %d\n", sdp_audio_codec_to_str(&m->sdp),
|
||||||
|
m->speech_ver_count);
|
||||||
|
for (i = 0; i < m->speech_ver_count; i++) {
|
||||||
|
LOGP(DLGLOBAL, LOGL_ERROR, " - add %s (enum gsm48_bcap_speech_ver)%d\n", sdp_audio_codec_to_str(&m->sdp),
|
||||||
|
m->speech_ver[i]);
|
||||||
added += bearer_cap_add_speech_ver(bearer_cap, m->speech_ver[i]);
|
added += bearer_cap_add_speech_ver(bearer_cap, m->speech_ver[i]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return added;
|
return added;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue