|
libosmscout 0.1
|
Holder for voice metadata. More...
#include <Voice.h>
Public Member Functions | |
| bool | deleteVoice () |
| QStringList | files () const |
| List of files owned by this voice (depends on its type), relative to its directory. | |
| QString | getAuthor () const |
| QString | getDescription () const |
| QDir | getDir () const |
| QString | getGender () const |
| QString | getLang () const |
| QString | getLangCode () const |
| QString | getLicense () const |
| QString | getModelFile () const |
| Local file name of the Piper onnx model (empty for other types). | |
| QString | getName () const |
| QString | getType () const |
| bool | isPiper () const |
| bool | isValid () const |
| Voice & | operator= (const Voice &other)=default |
| Voice & | operator= (Voice &&other)=default |
| Voice ()=default | |
| Voice (const Voice &other)=default | |
| Voice (QDir dir) | |
| Voice (Voice &&other)=default | |
| ~Voice ()=default | |
Static Public Member Functions | |
| static QStringList | marbleFiles () |
| Mandatory files of a "Voice of Marble" ogg sample pack. | |
Holder for voice metadata.
|
default |
|
explicit |
References osmscout::Log::Debug(), files(), isPiper(), osmscout::log, osmscout::VoiceTypeVoiceOfMarble, and osmscout::Log::Warn().
|
default |
|
default |
|
default |
| bool osmscout::Voice::deleteVoice | ( | ) |
References files().
Referenced by osmscout::VoiceDownloadJob::~VoiceDownloadJob().
| QStringList osmscout::Voice::files | ( | ) | const |
List of files owned by this voice (depends on its type), relative to its directory.
Used for validation and removal.
References isPiper(), and marbleFiles().
Referenced by deleteVoice(), and Voice().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osmscout::NavigationModule::onVoiceChanged().
|
inline |
|
inline |
Local file name of the Piper onnx model (empty for other types).
Referenced by osmscout::PiperTTSEngine::initVoice().
|
inline |
Referenced by osmscout::PiperTTSEngine::initVoice(), and osmscout::VoiceManager::reload().
|
inline |
|
inline |
References osmscout::VoiceTypePiper.
Referenced by files(), osmscout::PiperTTSEngine::initVoice(), and Voice().
|
inline |
|
static |
Mandatory files of a "Voice of Marble" ogg sample pack.
Referenced by files(), and osmscout::VoiceDownloadJob::start().