<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVSampleCursor/currentSampleAudioDependencyInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVSampleCursor(py)currentSampleAudioDependencyInfo"
  },
  "title" : "currentSampleAudioDependencyInfo"
}
-->

# currentSampleAudioDependencyInfo

The independent decodability information for the audio sample.

```
var currentSampleAudioDependencyInfo: AVSampleCursorAudioDependencyInfo { get }
```

## Discussion

To position a sample cursor at the first sample that the audio decoder requires for a full refresh, move it back from the current sample until you find a sample that meets the following criteria:

- The value of its [`audioSampleIsIndependentlyDecodable`](/documentation/AVFoundation/AVSampleCursorAudioDependencyInfo/audioSampleIsIndependentlyDecodable) property is <doc://com.apple.documentation/documentation/Swift/true>.
- The value of its [`audioSamplePacketRefreshCount`](/documentation/AVFoundation/AVSampleCursorAudioDependencyInfo/audioSamplePacketRefreshCount) property is greater than or equal to the number of steps back you’ve taken.

You don’t need to reposition the cursorif the current sample is independently decodable with an [`audioSamplePacketRefreshCount`](/documentation/AVFoundation/AVSampleCursorAudioDependencyInfo/audioSamplePacketRefreshCount) of `0`.

---

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)