Choose your operating system:
Windows
macOS
Linux
| IMediaAudioSample | ||
| IMediaPoolable
|
Module |
|
Header |
/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreAudioSampleBase.h |
Include |
#include "MediaIOCoreAudioSampleBase.h" |
class FMediaIOCoreAudioSampleBase :
public IMediaAudioSample,
public IMediaPoolable
Implements a media audio sample.
Name | Description | ||
---|---|---|---|
|
Buffer |
The sample's frame buffer. |
|
|
Channels |
Number of audio channels. |
|
|
Duration |
The duration for which the sample is valid. |
|
|
SampleRate |
Audio sample rate (in samples per second). |
|
|
Time |
Sample time. |
|
|
Timecode |
Sample timecode. |
Name | Description | |
---|---|---|
|
FMediaIOCoreAudioSampleBase() |
Default constructor. |
Name | Description | ||
---|---|---|---|
|
FreeSample() |
||
|
Initialize |
Initialize the sample. |
|
|
Initialize |
Initialize the sample. |
|
|
void * |
RequestBuffer ( |
Request an uninitialized sample buffer. |
|
SetBuffer |
Set the sample buffer. |
|
|
SetBuffer |
Set the sample buffer. |
|
|
SetProperties |
Set the sample properties. |
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. |
Name | Description | ||
---|---|---|---|
|
ShutdownPoolable() |
Called when the object added to the pool. |