Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
References
| Module | MetasoundGraphCore |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundAudioBuffer.h |
| Include | #include "MetasoundAudioBuffer.h" |
Syntax
class FAudioBuffer
Remarks
FAudioBuffer is the default buffer for passing audio data between nodes. It should not be resized. It is compatible with functions accepting const references to FAlignedFloatBuffer (const FAlignedFloatBuffer&) arguments via an implicit conversion operator which exposes the underlying FAlignedFloatBuffer container.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAudioBuffer () |
|||
FAudioBuffer
(
int32 InNumSamples |
Create an FAudioBuffer with a specific number of samples. | ||
FAudioBuffer
(
const FOperatorSettings& InSettings |
This is the constructor used by the frontend. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const float * | GetData () |
Return a pointer to the audio float data. | |
| float * | GetData () |
Return a pointer to the audio float data. | |
| int32 | Num () |
Return the number of samples in the audio buffer. | |
| void | Zero () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| Implicit conversion to Audio::FAlignedFloatBuffer | |||
| Implicit conversion to Audio::FAlignedFloatBuffer | |||
| Implicit conversion to Audio::FAlignedFloatBuffer | |||
| Implicit conversion to Audio::FAlignedFloatBuffer |