![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Audio.h"#include "Algo/Find.h"#include "Audio/AudioDebug.h"#include "AudioDevice.h"#include "AudioPluginUtilities.h"#include "Components/SynthComponent.h"#include "Engine/Engine.h"#include "EngineAnalytics.h"#include "IAnalyticsProviderET.h"#include "Misc/Paths.h"#include "Sound/AudioOutputTarget.h"#include "Sound/SoundCue.h"#include "Sound/SoundNodeWavePlayer.h"#include "UObject/UObjectIterator.h"#include "XmlFile.h"#include "XmlNode.h"#include "Algo/ForEach.h"Classes | |
| struct | FRiffWaveHeaderChunk |
| struct | FRiffChunkOld |
| struct | FRiffFormatChunk |
| struct | FRiffCueChunk |
| struct | FRiffCuePointChunk |
| struct | FRiffSampleChunk |
| struct | FRiffSampleLoopChunk |
| struct | FRiffListChunk |
| struct | FRiffLabelChunk |
| struct | FRiffNoteChunk |
| struct | FRiffLabeledTextChunk |
| struct | FRiffBroadcastAudioExtension |
| struct | FRiffIXmlChunk |
| struct | FSubformatGUID |
| struct | FExtendedFormatChunk |
Namespaces | |
| namespace | AudioModulationPrivate |
Macros | |
| #define | WITH_SNDFILE_IO (0) |
| #define | UE_MAKEFOURCC(ch0, ch1, ch2, ch3) |
| #define | UE_mmioFOURCC(ch0, ch1, ch2, ch3) UE_MAKEFOURCC(ch0, ch1, ch2, ch3) |
Variables | |
| FAutoConsoleVariableRef | CVarDisableStereoSpread (TEXT("au.DisableStereoSpread"), DisableStereoSpreadCvar, TEXT("0: Not Disabled, 1: Disabled"), ECVF_Default) |
| FAutoConsoleVariableRef | CVarAllowAudioSpatializationCVar (TEXT("au.AllowAudioSpatialization"), AllowAudioSpatializationCVar, TEXT("0: Disable, >0: Enable"), ECVF_Default) |
| FAutoConsoleVariableRef | CVarOcclusionFilterScaleEnabled (TEXT("au.EnableOcclusionFilterScale"), OcclusionFilterScaleEnabledCVar, TEXT("0: Not Enabled, 1: Enabled"), ECVF_Default) |
| FAutoConsoleVariableRef | CVarBypassPlayWhenSilent (TEXT("au.BypassPlayWhenSilent"), BypassPlayWhenSilentCVar, TEXT("0: Honor the Play When Silent flag, 1: stop all silent non-procedural sources."), ECVF_Default) |
| FAutoConsoleVariableRef | CVarMinVolumeThreshold (TEXT("au.WaveInstanceMinVolume"), WaveInstanceMinVolumeThresholdCVar, TEXT("Default is 0.0001 (-80 dB)"), ECVF_Default) |
| #define WITH_SNDFILE_IO (0) |
| DEFINE_LOG_CATEGORY | ( | LogAudio | ) |
| DEFINE_LOG_CATEGORY | ( | LogAudioDebug | ) |
| DEFINE_STAT | ( | STAT_ActiveSounds | ) |
| DEFINE_STAT | ( | STAT_AudibleWavesDroppedDueToPriority | ) |
| DEFINE_STAT | ( | STAT_AudioBufferTime | ) |
| DEFINE_STAT | ( | STAT_AudioBufferTimeChannels | ) |
| DEFINE_STAT | ( | STAT_AudioDecompressTime | ) |
| DEFINE_STAT | ( | STAT_AudioEvaluateConcurrency | ) |
| DEFINE_STAT | ( | STAT_AudioFindNearestLocation | ) |
| DEFINE_STAT | ( | STAT_AudioFinishedDelegates | ) |
| DEFINE_STAT | ( | STAT_AudioFinishedDelegatesCalled | ) |
| DEFINE_STAT | ( | STAT_AudioGatherWaveInstances | ) |
| DEFINE_STAT | ( | STAT_AudioMaxChannels | ) |
| DEFINE_STAT | ( | STAT_AudioMaxStoppingSources | ) |
| DEFINE_STAT | ( | STAT_AudioMemorySize | ) |
Audio stats
| DEFINE_STAT | ( | STAT_AudioPrepareDecompressionTime | ) |
| DEFINE_STAT | ( | STAT_AudioResourceCreationTime | ) |
| DEFINE_STAT | ( | STAT_AudioSourceCreateTime | ) |
| DEFINE_STAT | ( | STAT_AudioSourceInitTime | ) |
| DEFINE_STAT | ( | STAT_AudioSources | ) |
| DEFINE_STAT | ( | STAT_AudioStartSources | ) |
| DEFINE_STAT | ( | STAT_AudioStreamedDecompressTime | ) |
| DEFINE_STAT | ( | STAT_AudioSubmitBuffersTime | ) |
| DEFINE_STAT | ( | STAT_AudioUpdateEffects | ) |
| DEFINE_STAT | ( | STAT_AudioUpdateSources | ) |
| DEFINE_STAT | ( | STAT_AudioVirtualLoops | ) |
| DEFINE_STAT | ( | STAT_WaveInstances | ) |
| DEFINE_STAT | ( | STAT_WavesDroppedDueToPriority | ) |
| FRiffChunkOld * FindRiffChunk | ( | FRiffChunkOld * | RiffChunkStart, |
| const uint8 * | RiffChunkEnd, | ||
| uint32 | ChunkId | ||
| ) |
| UClass * GetAudioPluginCustomSettingsClass | ( | EAudioPlugin | PluginType | ) |
| bool IsAudioPluginEnabled | ( | EAudioPlugin | PluginType | ) |
Queries if a plugin of the given type is enabled.
| bool IsSpatializationCVarEnabled | ( | ) |
accessor for our Spatialization enabled CVar.
| FArchive & operator<< | ( | FArchive & | Ar, |
| FNotifyBufferFinishedHooks & | NotifyHook | ||
| ) |
| FArchive & operator<< | ( | FArchive & | Ar, |
| FWaveInstance * | WaveInstance | ||
| ) |
Friend archive function used for serialization.
| void SerializeWaveFile | ( | TArray< uint8 > & | OutWaveFileData, |
| const uint8 * | InPCMData, | ||
| const int32 | NumBytes, | ||
| const int32 | NumChannels, | ||
| const int32 | SampleRate | ||
| ) |
Utility to serialize raw PCM data into a wave file.
| FAutoConsoleVariableRef CVarAllowAudioSpatializationCVar(TEXT("au.AllowAudioSpatialization"), AllowAudioSpatializationCVar, TEXT("0: Disable, >0: Enable"), ECVF_Default) | ( | TEXT("au.AllowAudioSpatialization") | , |
| AllowAudioSpatializationCVar | , | ||
| TEXT("0: Disable, >0: Enable") | , | ||
| ECVF_Default | |||
| ) |
| FAutoConsoleVariableRef CVarBypassPlayWhenSilent(TEXT("au.BypassPlayWhenSilent"), BypassPlayWhenSilentCVar, TEXT("0: Honor the Play When Silent flag, 1: stop all silent non-procedural sources."), ECVF_Default) | ( | TEXT("au.BypassPlayWhenSilent") | , |
| BypassPlayWhenSilentCVar | , | ||
| TEXT("0: Honor the Play When Silent flag, 1: stop all silent non-procedural sources.") | , | ||
| ECVF_Default | |||
| ) |
| FAutoConsoleVariableRef CVarDisableStereoSpread(TEXT("au.DisableStereoSpread"), DisableStereoSpreadCvar, TEXT("0: Not Disabled, 1: Disabled"), ECVF_Default) | ( | TEXT("au.DisableStereoSpread") | , |
| DisableStereoSpreadCvar | , | ||
| TEXT("0: Not Disabled, 1: Disabled") | , | ||
| ECVF_Default | |||
| ) |
| FAutoConsoleVariableRef CVarMinVolumeThreshold(TEXT("au.WaveInstanceMinVolume"), WaveInstanceMinVolumeThresholdCVar, TEXT("Default is 0.0001 (-80 dB)"), ECVF_Default) | ( | TEXT("au.WaveInstanceMinVolume") | , |
| WaveInstanceMinVolumeThresholdCVar | , | ||
| TEXT("Default is 0.0001 (-80 dB)") | , | ||
| ECVF_Default | |||
| ) |
| FAutoConsoleVariableRef CVarOcclusionFilterScaleEnabled(TEXT("au.EnableOcclusionFilterScale"), OcclusionFilterScaleEnabledCVar, TEXT("0: Not Enabled, 1: Enabled"), ECVF_Default) | ( | TEXT("au.EnableOcclusionFilterScale") | , |
| OcclusionFilterScaleEnabledCVar | , | ||
| TEXT("0: Not Enabled, 1: Enabled") | , | ||
| ECVF_Default | |||
| ) |