KTextAddons

whisperspeechtotextplugin.cpp
1/*
2 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "whisperspeechtotextplugin.h"
8#include <QDebug>
9
10WhisperSpeechToTextPlugin::WhisperSpeechToTextPlugin(QObject *parent)
11 : TextSpeechToText::SpeechToTextPlugin{parent}
12{
13}
14
15WhisperSpeechToTextPlugin::~WhisperSpeechToTextPlugin() = default;
16
17void WhisperSpeechToTextPlugin::speechToText()
18{
19 qWarning() << "Not implemented yet";
20 // TODO
21}
22
23int WhisperSpeechToTextPlugin::sampleRate() const
24{
25 return 16000;
26}
27
28QIODevice *WhisperSpeechToTextPlugin::audioDevice() const
29{
30 qWarning() << "Not implemented yet";
31 return nullptr;
32}
33
34bool WhisperSpeechToTextPlugin::loadSettings()
35{
36 qWarning() << "Not implemented yet";
37 return false;
38 // TODO
39}
40
41void WhisperSpeechToTextPlugin::clear()
42{
43 qWarning() << "Not implemented yet";
44 // TODO
45}
46
47#include "moc_whisperspeechtotextplugin.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.