Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaSamples
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool FetchAudio
(
TRange< FTimespan > TimeRange, |
Fetch the next audio sample. | IMediaSamples.h | |
virtual bool FetchAudio
(
TRange< FMediaTimeStamp > TimeRange, |
IMediaSamples.h |
FetchAudio(TRange< FTimespan >, TSharedPtr< IMediaAudioSample, ESPMode::ThreadSafe > &)
Description
Fetch the next audio sample.
| Name | FetchAudio |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaSamples.h |
| Include Path | #include "IMediaSamples.h" |
virtual bool FetchAudio
(
TRange < FTimespan > TimeRange,
TSharedPtr < IMediaAudioSample , ESPMode::ThreadSafe > & OutSample
)
true if the returned sample is valid, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| TimeRange | The range of present times that the sample is allowed to have. |
| OutSample | Will contain the sample if the queue is not empty. |
See Also
-
FetchCaption
-
FetchMetadata
-
FetchSubtitle
-
FetchVideo
FetchAudio(TRange< FMediaTimeStamp >, TSharedPtr< IMediaAudioSample, ESPMode::ThreadSafe > &)
| Name | FetchAudio |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaSamples.h |
| Include Path | #include "IMediaSamples.h" |
virtual bool FetchAudio
(
TRange < FMediaTimeStamp > TimeRange,
TSharedPtr < IMediaAudioSample , ESPMode::ThreadSafe > & OutSample
)