]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/VoiceSynthesizer.hxx
Interim windows build fix
[flightgear.git] / src / Sound / VoiceSynthesizer.hxx
index 1b8648a21113748896b9925ad76e5d1276146ad3..17fb4bc1ffabaa8564ba03791824b4e825c01198 100644 (file)
@@ -76,6 +76,17 @@ struct SynthesizeRequest {
  */
 class FLITEVoiceSynthesizer : public VoiceSynthesizer {
 public:
+
+  typedef enum {
+    CMU_US_ARCTIC_SLT = 0,
+    CSTR_UK_FEMALE,
+
+    VOICE_UNKNOWN // keep this at the end
+  } voice_t;
+
+  static std::string getVoicePath( voice_t voice );
+  static std::string getVoicePath( const std::string & voice );
+
   FLITEVoiceSynthesizer( const std::string & voice );
   ~FLITEVoiceSynthesizer();
   virtual SGSoundSample * synthesize( const std::string & text, double volume, double speed, double pitch  );