search for: nb_no_activity_fram

Displaying 4 results from an estimated 4 matches for "nb_no_activity_fram".

Did you mean: nb_no_activity_frames
2017 Jul 06
1
Suggested patch, opus_encoder.c, decide_dtx_mode()
...e 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 */ const opus_val16 *pcm, /* input pcm signal */ int frame_size,...
2019 Apr 01
2
API for checking whether the encoder is in DTX (PR #107)
...from packet loss. This PR implements an encoder CTL named OPUS_GET_IN_DTX. OPUS_GET_IN_DTX returns 1 if the last encoded frame was either a DTX frame, or a CNG update frame that is sent every 420 ms between the DTX frames. This is achieved by checking if the number of consecutive inactive frames (nb_no_activity_frames) is greater or equal to NB_SPEECH_FRAMES_BEFORE_DTX. diff --git a/include/opus_defines.h b/include/opus_defines.h index fbf5d0eb..e35114e4 100644 --- a/include/opus_defines.h +++ b/include/opus_defines.h @@ -168,6 +168,7 @@ extern "C" { /* Don't use 4045, it's already taken b...
2019 Apr 08
3
API for checking whether the encoder is in DTX (PR #107)
...CTL named OPUS_GET_IN_DTX. OPUS_GET_IN_DTX > > returns 1 if the last encoded frame was either a DTX frame, or a CNG > > update frame that is sent every 420 ms between the DTX frames. > > > > This is achieved by checking if the number of consecutive inactive > > frames (nb_no_activity_frames) is greater or equal to > > NB_SPEECH_FRAMES_BEFORE_DTX. > > > > > > diff --git a/include/opus_defines.h b/include/opus_defines.h > > index fbf5d0eb..e35114e4 100644 > > --- a/include/opus_defines.h > > +++ b/include/opus_defines.h > > @@ -168,6 +16...
2019 Apr 05
0
API for checking whether the encoder is in DTX (PR #107)
...R implements an encoder CTL named OPUS_GET_IN_DTX. OPUS_GET_IN_DTX > returns 1 if the last encoded frame was either a DTX frame, or a CNG > update frame that is sent every 420 ms between the DTX frames. > > This is achieved by checking if the number of consecutive inactive > frames (nb_no_activity_frames) is greater or equal to > NB_SPEECH_FRAMES_BEFORE_DTX. > > > diff --git a/include/opus_defines.h b/include/opus_defines.h > index fbf5d0eb..e35114e4 100644 > --- a/include/opus_defines.h > +++ b/include/opus_defines.h > @@ -168,6 +168,7 @@ extern "C" { >  /*...