Lines Matching refs:opus_decode
190 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed();
197 if(opus_decode(dec, packet, 1, sbuf, 960, 0)!=960)test_failed();
304 if(opus_decode(dec, packet, 51, sbuf, 960, 0)!=OPUS_INVALID_PACKET)test_failed();
308 if(opus_decode(dec, packet, -1, sbuf, 960, 0)!=OPUS_BAD_ARG)test_failed();
310 if(opus_decode(dec, packet, 3, sbuf, 60, 0)!=OPUS_BUFFER_TOO_SMALL)test_failed();
312 if(opus_decode(dec, packet, 3, sbuf, 480, 0)!=OPUS_BUFFER_TOO_SMALL)test_failed();
314 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed();
316 fprintf(stdout," opus_decode() ................................ OK.\n");
328 if(opus_decode(0,packet,1,outbuf,2880,0) !=OPUS_INVALID_STATE)test_failed();