---
title: mSampleRate
framework: coreaudiotypes
role: symbol
role_heading: Instance Property
path: coreaudiotypes/audiostreambasicdescription/msamplerate
---

# mSampleRate

The number of frames per second of the data in the stream, when playing the stream at normal speed.

## Declaration

```swift
var mSampleRate: Float64
```

## Discussion

Discussion For compressed formats, this field indicates the number of frames per second of equivalent decompressed data. The mSampleRate field must be nonzero, except when this structure is used in a listing of supported formats (see kAudioStreamAnyRate).

## See Also

### Inspecting a description

- [mFormatID](coreaudiotypes/audiostreambasicdescription/mformatid.md)
- [mFormatFlags](coreaudiotypes/audiostreambasicdescription/mformatflags.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)
