다음을 통해 공유


IMediaPosition::put_Rate (Windows CE 5.0)

Send Feedback

This method sets the rate of playback relative to normal speed.

HRESULT put_Rate(doubledRate);

Parameters

  • dRate
    [in] Rate to set.

Return Values

Returns an HRESULT value.

Remarks

This method allows an application to speed up or slow down playback relative to the normal default playback speed. A rate of 1.0 indicates normal playback speed. Specifying 2.0 causes playback at twice the normal rate: a video created for 10 frames per second (fps) will be played back at 20 fps, if resources permit. Audio streams played back at above-normal speed increase the pitch rather than drop samples.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

Pocket: Windows Mobile 5.0 and later
Smartphones: Windows Mobile 5.0 and later
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

See Also

IMediaPosition Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.