Home
last modified time | relevance | path

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

/external/libopus/tests/
Dtest_opus_api.c346 OpusDecoder *streamdec; in test_msdec_api() local
554 streamdec=0; in test_msdec_api()
555 VG_UNDEF(&streamdec,sizeof(streamdec)); in test_msdec_api()
556 err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(-1,&streamdec)); in test_msdec_api()
559 err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(1,&streamdec)); in test_msdec_api()
560 if(err!=OPUS_OK||streamdec==NULL)test_failed(); in test_msdec_api()
561 VG_CHECK(streamdec,opus_decoder_get_size(1)); in test_msdec_api()
563 err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(2,&streamdec)); in test_msdec_api()
566 err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(0,&streamdec)); in test_msdec_api()
567 if(err!=OPUS_OK||streamdec==NULL)test_failed(); in test_msdec_api()
[all …]