Browse Source

Compensate silence duration when sonic enabled

master
Yury Popov 2 years ago
parent
commit
9f0b23f49e
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/libespeak-ng/wavegen.c

+ 4
- 0
src/libespeak-ng/wavegen.c View File

if (length == 0) if (length == 0)
return 0; return 0;


#if HAVE_SONIC_H
length = (int)(length * sonicSpeed);
#endif

if (resume == false) if (resume == false)
n_samples = length; n_samples = length;



Loading…
Cancel
Save