<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMSampleBufferAttachmentKeyDefinitions/fillDiscontinuitiesWithSilence",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "s:9CoreMedia38CMSampleBufferAttachmentKeyDefinitionsO30fillDiscontinuitiesWithSilence0A5Video012CVAttachmentf10DefinitionJ7DefaultVyAE0M29ModePreferenceShouldPropagateOSbGvpZ"
  },
  "title" : "fillDiscontinuitiesWithSilence"
}
-->

# fillDiscontinuitiesWithSilence

Fill the difference between discontiguous sample buffers with silence.

```
static let fillDiscontinuitiesWithSilence: CVAttachmentKeyDefinitionWithDefault<CMSampleBufferAttachmentKeyDefinitions.ShouldPropagate, Bool>
```

## Discussion

If a sample buffer enters a buffer queue and the presentation time stamp between the previous buffer and the
buffer with this attachment are discontiguous, handle the discontinuity by generating silence for the time
difference. The getter returns the default value of false if this attachment is not present.

---

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)