aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/text-to-speech.cpp2
-rw-r--r--common/text-to-speech.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/common/text-to-speech.cpp b/common/text-to-speech.cpp
index f9dc4c69aa..cdfc8ab77f 100644
--- a/common/text-to-speech.cpp
+++ b/common/text-to-speech.cpp
@@ -36,7 +36,7 @@ TTSVoice::TTSVoice()
*_refCount = 1;
}
-TTSVoice::TTSVoice(Gender gender, Age age, void *data, String description)
+TTSVoice::TTSVoice(Gender gender, Age age, void *data, String description)
: _gender(gender)
, _age(age)
, _data(data)
diff --git a/common/text-to-speech.h b/common/text-to-speech.h
index 68676567a3..d4f6c68048 100644
--- a/common/text-to-speech.h
+++ b/common/text-to-speech.h
@@ -144,7 +144,7 @@ public:
DROP
};
/**
- * The constructor sets the language to the translation manager language if
+ * The constructor sets the language to the translation manager language if
* USE_TRANSLATION is defined, or english when it isn't defined. It sets the rate,
* pitch and volume to their middle values.
*/
@@ -209,7 +209,7 @@ public:
* Returns true, if the TTS engine is ready to speak (isn't speaking and isn't paused)
*/
virtual bool isReady() { return false; }
-
+
/**
* Sets a voice to be used by the TTS.
*
@@ -284,7 +284,7 @@ public:
* have the needed gender.
*
* @param gender Gender, which indices should be returned
- *
+ *
* @return Array of indices into _availableVoices
*/
Array<int> getVoiceIndicesByGender (TTSVoice::Gender gender);