From 58065ceacda18dbae0e72d19ece6438ab06a332b Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Tue, 23 Jul 2019 17:54:31 +0200 Subject: TTS: Refactoring * Delete multiple empty rows * Make getVolume non-virtual and leave just the implementation in base class * Resolve warning about signed / unsigned comparison in gui-manager * Clear availableVoices when updating voices on linux * By default set language to transMan language on windows (if the transMan is available) * Remove freeVoices method from Windows ttsMan, it isn't needed anymore --- common/text-to-speech.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/text-to-speech.h b/common/text-to-speech.h index 9662783b46..678810a741 100644 --- a/common/text-to-speech.h +++ b/common/text-to-speech.h @@ -228,7 +228,7 @@ public: /** * Returns the current voice volume */ - virtual int getVolume() { return _ttsState->_volume; } + int getVolume() { return _ttsState->_volume; } /** * Sets the speech language -- cgit v1.2.3