Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

WMFP.SetRate

Sets the current playback rate.

Component Version macOS Windows Linux Server iOS SDK
WMFP 10.0 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WMFP.SetRate"; Player; Value )   More

Parameters

Parameter Description Example
Player The reference number for the Windows Media Foundation Player object. $$Player
Value The new rate. 1.0

Result

Returns OK or error.

Description

Sets the current playback rate.
The playback rate is expressed as a ratio of the current rate to the normal rate. For example, 1.0 indicates normal playback, 0.5 indicates half speed, and 2.0 indicates twice speed. Positive values indicate forward playback, and negative values indicate reverse playback.

Examples

Set to double speed:

Set Variable [$r; Value: MBS( "WMFP.SetRate"; $$Player; 2 ) ]

See also

Blog Entries

Created 25th December 2019, last changed 26th December 2019


WMFP.SetPosition - WMFP.SetTag

Feedback: Report problem or ask question.