search for: is_sil

Displaying 2 results from an estimated 2 matches for "is_sil".

Did you mean: is_file
2017 Jul 06
1
Suggested patch, opus_encoder.c, decide_dtx_mode()
...peak_signal_energy, /* peak energy of desired signal detected so far */ const opus_val16 *pcm, /* input pcm signal */ int frame_size, /* frame size */ int channels, int is_silence, /* only digital silence detected in this frame */ int arch ) { int is_noise; opus_val32 noise_energy; int is_sufficiently_quiet; if (!is_silence) { is_noise = activity_probability < DTX_ACTIVITY_THRES...
2017 Oct 17
1
Fix DTX is always unavailable when DISABLE_FLOAT_API is not defined
Hi. I found that DTX is always unavailable when DISABLE_FLAOT_API is not defined in OPUS_AUTO mode. As you know analysis_info.valid is alway true except NaN case and is_silence is alway true except digital zero signal case. In general, following condition will be alway true except exceptional case. (analysis_info.valid || is_silence) But in a code, there is a NOT expression in front of above condition, so st->silk_mode.useDTX will be always disable Here is the...