]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/VoiceSynthesizer.hxx
Interim windows build fix
[flightgear.git] / src / Sound / VoiceSynthesizer.hxx
index e6e36fab01f56c9a38e2b7b25e9224cda5c243a3..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  );
@@ -91,7 +102,6 @@ private:
   SynthesizeRequestList _requests;
 
   double _volume;
-  bool   _keepScratchFile;
 };
 
 #endif /* VOICESYNTHESIZER_HXX_ */