search for: __opus_check_int_ptr

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

2019 Apr 01
2
API for checking whether the encoder is in DTX (PR #107)
...ET_IN_DTX_REQUEST 4049 /** Defines for the presence of extended APIs. */ #define OPUS_HAVE_OPUS_PROJECTION_H @@ -715,6 +716,16 @@ extern "C" { * </dl> * @hideinitializer */ #define OPUS_GET_PHASE_INVERSION_DISABLED(x) OPUS_GET_PHASE_INVERSION_DISABLED_REQUEST, __opus_check_int_ptr(x) +/** Gets the DTX state of the encoder. + * Returns wheter the last encoded frame was either a comfort noise update + * during DTX or not encoded because of DTX. + * @param[out] x <tt>opus_int32 *</tt>: Returns one of the following values: + * <dl> + * <dt>0</dt&g...
2019 Apr 08
3
API for checking whether the encoder is in DTX (PR #107)
...esence of extended APIs. */ > > #define OPUS_HAVE_OPUS_PROJECTION_H > > @@ -715,6 +716,16 @@ extern "C" { > > * </dl> > > * @hideinitializer */ > > #define OPUS_GET_PHASE_INVERSION_DISABLED(x) > > OPUS_GET_PHASE_INVERSION_DISABLED_REQUEST, __opus_check_int_ptr(x) > > +/** Gets the DTX state of the encoder. > > + * Returns wheter the last encoded frame was either a comfort noise > update > > > s/wheter/whether/ > > > > + * during DTX or not encoded because of DTX. > > + * @param[out] x <tt>opus_int32 *&lt...
2019 Apr 05
0
API for checking whether the encoder is in DTX (PR #107)
...  >  /** Defines for the presence of extended APIs. */ >  #define OPUS_HAVE_OPUS_PROJECTION_H > @@ -715,6 +716,16 @@ extern "C" { >    * </dl> >    * @hideinitializer */ >  #define OPUS_GET_PHASE_INVERSION_DISABLED(x) > OPUS_GET_PHASE_INVERSION_DISABLED_REQUEST, __opus_check_int_ptr(x) > +/** Gets the DTX state of the encoder. > +  * Returns wheter the last encoded frame was either a comfort noise update s/wheter/whether/ > +  * during DTX or not encoded because of DTX. > +  * @param[out] x <tt>opus_int32 *</tt>: Returns one of the following > va...
2019 Nov 13
0
about speech/music detector in opus 1.3.1
Hi, I’m wondering how can I get the speech/music classification result when encoding the audio in opus 1.3.1? I found in the file opus_encoder.c, there is a opus_encoder_ctl request as OPUS_GET_VOICE_RATIO_REQUEST, so I wrote in my program the below code: #define OPUS_GET_VOICE_RATIO(x) 11019, __opus_check_int_ptr(x) int32_t voiceRatio; opus_encoder_ctl(encoder, OPUS_GET_VOICE_RATIO(&voiceRatio)); LOGI("voice ratio:%d", voiceRatio); But it always return -1. And then I found that in the opus_encoder.c, the classification can only enable when #ifndef DISABLE_FLOAT_API, but I’m not sure if &amp...