IMFRateControl Interface

Gets or sets the playback rate.

Syntax

interface IMFRateControl : public IUnknown  

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

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.