Contents

discontinuity

Pass this flag to the Audiofilestreamparsebytes(_:_:_:_:) function to signal a discontinuity in the audio data.

Declaration

static var discontinuity: AudioFileStreamParseFlags { get }

Discussion

Any partial packet straddling a buffer boundary is discarded to avoid having the parser call your callback with a corrupt packet. After a discontinuity occurs, the AudioFileStreamSeek(_:_:_:_:) function might return approximate values for some data formats.