<!--
{
  "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" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVReadOnlyAudioPCMBuffer/ChannelData",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "s:8AVFAudio24AVReadOnlyAudioPCMBufferV11ChannelDataO"
  },
  "title" : "AVReadOnlyAudioPCMBuffer.ChannelData"
}
-->

# AVReadOnlyAudioPCMBuffer.ChannelData

Represents read-only channel data.

```
enum ChannelData
```

## Overview

For **deinterleaved** formats:

- The span contains only the requested channel’s samples in contiguous memory

For **interleaved** formats:

- The span contains the entire interleaved buffer starting at the channel’s first sample

## Topics

### Getting typed channel data

[`case float(Span<Float>)`](/documentation/AVFAudio/AVReadOnlyAudioPCMBuffer/ChannelData/float(_:))

[`case int16(Span<Int16>)`](/documentation/AVFAudio/AVReadOnlyAudioPCMBuffer/ChannelData/int16(_:))

[`case int32(Span<Int32>)`](/documentation/AVFAudio/AVReadOnlyAudioPCMBuffer/ChannelData/int32(_:))



---

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)