mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.45.45]
Fixed bug where SSML voice change didn't remember an initially specified Klatt variant. Removed some unused variables and redundant initializations. Patch to fix a spike from Klatt function setzeroabc() git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@275 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -606,7 +606,7 @@ static void update_output_parameters(int selectedDevice, const PaDeviceInfo *dev
|
||||
if (deviceInfo)
|
||||
{
|
||||
double aLatency = deviceInfo->defaultLowOutputLatency;
|
||||
double aCoeff = round(0.100 / aLatency);
|
||||
// double aCoeff = round(0.100 / aLatency);
|
||||
// myOutputParameters.suggestedLatency = aCoeff * aLatency; // to avoid glitches ?
|
||||
myOutputParameters.suggestedLatency = aLatency; // for faster response ?
|
||||
SHOW("Device=%d, myOutputParameters.suggestedLatency=%f, aCoeff=%f\n",
|
||||
|
||||
Reference in New Issue
Block a user