FApp::CanEverRenderAudio

Checks whether this application can render audio.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/App.h

Include

#include "Misc/App.h"

Syntax

static bool CanEverRenderAudio()

Remarks

Checks whether this application can render audio. Certain application types produce sound, while for others this can be controlled via the -nosound cmdline. This can be used for decisions like omitting code paths that make no sense on servers or games running in headless mode (e.g. automated tests).

Returns

true if the application can render audio, false otherwise.

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