aboutsummaryrefslogtreecommitdiff
path: root/common/text-to-speech.h
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-23 17:54:31 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit58065ceacda18dbae0e72d19ece6438ab06a332b (patch)
tree5a2ff7a8e710e29f7e1d69b49808a26dc659c57e /common/text-to-speech.h
parent4ec10ffec786be030a358e1b5499a6b856092e81 (diff)
downloadscummvm-rg350-58065ceacda18dbae0e72d19ece6438ab06a332b.tar.gz
scummvm-rg350-58065ceacda18dbae0e72d19ece6438ab06a332b.tar.bz2
scummvm-rg350-58065ceacda18dbae0e72d19ece6438ab06a332b.zip
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
Diffstat (limited to 'common/text-to-speech.h')
-rw-r--r--common/text-to-speech.h2
1 files changed, 1 insertions, 1 deletions
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