search for: is_sufficiently_quiet

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

2017 Jul 06
1
Suggested patch, opus_encoder.c, decide_dtx_mode()
.../* 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_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);...