HomeSort by relevance Sort by last modified time
    Searched full:packet_frame_size (Results 1 - 1 of 1) sorted by null

  /external/libopus/src/
opus_decoder.c 591 int packet_frame_size, packet_bandwidth, packet_mode, packet_stream_channels; local
619 packet_frame_size = opus_packet_get_samples_per_frame(data, st->Fs);
634 if (frame_size < packet_frame_size || packet_mode == MODE_CELT_ONLY || st->mode == MODE_CELT_ONLY)
638 if (frame_size-packet_frame_size!=0)
640 ret = opus_decode_native(st, NULL, 0, pcm, frame_size-packet_frame_size, 0, 0, NULL, soft_clip);
646 celt_assert(ret==frame_size-packet_frame_size);
651 st->frame_size = packet_frame_size;
653 ret = opus_decode_frame(st, data, size[0], pcm+st->channels*(frame_size-packet_frame_size),
654 packet_frame_size, 1);
665 if (count*packet_frame_size > frame_size
    [all...]

Completed in 51 milliseconds