Navigation
Unreal Engine C++ API Reference > Runtime > MediaUtils
Inheritance Hierarchy
- TMediaSampleSource
- TMediaSampleQueue
- FMediaAudioSampleQueue
References
Module | MediaUtils |
Header | /Engine/Source/Runtime/MediaUtils/Public/MediaSampleSource.h |
Include | #include "MediaSampleSource.h" |
Syntax
template<typename SampleType>
class TMediaSampleSource
Remarks
Interface for media sample sources.
This interface declares the read side of media sample queues.
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | Dequeue
(
TSharedPtr< SampleType, ESPMode::ThreadSafe >& OutSample |
Remove and return the next sample in the queue. |
![]() |
bool | Peek
(
TSharedPtr< SampleType, ESPMode::ThreadSafe >& OutSample |
Peek at the next sample in the queue without removing it. |
![]() |
bool | Pop () |
Remove the next sample from the queue. |