Searched refs:output_samples (Results 1 – 1 of 1) sorted by relevance
/external/libopus/src/ |
D | opus_demo.c | 769 int output_samples; in main() local 772 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main() 774 output_samples = max_frame_size; in main() 780 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main() 781 …output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 1); in main() 784 output_samples = max_frame_size; in main() 785 … output_samples = opus_decode(dec, data[1-toggle], len[1-toggle], out, output_samples, 0); in main() 788 …output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 0); in main() 790 if (output_samples>0) in main() 792 if (!decode_only && tot_out + output_samples > tot_in) in main() [all …]
|