search for: voiceratio

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

2019 Nov 13
0
about speech/music detector in opus 1.3.1
...t 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 & where we define the D...