mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
TTS: Add method to get the default voice
This returns by default the first voice, but can be reimplemented in derived classes to return the system default voice.
This commit is contained in:
parent
c777d66f92
commit
3591003ea3
@ -293,6 +293,11 @@ public:
|
||||
*/
|
||||
Array<int> getVoiceIndicesByGender (TTSVoice::Gender gender);
|
||||
|
||||
/**
|
||||
* returns the index for the default voice.
|
||||
*/
|
||||
virtual int getDefaultVoice() { return 0; }
|
||||
|
||||
/**
|
||||
* Pushes the current state of the TTS
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user