search for: dtx_activity_threshold

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

2017 Jul 06
1
Suggested patch, opus_encoder.c, decide_dtx_mode()
...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_THRESHOLD; if (is_noise) { noise_energy = compute_frame_energy(pcm, frame_size, channels, arch); is_sufficiently_quiet = peak_signal_energy >= (PSEUDO_SNR_THRESHOLD * noise_energy); } } if (is_silence || (is_noise && is_sufficiently_quiet)) { /*...