<!--
{
  "documentType" : "article",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/audio-file-stream-flags",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Audio File Stream Flags"
}
-->

# Audio File Stream Flags

Flags set by the property listener callback and the [`AudioFileStreamParseBytes(_:_:_:_:)`](/documentation/AudioToolbox/AudioFileStreamParseBytes(_:_:_:_:)) function.

## Topics

### Constants

[`static var propertyIsCached: AudioFileStreamPropertyFlags`](/documentation/AudioToolbox/AudioFileStreamPropertyFlags/propertyIsCached)

This flag is set when the callback [`AudioFileStream_PropertyListenerProc`](/documentation/AudioToolbox/AudioFileStream_PropertyListenerProc) is invoked in the case that the value of the property has been cached and can be obtained later.

[`static var cacheProperty: AudioFileStreamPropertyFlags`](/documentation/AudioToolbox/AudioFileStreamPropertyFlags/cacheProperty)

A property listener sets this flag to instruct the parser to cache the property value so that it remains available after the callback returns.

[`static var discontinuity: AudioFileStreamParseFlags`](/documentation/AudioToolbox/AudioFileStreamParseFlags/discontinuity)

Pass this flag to the [`AudioFileStreamParseBytes(_:_:_:_:)`](/documentation/AudioToolbox/AudioFileStreamParseBytes(_:_:_:_:)) function to signal a discontinuity in the audio data.

[`static var offsetIsEstimated: AudioFileStreamSeekFlags`](/documentation/AudioToolbox/AudioFileStreamSeekFlags/offsetIsEstimated)

This flag is returned by the [`AudioFileStreamSeek(_:_:_:_:)`](/documentation/AudioToolbox/AudioFileStreamSeek(_:_:_:_:)) function if the byte offset is only an estimate.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)