---
title: mChannelsPerFrame
framework: coreaudiotypes
role: symbol
role_heading: Instance Property
path: coreaudiotypes/audiostreambasicdescription/mchannelsperframe
---

# mChannelsPerFrame

The number of channels in each frame of audio data.

## Declaration

```swift
var mChannelsPerFrame: UInt32
```

## Discussion

Discussion This value must be nonzero.

## See Also

### Inspecting a description

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