32 explicit TranscriptionWorker(std::shared_ptr<const TranscriptionEngine> engine, QObject *parent =
nullptr);
38 explicit TranscriptionWorker(std::unique_ptr<TranscriptionSession> transcriber, QObject *parent =
nullptr);
88 static bool shouldDiscardSession(
const RuntimeError &error);
94 std::shared_ptr<const TranscriptionEngine> m_engine;
96 std::shared_ptr<const TranscriptionModelHandle> m_model;
104 std::unique_ptr<TranscriptionSession> m_transcriber;
Converts captured recordings into mono 16 kHz float samples.
Thread-hosted wrapper around the configured transcription backend.
BackendCapabilities capabilities() const
Returns the active runtime capability snapshot.
void transcriptionFailed(const RuntimeError &error)
Emitted when transcription fails.
void transcriptionReady(const QString &text)
Emitted when transcription succeeds.
RuntimeDiagnostics runtimeDiagnostics() const
Returns runtime diagnostics for the active backend instance.
TranscriptionWorker(std::unique_ptr< TranscriptionSession > transcriber, QObject *parent=nullptr)
Creates a worker around an already-constructed session.
void transcribeRecordingCompat(const Recording &recording)
Transcribes a captured recording and emits a result signal.
bool warmup(RuntimeError *error=nullptr)
Eagerly initializes backend state before the first real transcription.
QString backendName() const
Returns the active transcription backend name.
TranscriptionWorker(std::shared_ptr< const TranscriptionEngine > engine, QObject *parent=nullptr)
Creates a worker with a shared immutable engine.
Shared recorded-audio payload passed between capture and transcription.
Conversion from captured Qt audio to Whisper-ready normalized samples.
Product-owned backend/runtime metadata surfaced to app code.
Immutable-style value object holding one captured audio segment.
Structured runtime-layer failure with user-facing and diagnostic text.
Stable engine/session boundary for embedded transcription backends.