---
title: "CMTimebaseGetEffectiveRate(_:)"
framework: coremedia
role: symbol
role_heading: Function
path: "coremedia/cmtimebasegeteffectiverate(_:)"
---

# CMTimebaseGetEffectiveRate(_:)

Returns the effective rate of a timebase, which combines its rate with the rates of all its host timebases.

## Declaration

```swift
func CMTimebaseGetEffectiveRate(_ timebase: CMTimebase) -> Float64
```

## Discussion

Discussion Calling CMTimebaseGetEffectiveRate(timebase) is equivalent to calling CMSyncGetRelativeRate(timebase, CMTimebaseGetUltimateMasterClock(timebase)).

## See Also

### Getting and Setting the Time Rate

- [CMTimebaseGetRate(_:)](coremedia/cmtimebasegetrate(_:).md)
- [CMTimebaseSetRate(_:rate:)](coremedia/cmtimebasesetrate(_:rate:).md)
- [CMTimebaseSetRateAndAnchorTime(_:rate:anchorTime:immediateSourceTime:)](coremedia/cmtimebasesetrateandanchortime(_:rate:anchortime:immediatesourcetime:).md)
