FAudioThread::RunCommandOnAudioThread

Execute a command on the audio thread.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioThread.h

Include

#include "AudioThread.h"

Source

/Engine/Source/Runtime/Engine/Private/AudioThread.cpp

Syntax

static void RunCommandOnAudioThread
(
    TFunction< void()> InFunction,
    const TStatId InStatId
)

Remarks

Execute a command on the audio thread. If GIsAudioThreadRunning is false the command will execute immediately

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss