Share via


PlaySpeed structure

Represents a playback speed as a rational number.

Syntax

typedef struct PlaySpeed {
  INT32  Numerator;
  UINT32 Denominator;
} PlaySpeed;

Members

  • Numerator
    A value that when divided by the Denominator represents the play speed.

  • Denominator
    The Numerator should be divided by this value to obtain the play speed. A value of 0 is not allowed.

Remarks

The Numerator is a signed integer, allowing for negative speeds. A negative speed means that the content is played in reverse. A speed of 1 means that the content is played at its normal playback speed.

Requirements

IDL

Windows.Media.Streaming.idl (reference Windows.Media.Streaming.idl)