opus_repacketizer_get_nb_frames method

int opus_repacketizer_get_nb_frames(
  1. Pointer<OpusRepacketizer> rp
)

Return the total number of frames contained in packet data submitted to the repacketizer state so far via opus_repacketizer_cat() since the last call to opus_repacketizer_init() or opus_repacketizer_create(). This defines the valid range of packets that can be extracted with opus_repacketizer_out_range() or opus_repacketizer_out(). @param rp OpusRepacketizer*: The repacketizer state containing the frames. @returns The total number of frames contained in the packet data submitted to the repacketizer state.

Implementation

int opus_repacketizer_get_nb_frames(
  ffi.Pointer<OpusRepacketizer> rp,
) {
  return _opus_repacketizer_get_nb_frames(rp);
}