---
title: rate
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avsamplebufferrendersynchronizer/rate
---

# rate

The current playback rate.

## Declaration

```swift
var rate: Float { get set }
```

## Discussion

Discussion A value of 0.0 means playback has stopped. A value of 1.0 tells the renderer to play at the natural rate of the media. This property must be greater than or equal to 0.0.

## See Also

### Accessing time information

- [currentTime()](avfoundation/avsamplebufferrendersynchronizer/currenttime().md)
- [timebase](avfoundation/avsamplebufferrendersynchronizer/timebase.md)
- [setRate(_:time:)](avfoundation/avsamplebufferrendersynchronizer/setrate(_:time:).md)
- [setRate(_:time:atHostTime:)](avfoundation/avsamplebufferrendersynchronizer/setrate(_:time:athosttime:).md)
- [rateDidChangeNotification](avfoundation/avsamplebufferrendersynchronizer/ratedidchangenotification.md)
- [delaysRateChangeUntilHasSufficientMediaData](avfoundation/avsamplebufferrendersynchronizer/delaysratechangeuntilhassufficientmediadata.md)
