Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/UMetaSoundSource
Description
Determines the "Auto" Channel Agnostic Format for this Source. Consults the document layer and makes a best guess at the appropriate format from wave proxy channel counts. Can be called before graph evaluation.
| Name | CalculateAutoSourceFormat |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundSource.h |
| Include Path | #include "MetasoundSource.h" |
| Source | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Private/MetasoundSource.cpp |
TSharedPtr < const Audio::FChannelTypeFamily > CalculateAutoSourceFormat
(
const TArray < FAudioParameter > & InParams
) const
Shared pointer to the resolved channel type family, or nullptr if no format could be determined.
Parameters
| Name | Remarks |
|---|---|
| InParams | Audio parameters to inspect for wave proxies. Pass empty array to use defaults. |