Browse Source

code cleanup: remove unused width2.

It is set but never used.
master
Juho Hiltunen 4 years ago
parent
commit
1243937334
2 changed files with 0 additions and 2 deletions
  1. 0
    1
      src/libespeak-ng/voice.h
  2. 0
    1
      src/libespeak-ng/voices.c

+ 0
- 1
src/libespeak-ng/voice.h View File

// copies without temporary adjustments from embedded commands // copies without temporary adjustments from embedded commands
short freq2[N_PEAKS]; // 100% = 256 short freq2[N_PEAKS]; // 100% = 256
short height2[N_PEAKS]; // 100% = 256 short height2[N_PEAKS]; // 100% = 256
short width2[N_PEAKS]; // 100% = 256


int breath[N_PEAKS]; // amount of breath for each formant. breath[0] indicates whether any are set. int breath[N_PEAKS]; // amount of breath for each formant. breath[0] indicates whether any are set.
int breathw[N_PEAKS]; // width of each breath formant int breathw[N_PEAKS]; // width of each breath formant

+ 0
- 1
src/libespeak-ng/voices.c View File

for (ix = 0; ix < N_PEAKS; ix++) { for (ix = 0; ix < N_PEAKS; ix++) {
voice->freq2[ix] = voice->freq[ix]; voice->freq2[ix] = voice->freq[ix];
voice->height2[ix] = voice->height[ix]; voice->height2[ix] = voice->height[ix];
voice->width2[ix] = voice->width[ix];
} }


if (tone_only) if (tone_only)

Loading…
Cancel
Save