[][src]Function opus_sys2::opus_repacketizer_get_nb_frames

pub unsafe extern "C" fn opus_repacketizer_get_nb_frames(
    rp: *mut OpusRepacketizer
) -> c_int

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.