QVoice

QVoice 

#include <QVoice>

 

Public Types

enum Age { Child, Teenager, Adult, Senior, Other }
enum Gender { Male, Female, Unknown }

Public Functions

  QVoice()
  QVoice(const QVoice &other)
  ~QVoice()
QVoice::Age age() const
QVoice::Gender gender() const
QString name() const
bool operator!=(const QVoice &other)
void operator=(const QVoice &other)
bool operator==(const QVoice &other)

Static Public Members

QString ageName(QVoice::Age age)
QString genderName(QVoice::Gender gender)

 

 

 

详细说明

QVoice类允许设置和检索特定语音的值。

 

 

ConstantValueDescription
QVoice::Child 0 Voice of a child
QVoice::Teenager 1 Voice of a teenager
QVoice::Adult 2 Voice of an adult
QVoice::Senior 3 Voice of a senior
QVoice::Other 4 Voice of unknown age

 

 

 

ConstantValueDescription
QVoice::Male 0 Voice of a male
QVoice::Female 1 Voice of a female
QVoice::Unknown 2 Voice of unknown gender

 

 

 

########################

posted @ 2023-06-28 20:32  西北逍遥  阅读(40)  评论(0编辑  收藏  举报