Navigation
API > API/Plugins > API/Plugins/ElectraSamples
| Name | FElectraAudioSample |
| Type | class |
| Header File | /Engine/Plugins/Media/ElectraUtil/Source/ElectraSamples/Public/IElectraAudioSample.h |
| Include Path | #include "IElectraAudioSample.h" |
Syntax
class FElectraAudioSample :
public IMediaAudioSample,
public IMediaPoolable
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FElectraAudioSample() |
IElectraAudioSample.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FReleaseDelegate | TBaseDelegate_OneParam< void, FElectraAudioSample * > | IElectraAudioSample.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AllocateFor
(
EMediaAudioSampleFormat InFormat, |
Prepare the buffer to receive as many samples as specified for the given format, after which the data can be copied into the buffer. | IElectraAudioSample.h | |
uint32 GetAllocatedSize() |
IElectraAudioSample.h | ||
const void * GetBuffer() |
From IMediaAudioSample. | IElectraAudioSample.h | |
uint32 GetChannels() |
IElectraAudioSample.h | ||
FTimespan GetDuration() |
IElectraAudioSample.h | ||
EMediaAudioSampleFormat GetFormat() |
IElectraAudioSample.h | ||
uint32 GetFrames() |
IElectraAudioSample.h | ||
FReleaseDelegate & GetReleaseDelegate() |
IElectraAudioSample.h | ||
uint32 GetSampleRate() |
IElectraAudioSample.h | ||
FMediaTimeStamp GetTime() |
IElectraAudioSample.h | ||
void * GetWritableBuffer() |
IElectraAudioSample.h | ||
void SetNumFrames
(
uint32 InNumFrames |
IElectraAudioSample.h | ||
void SetParameters
(
uint32 InSampleRate, |
Sets sample information of the data in the buffer. | IElectraAudioSample.h | |
void ShutdownPoolable() |
From IMediaPoolable. | IElectraAudioSample.h |