class

FAutoSubtitleSystem

FAutoSubtitleSystem — subtitles for speech nobody captioned (audio.AutoSubtitles): every proximity-voice speaker the player hears, and any audio a game pushes in, is cut into utterances and transcribed on the machine by FSpeechRecognizer on a worker thread; each line goes to the subtitle system under the speaker's name. A deaf or hard-of-hearing player reads what the rest of the crew says. Nothing leaves the machine and nothing is kept: audio lives only until its line is out.

Module
Accessibility
Header
#include "Accessibility/AutoSubtitleSystem.h"
Namespace
Mowo

Constructors

SignatureNameDescription
FAutoSubtitleSystem()FAutoSubtitleSystem
~FAutoSubtitleSystem() override~FAutoSubtitleSystem
FAutoSubtitleSystem(const FAutoSubtitleSystem&) = deleteFAutoSubtitleSystem

Public functions

ReturnsNameDescription
FAutoSubtitleSystem&operator=
const char*GetDebugName
voidUpdate
voidShutdown
boolIsEnabled
voidPushAudioAudio a game wants captioned (a clip with no authored subtitle).
voidFlushSource
voidSetSynchronousTranscribes on the calling thread instead of a worker (tools, tests).
voidSetModelPathOverrideThe model normally comes from the engine content mount; a tool or a test can point at a file.
boolIsRecognizerReady
uint32_tGetCaptionCount
const std::string&GetLastCaption
FAutoSubtitleSystem*Find

Function details

FAutoSubtitleSystem

C++
FAutoSubtitleSystem()

~FAutoSubtitleSystem

C++
~FAutoSubtitleSystem() override

FAutoSubtitleSystem

C++
FAutoSubtitleSystem(const FAutoSubtitleSystem&) = delete

operator=

C++
FAutoSubtitleSystem& operator=(const FAutoSubtitleSystem&) = delete

GetDebugName

C++
const char* GetDebugName() const override

Update

C++
void Update(float deltaTime) override

Shutdown

C++
void Shutdown() override

IsEnabled

C++
bool IsEnabled() const

PushAudio

C++
void PushAudio(uint32_t source, const std::string& speaker, const float* samples, size_t count, uint32_t sampleRate)

Audio a game wants captioned (a clip with no authored subtitle). Mono, any rate.

FlushSource

C++
void FlushSource(uint32_t source)

SetSynchronous

C++
void SetSynchronous(bool synchronous)

Transcribes on the calling thread instead of a worker (tools, tests).

SetModelPathOverride

C++
static void SetModelPathOverride(const std::string& path)

The model normally comes from the engine content mount; a tool or a test can point at a file.

IsRecognizerReady

C++
bool IsRecognizerReady() const

GetCaptionCount

C++
uint32_t GetCaptionCount() const

GetLastCaption

C++
const std::string& GetLastCaption() const

Find

C++
static FAutoSubtitleSystem* Find(World& world)
Generated from Accessibility/AutoSubtitleSystem.h via accessibility.json · Oct 26, 2026Version 1.0.0