<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMMutableDataBlockBuffer/init(copying:blockSource:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "s:9CoreMedia24CMMutableDataBlockBufferV7copying11blockSourceACSPySo05AudioF4ListVG_AC0eI0VSgtcfc"
  },
  "title" : "init(copying:blockSource:)"
}
-->

# init(copying:blockSource:)

Creates a block buffer by copying the given audio buffer list.

```
init(copying audioBuffers: UnsafePointer<AudioBufferList>, blockSource: CMMutableDataBlockBuffer.BlockSource? = nil)
```

## Parameters

`audioBuffers`

Audio buffer list to copy into the new block buffer.

`blockSource`

Optional source to allocate and deallocate memory for the data blocks.

---

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)