1
0
Fork 0

Voice synth: reduce some log output levels

This commit is contained in:
James Turner 2020-03-16 11:07:11 +00:00
parent 904e55d657
commit a3d75e8573
2 changed files with 2 additions and 3 deletions

View file

@ -53,7 +53,7 @@ void FLITEVoiceSynthesizer::WorkerThread::run()
// marker value indicating termination requested
if ((request.speed < 0.0) && (request.volume < 0.0)) {
SG_LOG(SG_SOUND, SG_INFO, "FLITE synthesis thread exiting");
SG_LOG(SG_SOUND, SG_DEBUG, "FLITE synthesis thread exiting");
return;
}
@ -106,7 +106,6 @@ FLITEVoiceSynthesizer::~FLITEVoiceSynthesizer()
// push the special marker value
_requests.push(SynthesizeRequest::cancelThreadRequest());
_worker->join();
SG_LOG(SG_SOUND, SG_INFO, "FLITE synthesis thread joined OK");
Flite_HTS_Engine_clear(_engine);
}

View file

@ -49,7 +49,7 @@ FGFLITEVoice::FGFLITEVoice(FGVoiceMgr * mgr, const SGPropertyNode_ptr node, cons
node->getNode("text", true)->addChangeListener(this);
SG_LOG(SG_SOUND, SG_INFO, "FLITEVoice initialized for sample-group '" << sampleGroupRefName
SG_LOG(SG_SOUND, SG_DEBUG, "FLITEVoice initialized for sample-group '" << sampleGroupRefName
<< "'. Samples will be named '" << _sampleName << "' "
<< "voice is '" << voice << "'");
}