Class TranscriptWorker#
Defined in File transcript_worker.hpp
Inheritance Relationships#
Base Type#
public QObject
Class Documentation#
-
class TranscriptWorker : public QObject
Public Functions
-
explicit TranscriptWorker(QObject *parent = nullptr)
-
~TranscriptWorker() override
-
bool start(const QString &interpreter, const QString &scriptPath, const QStringList &extraArgs = {})
-
void stop()
-
bool is_running() const
-
void set_paused(bool paused)
-
bool is_paused() const
Public Slots
-
void submit_chunk(int micIndex, int sampleRate, int channels, QByteArray pcm16)
Signals
-
void transcript_final(int micIndex, QString text)
-
void transcript_partial(int micIndex, QString text)
-
void process_error(QString message)
-
void paused_changed(bool paused)
-
explicit TranscriptWorker(QObject *parent = nullptr)