---
title: mFormatID
framework: coreaudiotypes
role: symbol
role_heading: Instance Property
path: coreaudiotypes/audiostreambasicdescription/mformatid
---

# mFormatID

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

## Declaration

```swift
var mFormatID: AudioFormatID
```

## Discussion

Discussion See Audio Format Identifiers. This value must be nonzero.

## See Also

### Inspecting a description

- [mFormatFlags](coreaudiotypes/audiostreambasicdescription/mformatflags.md)
- [mSampleRate](coreaudiotypes/audiostreambasicdescription/msamplerate.md)
- [mBitsPerChannel](coreaudiotypes/audiostreambasicdescription/mbitsperchannel.md)
- [mBytesPerFrame](coreaudiotypes/audiostreambasicdescription/mbytesperframe.md)
- [mChannelsPerFrame](coreaudiotypes/audiostreambasicdescription/mchannelsperframe.md)
- [mBytesPerPacket](coreaudiotypes/audiostreambasicdescription/mbytesperpacket.md)
- [mFramesPerPacket](coreaudiotypes/audiostreambasicdescription/mframesperpacket.md)
- [mReserved](coreaudiotypes/audiostreambasicdescription/mreserved.md)
