Choose your operating system:
Windows
macOS
Linux
| IMediaAudioSample | ||
| IMediaPoolable
|
Module |
|
Header |
/Engine/Plugins/Media/WebMMedia/Source/WebMMedia/Public/WebMMediaAudioSample.h |
Include |
#include "WebMMediaAudioSample.h" |
class FWebMMediaAudioSample :
public IMediaAudioSample,
public IMediaPoolable
Implements a media audio sample for WebMMedia.
Name | Description | |
---|---|---|
|
FWebMMediaAudioSample() |
Default constructor. |
Name | Description | |
---|---|---|
|
~FWebMMediaAudioSample() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
const TArray... |
GetDataBuffer() |
|
|
Initialize |
Initialize the sample. |
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). |