Microsoft DirectX 8.1 (C++) |
The AMTimelineSrc.IsNormalRate method indicates whether the clip will play at the authored playback rate.
Syntax
object.IsNormalRate(
pVal As Long
)
Parameters
pVal
Variable that receives a value indicating how the clip will render. If non-zero, the clip will play at the normal rate. If zero, it will play faster or slower than normal.
Error Codes
If the method fails, an error is raised.
Remarks
A clip's playback rate is determined by its media start and stop times, relative to its timeline times:
Playback rate = (Media Stop Media Start) / (Timeline Stop Timeline Start)
If this ratio is equal to 1, the clip plays at the authored speed. Otherwise, it plays faster or slower. For more information, see Time in DirectShow Editing Services.
See Also