Skip to main content

MAX_SKIPPED_PACKETS

Constant MAX_SKIPPED_PACKETS 

Source
pub const MAX_SKIPPED_PACKETS: usize = 4;
Expand description

The most packets a file may lose to decode errors.

symphonia reports a corrupt packet as recoverable: the next packet decodes. A lost packet becomes silence of its duration, so every later sample keeps its time. More lost packets than this mean a damaged file.