search for: max_consecutive_dtx

Displaying 1 result from an estimated 1 matches for "max_consecutive_dtx".

2017 Jul 06
1
Suggested patch, opus_encoder.c, decide_dtx_mode()
...p; is_sufficiently_quiet)) { /* The number of consecutive DTX frames should be within the allowed bounds */ (*nb_no_activity_frames)++; if (*nb_no_activity_frames > NB_SPEECH_FRAMES_BEFORE_DTX) { if (*nb_no_activity_frames <= (NB_SPEECH_FRAMES_BEFORE_DTX + MAX_CONSECUTIVE_DTX)) /* Valid frame for DTX! */ return 1; else (*nb_no_activity_frames) = NB_SPEECH_FRAMES_BEFORE_DTX; } } else (*nb_no_activity_frames) = 0; return 0; } --------SNIP--------- The problem is in the case of function parameter is_silence !...