Displaying 1 result from an estimated 1 matches for "activity_probability".
2017 Jul 06
1
Suggested patch, opus_encoder.c, decide_dtx_mode()
While porting opus 1.2.1 to esp32, my compiler had a grumble (error) about
possible use of uninitialized variables in decide_dtx_mode()
Existing code:
--------SNIP---------
/* Decides if DTX should be turned on (=1) or off (=0) */
static int decide_dtx_mode(float activity_probability, /* probability
that current frame contains speech/music */
int *nb_no_activity_frames, /* number of
consecutive frames with no activity */
opus_val32 peak_signal_energy, /* peak energy of
desired signal detected so far */...