<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVSampleCursorAudioDependencyInfo/audioSamplePacketRefreshCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@SA@AVSampleCursorAudioDependencyInfo@FI@audioSamplePacketRefreshCount"
  },
  "title" : "audioSamplePacketRefreshCount"
}
-->

# audioSamplePacketRefreshCount

The number of samples, starting at the current sample, that must be fed to the decoder to achieve full decoder refresh.

```
var audioSamplePacketRefreshCount: Int
```

## Discussion

The value of [`audioSampleIsIndependentlyDecodable`](/documentation/AVFoundation/AVSampleCursorAudioDependencyInfo/audioSampleIsIndependentlyDecodable) must be <doc://com.apple.documentation/documentation/Swift/true> for this value to take effect.

The value of this property is `0` for Immediate Playout Frames (IPFs).

---

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)