IMFRateControl interface
Gets or sets the playback rate.
Members
The IMFRateControl interface inherits from the IUnknown interface. IMFRateControl also has these types of members:
Methods
The IMFRateControl interface has these methods.
| Method | Description |
|---|---|
| GetRate |
Gets the current playback rate. |
| SetRate |
Sets the current 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 | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
See also