WMFP.GetRate
------------

Queries the current playback rate.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WMFP](component_WMFP.md) | [10.0](newinversion100.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WMFP.GetRate"; Player ) 

**MBS**( **"WMFP.GetRate";** /\* Queries the current playback rate. \*/  
**$Player**) /\* The reference number for the Windows Media Foundation Player object.e.g. $$Player \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Player | The reference number for the Windows Media Foundation Player object. | $$Player |

### Result

Returns number or error.

### Description

Queries the current playback rate.  
### Examples

Query rate:

 Set Variable \[ $rate ; Value: MBS ( "WMFP.GetRate"; $Player ) \]  
### See also

- [WMFP.GetMute](WMFPGetMute.md)
- [WMFP.GetState](WMFPGetState.md)
- [WMFP.GetTag](WMFPGetTag.md)
- [WMFP.SetMute](WMFPSetMute.md)
- [WMFP.SetRate](WMFPSetRate.md)

This function checks for a license.

Created 25th December 2019 , last changed 9th November 2021

  
[WMFP.GetPosition](WMFPGetPosition.md) - [WMFP.GetState](WMFPGetState.md)

[HTML Version](WMFPGetRate.shtml)