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
| Signature | Name | Description |
|---|---|---|
FAutoSubtitleSystem() | FAutoSubtitleSystem | |
~FAutoSubtitleSystem() override | ~FAutoSubtitleSystem | |
FAutoSubtitleSystem(const FAutoSubtitleSystem&) = delete | FAutoSubtitleSystem |
Public functions
| Returns | Name | Description |
|---|---|---|
FAutoSubtitleSystem& | operator= | |
const char* | GetDebugName | |
void | Update | |
void | Shutdown | |
bool | IsEnabled | |
void | PushAudio | Audio a game wants captioned (a clip with no authored subtitle). |
void | FlushSource | |
void | SetSynchronous | Transcribes on the calling thread instead of a worker (tools, tests). |
void | SetModelPathOverride | The model normally comes from the engine content mount; a tool or a test can point at a file. |
bool | IsRecognizerReady | |
uint32_t | GetCaptionCount | |
const std::string& | GetLastCaption | |
FAutoSubtitleSystem* | Find |
Function details
FAutoSubtitleSystem
C++
FAutoSubtitleSystem()~FAutoSubtitleSystem
C++
~FAutoSubtitleSystem() overrideFAutoSubtitleSystem
C++
FAutoSubtitleSystem(const FAutoSubtitleSystem&) = deleteoperator=
C++
FAutoSubtitleSystem& operator=(const FAutoSubtitleSystem&) = deleteGetDebugName
C++
const char* GetDebugName() const overrideUpdate
C++
void Update(float deltaTime) overrideShutdown
C++
void Shutdown() overrideIsEnabled
C++
bool IsEnabled() constPushAudio
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() constGetCaptionCount
C++
uint32_t GetCaptionCount() constGetLastCaption
C++
const std::string& GetLastCaption() constFind
C++
static FAutoSubtitleSystem* Find(World& world)Generated from Accessibility/AutoSubtitleSystem.h via accessibility.json · Oct 26, 2026Version 1.0.0