Utility class to re-frame packets. More...
Inherited by FramerResampler< T >.
Public Member Functions | |
Framer (int frameSize) | |
Create new Framer instance. More... | |
virtual IEnumerable< T[]> | Frame (T[] buf) |
Append arbitrary-sized buffer and return available full frames. More... | |
Protected Attributes | |
T[] | frame |
int | sizeofT |
int | framePos = 0 |
Utility class to re-frame packets.
|
virtual |
Append arbitrary-sized buffer and return available full frames.
buf | Array of samples to add. |
Reimplemented in FramerResampler< T >.