Home
last modified time | relevance | path

Searched refs:OPUS_INVALID_STATE (Results 1 – 2 of 2) sorted by relevance

/external/libopus/tests/
Dtest_opus_api.c327 if(opus_decoder_ctl(0,OPUS_RESET_STATE) !=OPUS_INVALID_STATE)test_failed(); in test_dec_api()
328 if(opus_decoder_init(0,48000,1) !=OPUS_INVALID_STATE)test_failed(); in test_dec_api()
329 if(opus_decode(0,packet,1,outbuf,2880,0) !=OPUS_INVALID_STATE)test_failed(); in test_dec_api()
330 if(opus_decode_float(0,packet,1,0,2880,0) !=OPUS_INVALID_STATE)test_failed(); in test_dec_api()
331 if(opus_decoder_get_nb_samples(0,packet,1) !=OPUS_INVALID_STATE)test_failed(); in test_dec_api()
674 if(opus_multistream_decoder_ctl(0,OPUS_RESET_STATE) !=OPUS_INVALID_STATE)test_failed(); in test_msdec_api()
675 if(opus_multistream_decoder_init(0,48000,1) !=OPUS_INVALID_STATE)test_failed(); in test_msdec_api()
676 if(opus_multistream_decode(0,packet,1,outbuf,2880,0) !=OPUS_INVALID_STATE)test_failed(); in test_msdec_api()
677 if(opus_multistream_decode_float(0,packet,1,0,2880,0) !=OPUS_INVALID_STATE)test_failed(); in test_msdec_api()
678 if(opus_multistream_decoder_get_nb_samples(0,packet,1) !=OPUS_INVALID_STATE)test_failed(); in test_msdec_api()
[all …]
/external/libopus/include/
Dopus_defines.h58 #define OPUS_INVALID_STATE -6 macro