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
9WhisperSpeechToTextPlugin::WhisperSpeechToTextPlugin(QObject *parent)
10 : TextSpeechToText::SpeechToTextPlugin{parent}
11{
12}
13
14WhisperSpeechToTextPlugin::~WhisperSpeechToTextPlugin() = default;
15
16void WhisperSpeechToTextPlugin::speechToText()
17{
18 // TODO
19}
20
21int WhisperSpeechToTextPlugin::sampleRate() const
22{
23 return 16000;
24}
25
26QIODevice *WhisperSpeechToTextPlugin::audioDevice() const
27{
28 return nullptr;
29}
30
31bool WhisperSpeechToTextPlugin::loadSettings()
32{
33 return false;
34 // TODO
35}
36
37void WhisperSpeechToTextPlugin::clear()
38{
39 // TODO
40}
41
42#include "moc_whisperspeechtotextplugin.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:51:28 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.