// Frames:    [                           F0                          |   ..   ]
//                                                                    :
// Fragments: [  f0   |  f1   |      f2     |    f3    |    f4   | f5 |   ..   ]
//
// Frames are complete FLAC frames. Frames are composed of an integer number of fragments.
//
// Data is buffered from the media source stream. Once buffered, the data is scanned for
// fragments. A fragment shall start with a FLAC frame header preamble, and decode into a valid
// FLAC frame header. Fragments are then be combined until a valid FLAC frame is found. A set of
// rules and heuristics are used to limit the number of fragments that can be recombined. This
// is required to detect errors.
[                           F0                          |   ..

Frames are complete FLAC frames. Frames are composed of an integer number of fragments.

Data is buffered from the media source stream. Once buffered, the data is scanned for
fragments. A fragment shall start with a FLAC frame header preamble, and decode into a valid
FLAC frame header. Fragments are then be combined until a valid FLAC frame is found. A set of
rules and heuristics are used to limit the number of fragments that can be recombined. This
is required to detect errors.
[ F0 | .. Frames are complete FLAC frames . Frames are composed of an integer number of fragments . Data is buffered from the media source stream . Once buffered the data is scanned for fragments . A fragment shall start with a FLAC frame header preamble and decode into a valid FLAC frame header . Fragments are then be combined until a valid FLAC frame is found . A set of rules and heuristics are used to limit the number of fragments that can be recombined . This is required to detect errors .
pub fn reset(&mut self, stream_info: StreamInfo) {
        self.stream_info = stream_info;
        self.frame_size_hist = [PacketParser::FLAC_AVG_FRAME_LEN; 4];
        self.n_frames = 0;
        self.last_seq = 0;
        self.last_read_err = None;
    }
pub fn reset ( & mut self , stream_info : StreamInfo ) { self . stream_info = stream_info ; self . frame_size_hist = [ PacketParser :: FLAC_AVG_FRAME_LEN ; 4 ] ; self . n_frames = 0 ; self . last_seq = 0 ; self . last_read_err = None ; }
Frames:    [                           F0                          |   ..   ]
:
Fragments: [  f0   |  f1   |      f2     |    f3    |    f4   | f5 |   ..   ]
Frames : [ F0 | .. ] : Fragments : [ f0 | f1 | f2 | f3 | f4 | f5 | .. ]
&mut self
stream_info
StreamInfo