From b96327acf7524a7a5127f66485b95f0f11fa1f53 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Tue, 28 Apr 2020 08:36:51 +0200 Subject: [PATCH] Remove an unused header file --- src/Sound/VoiceSynthesizer.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Sound/VoiceSynthesizer.cxx b/src/Sound/VoiceSynthesizer.cxx index 7ae061214..574079405 100644 --- a/src/Sound/VoiceSynthesizer.cxx +++ b/src/Sound/VoiceSynthesizer.cxx @@ -21,7 +21,6 @@ #include
#include #include -#include #include #include @@ -119,8 +118,8 @@ SGSoundSample * FLITEVoiceSynthesizer::synthesize(const std::string & text, doub HTS_Engine_add_half_tone(&_engine->engine, -4.0 + 8.0 * pitch ); - ALvoid* data; - ALsizei rate, count; + void* data; + int rate, count; if ( FALSE == Flite_HTS_Engine_synthesize_samples_mono16(_engine, text.c_str(), &data, &count, &rate)) return NULL; auto buf = std::unique_ptr{