UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AudioDecompress.h File Reference
#include "CoreMinimal.h"
#include "Stats/Stats.h"
#include "Async/AsyncWork.h"
#include "Sound/SoundWave.h"
#include "Misc/ScopeLock.h"
#include "HAL/LowLevelMemTracker.h"
#include "ContentStreaming.h"

Go to the source code of this file.

Classes

class  ICompressedAudioInfo
 
struct  FDecodeResult
 
class  IStreamedCompressedInfo
 
struct  IAudioInfoFactory
 
struct  IAudioInfoFactory::FCapabilities
 
struct  IAudioInfoFactoryRegistry
 
class  FSimpleAudioInfoFactory
 
class  FAsyncAudioDecompressWorker
 
class  FAsyncRealtimeAudioTaskWorker< T >
 
class  FAsyncRealtimeAudioTaskProxy< T >
 

Typedefs

typedef FAsyncTask< FAsyncAudioDecompressWorkerFAsyncAudioDecompress
 

Enumerations

enum class  ERealtimeAudioTaskType : uint8 { CompressedInfo , Decompress , Procedural }
 

Functions

ENGINE_API bool ShouldUseBackgroundPoolFor_FAsyncRealtimeAudioTask ()
 

Variables

constexpr int32 MONO_PCM_BUFFER_SAMPLES = 4800
 
constexpr uint32 MONO_PCM_SAMPLE_SIZE = sizeof(int16)
 
constexpr uint32 MONO_PCM_BUFFER_SIZE = MONO_PCM_BUFFER_SAMPLES * MONO_PCM_SAMPLE_SIZE
 

Typedef Documentation

◆ FAsyncAudioDecompress

Enumeration Type Documentation

◆ ERealtimeAudioTaskType

Enumerator
CompressedInfo 

Parses the wave compressed asset header file info

Decompress 

Decompresses a chunk

Procedural 

Processes a procedural buffer to generate more audio

Function Documentation

◆ ShouldUseBackgroundPoolFor_FAsyncRealtimeAudioTask()

ENGINE_API bool ShouldUseBackgroundPoolFor_FAsyncRealtimeAudioTask ( )

Variable Documentation

◆ MONO_PCM_BUFFER_SAMPLES

constexpr int32 MONO_PCM_BUFFER_SAMPLES = 4800
constexpr

◆ MONO_PCM_BUFFER_SIZE

constexpr uint32 MONO_PCM_BUFFER_SIZE = MONO_PCM_BUFFER_SAMPLES * MONO_PCM_SAMPLE_SIZE
constexpr

◆ MONO_PCM_SAMPLE_SIZE

constexpr uint32 MONO_PCM_SAMPLE_SIZE = sizeof(int16)
constexpr