<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMAudioFormatDescriptionGetRichestDecodableFormat(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "c:@F@CMAudioFormatDescriptionGetRichestDecodableFormat"
  },
  "title" : "CMAudioFormatDescriptionGetRichestDecodableFormat(_:)"
}
-->

# CMAudioFormatDescriptionGetRichestDecodableFormat(_:)

Returns a read-only pointer to the appropriate audio format list item in an audio format description.

```
func CMAudioFormatDescriptionGetRichestDecodableFormat(_ desc: CMAudioFormatDescription) -> UnsafePointer<AudioFormatListItem>?
```

## Parameters

`desc`

CMFormatDescription being interrogated.

## Return Value

A read-only pointer to the appropriate `AudioFormatListItem` inside the audio format description.

## Discussion

This property performs validation on the formats represented by the audio in the description.  It finds the first `AudioFormatListItem` for which the current system has a valid decoder. This API is specific to audio format descriptions, and will return `NULL` if called with a non-audio format description.  It may also return `NULL` if there is no suitable decoder available on the current system for this audio format.

---

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)