Navigation
API > API/Runtime > API/Runtime/MediaUtils > API/Runtime/MediaUtils/TMediaSampleQueue
Description
Get the number of samples in the queue.
Note: The value returned by this function is only eventually consistent. It can be called by both consumer and producer threads, but it should not be used to query the actual state of the queue. Always use Dequeue and Peek instead!
Virtual Inheritance
- TMediaSampleSink::Num → TMediaSampleQueue::Num
| Name | Num |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaUtils/Public/MediaSampleQueue.h |
| Include Path | #include "MediaSampleQueue.h" |
virtual int32 Num() const
Number of samples.