Lines Matching refs:output_samples
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()
795 output_samples = tot_in-tot_out; in main()
797 if (output_samples>skip) { in main()
799 for(i=0;i<(output_samples-skip)*channels;i++) in main()
806 …if (fwrite(fbytes, sizeof(short)*channels, output_samples-skip, fout) != (unsigned)(output_samples… in main()
810 tot_out += output_samples-skip; in main()
812 if (output_samples<skip) skip -= output_samples; in main()
816 opus_strerror(output_samples)); in main()
818 tot_samples += output_samples; in main()