IMFRateControl interface (mfidl.h)

Gets or sets the playback rate.

Inheritance

The IMFRateControl interface inherits from the IUnknown interface. IMFRateControl also has these types of members:

Methods

The IMFRateControl interface has these methods.

 
IMFRateControl::GetRate

Gets the current playback rate. (IMFRateControl.GetRate)
IMFRateControl::SetRate

Sets the playback rate. (IMFRateControl.SetRate)

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

Requirement Value
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