Struct opus::RepacketizerState [] [src]

pub struct RepacketizerState<'rp, 'buf> { /* fields omitted */ }

An in-progress repacketization.

Methods

impl<'rp, 'buf> RepacketizerState<'rp, 'buf>
[src]

Add a packet to the current repacketizer state.

Add a packet to the current repacketizer state, moving it.

Get the total number of frames contained in packet data submitted so far via cat.

Construct a new packet from data previously submitted via cat.

All previously submitted frames are used.

Construct a new packet from data previously submitted via cat, with a manually specified subrange.

The end index should not exceed the value of get_nb_frames().