| IMediaAudioSample
|
Module |
|
Header |
/Engine/Source/Runtime/Media/Public/IMediaAudioSample.h |
Include |
#include "IMediaAudioSample.h" |
class IMediaAudioSample
Interface for media audio samples.
Name | Description | |
---|---|---|
|
~IMediaAudioSample() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
const void &... |
GetBuffer() |
Get the sample data. The returned buffer is only valid for the life time of this sample. |
|
GetChannels() |
Get the sample's number of channels. |
|
|
GetDuration() |
Get the amount of time for which the sample is valid. |
|
|
EMediaAudioS... |
GetFormat() |
Get the audio sample format. |
|
GetFrames() |
Get the number of frames in the buffer. A frame consists of one sample value per channel. |
|
|
GetSampleRate() |
Get the sample's sampling rate (in audio frames per second). |
|
|
FMediaTimeSt... |
GetTime() |
Get the sample time (in the player's local clock). |
|
GetTimecode() |
Get the sample timecode if available. |