engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMediaSamples类 参考abstract

Interface for access to a media player's sample queue. 更多...

#include <IMediaSamples.h>

+ 类 IMediaSamples 继承关系图:

Public 成员函数

virtual bool FetchAudio (TRange< FTimespan > TimeRange, TSharedPtr< IMediaAudioSample, ESPMode::ThreadSafe > &OutSample)
 Fetch the next audio sample. 更多...
 
virtual bool FetchCaption (TRange< FTimespan > TimeRange, TSharedPtr< IMediaOverlaySample, ESPMode::ThreadSafe > &OutSample)
 Fetch the next caption sample. 更多...
 
virtual bool FetchMetadata (TRange< FTimespan > TimeRange, TSharedPtr< IMediaBinarySample, ESPMode::ThreadSafe > &OutSample)
 Fetch the next metadata sample. 更多...
 
virtual bool FetchSubtitle (TRange< FTimespan > TimeRange, TSharedPtr< IMediaOverlaySample, ESPMode::ThreadSafe > &OutSample)
 Fetch the next subtitle sample. 更多...
 
virtual bool FetchVideo (TRange< FTimespan > TimeRange, TSharedPtr< IMediaTextureSample, ESPMode::ThreadSafe > &OutSample)
 Fetch the next video sample. 更多...
 
virtual void FlushSamples ()
 Discard any outstanding media samples.
 
virtual ~IMediaSamples ()
 Virtual destructor.
 

详细描述

Interface for access to a media player's sample queue.

参见
IMediaCache, IMediaControls, IMediaPlayer, IMediaTracks, IMediaView

成员函数说明

◆ FetchAudio()

virtual bool IMediaSamples::FetchAudio ( TRange< FTimespan >  TimeRange,
TSharedPtr< IMediaAudioSample, ESPMode::ThreadSafe > &  OutSample 
)
inlinevirtual

Fetch the next audio sample.

参数
TimeRangeThe range of present times that the sample is allowed to have.
OutSampleWill contain the sample if the queue is not empty.
返回
true if the returned sample is valid, false otherwise.
参见
FetchCaption, FetchMetadata, FetchSubtitle, FetchVideo

被 FMediaSamples 重载.

◆ FetchCaption()

virtual bool IMediaSamples::FetchCaption ( TRange< FTimespan >  TimeRange,
TSharedPtr< IMediaOverlaySample, ESPMode::ThreadSafe > &  OutSample 
)
inlinevirtual

Fetch the next caption sample.

参数
TimeRangeThe range of present times that the sample is allowed to have.
OutSampleWill contain the sample if the queue is not empty.
返回
true if the returned sample is valid, false otherwise.
参见
FetchAudio, FetchMetadata, FetchSubtitle, FetchVideo

被 FMediaSamples 重载.

◆ FetchMetadata()

virtual bool IMediaSamples::FetchMetadata ( TRange< FTimespan >  TimeRange,
TSharedPtr< IMediaBinarySample, ESPMode::ThreadSafe > &  OutSample 
)
inlinevirtual

Fetch the next metadata sample.

参数
TimeRangeThe range of present times that the sample is allowed to have.
OutSampleWill contain the sample if the queue is not empty.
返回
true if the returned sample is valid, false otherwise.
参见
FetchAudio, FetchCaption, FetchSubtitle, FetchVideo

被 FMediaSamples 重载.

◆ FetchSubtitle()

virtual bool IMediaSamples::FetchSubtitle ( TRange< FTimespan >  TimeRange,
TSharedPtr< IMediaOverlaySample, ESPMode::ThreadSafe > &  OutSample 
)
inlinevirtual

Fetch the next subtitle sample.

参数
TimeRangeThe range of present times that the sample is allowed to have.
OutSampleWill contain the sample if the queue is not empty.
返回
true if the returned sample is valid, false otherwise.
参见
FetchAudio, FetchCaption, FetchMetadata, FetchVideo

被 FMediaSamples 重载.

◆ FetchVideo()

virtual bool IMediaSamples::FetchVideo ( TRange< FTimespan >  TimeRange,
TSharedPtr< IMediaTextureSample, ESPMode::ThreadSafe > &  OutSample 
)
inlinevirtual

Fetch the next video sample.

参数
TimeRangeThe range of present times that the sample is allowed to have.
OutSampleWill contain the sample if the queue is not empty.
返回
true if the returned sample is valid, false otherwise.
参见
FetchAudio, FetchCaption, FetchMetadata, FetchSubtitle

被 FMediaSamples 重载.


该类的文档由以下文件生成: