Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.
The RateChange method is called when the playback rate changes.
Syntax
HRESULT RateChange(
[in] double qwNewRate,
[in] double qwOldRate
);
Parameters
qwNewRate [in]
Specifies the new playback rate.qwOldRate [in]
Specifies the previous playback rate.
Return Value
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
S_OK |
Success. |
Remarks
For both parameters, 1.0 represents normal speed. Fractional values are allowed. For example, 0.2 would represent a rate that is slower than normal playback and 1.7 would represent a rate that is faster than normal playback.
Requirements
Header | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
See Also
IMSVidStreamBufferSourceEvent2 Interface
Send comments about this topic to Microsoft
Build date: 12/4/2008