<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudioTypes",
  "identifier" : "/documentation/CoreAudioTypes/AudioStreamBasicDescription/mFormatID",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Audio Types"
    ],
    "preciseIdentifier" : "c:@S@AudioStreamBasicDescription@FI@mFormatID"
  },
  "title" : "mFormatID"
}
-->

# mFormatID

An identifier specifying the general audio data format in the stream.

```
var mFormatID: AudioFormatID
```

## Discussion

See [Audio Format Identifiers](/documentation/CoreAudioTypes/audio-format-identifiers). This value must be nonzero.

---

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)