AVAsset.PreferredRate
---------------------

Queries the natural rate at which the asset is to be played.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVAsset](component_AVAsset.md) | [5.2](newinversion52.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "AVAsset.PreferredRate"; Asset ) 

**MBS**( **"AVAsset.PreferredRate";** /\* Queries the natural rate at which the asset is to be played. \*/  
**$Asset**) /\* The reference number of the asset. Please use [AVAsset.OpenContainer](AVAssetOpenContainer.md), [AVAsset.OpenFile](AVAssetOpenFile.md) or [AVAsset.OpenURL](AVAssetOpenURL.md) function to get asset reference. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Asset | The reference number of the asset. Please use [AVAsset.OpenContainer](AVAssetOpenContainer.md), [AVAsset.OpenFile](AVAssetOpenFile.md) or [AVAsset.OpenURL](AVAssetOpenURL.md) function to get asset reference. | $asset |

### Result

Returns value or error.

### Description

Queries the natural rate at which the asset is to be played.  
This value is often, but not always, 1.0.  
### Examples

Query preferred rate:

 MBS ( "AVAsset.PreferredRate"; $asset )  
### See also

- [AVAsset.OpenContainer](AVAssetOpenContainer.md)
- [AVAsset.OpenFile](AVAssetOpenFile.md)
- [AVAsset.OpenURL](AVAssetOpenURL.md)
- [AVAsset.PreferredVolume](AVAssetPreferredVolume.md)

This function checks for a license.

Created 19th June 2015 , last changed 19th June 2015

  
[AVAsset.OpenURL](AVAssetOpenURL.md) - [AVAsset.PreferredVolume](AVAssetPreferredVolume.md)

[HTML Version](AVAssetPreferredRate.shtml)