Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/AudioThread.h |
Include | #include "AudioThread.h" |
Syntax
class FAudioThread
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FString | Retrieves the current audio thread stat id. | |
![]() ![]() |
void | GetLongestTaskInfo
(
FString& OutLongestTask, |
|
![]() ![]() |
bool | ||
![]() ![]() |
void | Processes all enqueued audio thread commands. | |
![]() ![]() |
void | ||
![]() ![]() |
void | ||
![]() ![]() |
void | RunCommandOnAudioThread
(
TUniqueFunction< void()> InFunction, |
Execute a command on the audio thread. If it's safe the command will execute immediately. |
![]() ![]() |
void | RunCommandOnGameThread
(
TUniqueFunction< void()> InFunction, |
Execute a (presumably audio) command on the game thread. |
![]() ![]() |
void | SetUseThreadedAudio
(
bool bInUseThreadedAudio |
|
![]() ![]() |
void | Starts the audio thread. | |
![]() ![]() |
void | Stops the audio thread. | |
![]() ![]() |
void |
Constants
Name | Description |
---|---|
bUseThreadedAudio | Whether to run with an audio thread |
CurrentAudioThreadStatId | Stat id of the currently executing audio thread command. |
CurrentAudioThreadStatIdCS | |
LongestAudioThreadStatId | |
LongestAudioThreadTimeMsec | |
PostGC | |
PostGCDestroy | |
PreGC | GC callback handles. |
PreGCDestroy | |
ResumeEvent | |
SuspendCount |