Navigation
API > API/Plugins > API/Plugins/MetasoundStandardNodes
Inheritance Hierarchy
- IAudioDataType
- FMultichannelAudioFormat
References
| Module | MetasoundStandardNodes |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundStandardNodes/Public/MetasoundAudioFormats.h |
| Include | #include "MetasoundAudioFormats.h" |
Syntax
class FMultichannelAudioFormat : public Metasound::IAudioDataType
Remarks
FMultichannelAudioFormat represents deinterleaved multichannel audio which supports a constant number of channels for the lifetime of the object.
The audio buffers in FMultichannelAudioFormat are shared data references which can be accessed outside of the FMultichannelAudioFormat. All audio buffers within a FMultichannelAudioFormat object must contain the same number of audio frames.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMultichannelAudioFormat
(
TArrayView< const FAudioBufferWriteRef > InWriteRefs |
FMultichannelAudioFormat Constructor. | ||
FMultichannelAudioFormat
(
const FMultichannelAudioFormat& InOther |
Enable the copy constructor. | ||
FMultichannelAudioFormat
(
int32 InNumFrames, |
FMultichannelAudioFormat Constructor. | ||
FMultichannelAudioFormat
(
const FOperatorSettings& InSettings, |
FMultichannelAudioFormat Constructor used by the metasound frontend. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TArrayView< const FAudioBufferReadRef > | GetBuffers () |
Return an array view of the readable buffer references. | |
| const TArrayView< const FAudioBufferWriteRef > | GetBuffers () |
Return an array view of the writable buffer references. | |
| int32 | Return the maximum number of channels. | ||
| int32 | Disable move operator so channel count does not change FMultichannelAudioFormat& operator=(FMultichannelAudioFormat&& Other) = delete; Return the number of audio channels. | ||
| const TArray< FAudioBufferReadRef > & | GetStorage () |
Return an array of the readable buffer reference storage. | |
| const TArray< FAudioBufferWriteRef > & | GetStorage () |
Return an array of the writable buffer reference storage. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FMultichannelAudioFormat & | operator=
(
const FMultichannelAudioFormat& Other |
Disable equal operator so channel count does not change. |