IMFRateControl interface

Gets or sets the playback rate.

Methods

The IMFRateControl interface has these methods.

Method Description
IMFRateControl::GetRate Gets the current playback rate.
IMFRateControl::SetRate Sets the playback rate.

Remarks

Objects can expose this interface as a service. To obtain a pointer to the interface, call IMFGetService::GetService with the service identifier MF_RATE_CONTROL_SERVICE. The Media Session supports this interface. Media sources and transforms support this interface if they support rate changes. Media sinks do not need to support this interface. Media sinks are notified of rate changes through the IMFClockStateSink::OnClockSetRate method.

For more information, see About Rate Control.

To discover the playback rates that an object supports, use the IMFRateSupport interface

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h

See Also

About Rate Control

Media Foundation Interfaces