Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaAudioSample
Description
Get the amount of time for which the sample is valid.
A duration of zero indicates that the sample is valid until the timecode of the next sample in the queue.
| Name | GetDuration |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaAudioSample.h |
| Include Path | #include "IMediaAudioSample.h" |
FTimespan GetDuration() const
Sample duration.
See Also
-
GetFormat
-
GetFrames
-
GetRate
-
GetTime