UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AudioCommandPrivate Namespace Reference

Classes

struct  FAudioCommand
 
class  FGameThreadAudioCommandQueue
 

Functions

void BatchGameThreadAudioCommandsChangedCallback (IConsoleVariable *ConsoleVariable)
 
FAutoConsoleVariableRef CVarBatchGameThreadAudioCommands (TEXT("AudioThread.BatchCommands"), bBatchGameThreadAudioCommands, TEXT("Batch audio commands that are created from the audio thread and executed on the game thread so that they are executed in a single task."), FConsoleVariableDelegate::CreateStatic(&BatchGameThreadAudioCommandsChangedCallback), ECVF_Default)
 

Variables

bool bBatchGameThreadAudioCommands = true
 
const FLazyName DiagnosticName ("FGameThreadAudioCommandQueue")
 
FGameThreadAudioCommandQueue CommandQueue
 

Function Documentation

◆ BatchGameThreadAudioCommandsChangedCallback()

void AudioCommandPrivate::BatchGameThreadAudioCommandsChangedCallback ( IConsoleVariable ConsoleVariable)

◆ CVarBatchGameThreadAudioCommands()

FAutoConsoleVariableRef AudioCommandPrivate::CVarBatchGameThreadAudioCommands ( TEXT("AudioThread.BatchCommands")  ,
bBatchGameThreadAudioCommands  ,
TEXT("Batch audio commands that are created from the audio thread and executed on the game thread so that they are executed in a single task.")  ,
FConsoleVariableDelegate::CreateStatic &  BatchGameThreadAudioCommandsChangedCallback,
ECVF_Default   
)

Variable Documentation

◆ bBatchGameThreadAudioCommands

bool AudioCommandPrivate::bBatchGameThreadAudioCommands = true

◆ CommandQueue

FGameThreadAudioCommandQueue AudioCommandPrivate::CommandQueue

◆ DiagnosticName

const FLazyName AudioCommandPrivate::DiagnosticName("FGameThreadAudioCommandQueue") ( "FGameThreadAudioCommandQueue"  )