IMFMediaEngineEx::IsPlaybackRateSupported method (mfmediaengine.h)
Queries whether the Media Engine can play at a specified playback rate.
Syntax
BOOL IsPlaybackRateSupported(
[in] double rate
);
Parameters
[in] rate
The requested playback rate.
Return value
Returns TRUE if the playback rate is supported, or FALSE otherwise.
Remarks
Playback rates are expressed as a ratio of the current rate to the normal rate. For example, 1.0 is normal playback speed, 0.5 is half speed, and 2.0 is 2× speed. Positive values mean forward playback, and negative values mean reverse playback.
The results of this method can vary depending on the media resource that is currently loaded. Some media formats might support faster playback rates than others. Also, some formats might not support reverse play.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfmediaengine.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for