KTextAddons

googlespeechtotextplugin.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 "googlespeechtotextplugin.h"
8#include <QDebug>
9GoogleSpeechToTextPlugin::GoogleSpeechToTextPlugin(QObject *parent)
10 : TextSpeechToText::SpeechToTextPlugin{parent}
11{
12}
13
14GoogleSpeechToTextPlugin::~GoogleSpeechToTextPlugin() = default;
15
16void GoogleSpeechToTextPlugin::speechToText()
17{
18 qWarning() << "Not implemented yet";
19 // TODO
20}
21
22int GoogleSpeechToTextPlugin::sampleRate() const
23{
24 return 16000;
25}
26
27QIODevice *GoogleSpeechToTextPlugin::audioDevice() const
28{
29 qWarning() << "Not implemented yet";
30 return {};
31}
32
33bool GoogleSpeechToTextPlugin::loadSettings()
34{
35 qWarning() << "Not implemented yet";
36 // TODO
37 return false;
38}
39
40void GoogleSpeechToTextPlugin::clear()
41{
42 qWarning() << "Not implemented yet";
43 // TODO
44}
45
46#include "moc_googlespeechtotextplugin.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.