Condividi tramite


IMSVidStreamBufferV2SourceEvent::RateChange method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Fired when the SBE2 source filter receives a STREAMBUFFER_EC_RATE_CHANGED event, which indicates the playback rate has changed.

Syntax

HRESULT RateChange(
  [in] double qwNewRate,
  [in] double qwOldRate
);

Parameters

[in] qwNewRate

New playback rate, multiplied by 1,000.

[in] qwOldRate

Old playback rate, multiplied by 1,000.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidStreamBufferV2SourceEvent

Stream Buffer Engine Event Codes