Browse Source

Clean up the 'Compiling phoneme data' messages.

master
Reece H. Dunn 9 years ago
parent
commit
c9844f62ef
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/libespeak-ng/compiledata.c

+ 1
- 3
src/libespeak-ng/compiledata.c View File

@@ -2634,7 +2634,6 @@ static espeak_ng_STATUS CompilePhonemeData2(const char *source, FILE *log, espea
{
char fname[sizeof(path_home)+40];

fprintf(log, "Compiling phoneme data: %s\n", fname);
n_envelopes = 0;
error_count = 0;
resample_count = 0;
@@ -2645,6 +2644,7 @@ static espeak_ng_STATUS CompilePhonemeData2(const char *source, FILE *log, espea
strncpy0(current_fname, source, sizeof(current_fname));

sprintf(fname, "%s/../phsource/phonemes", path_home);
fprintf(log, "Compiling phoneme data: %s\n", fname);
f_in = fopen(fname, "rb");
if (f_in == NULL)
return create_file_error_context(context, errno, fname);
@@ -2712,8 +2712,6 @@ static espeak_ng_STATUS CompilePhonemeData2(const char *source, FILE *log, espea
sprintf(fname, "%s/../phsource/compile_prog_log", path_home);
f_prog_log = fopen(fname, "wb");

fprintf(log, "Compiling phoneme data: %s/../phsource\n", path_home);

// write a word so that further data doesn't start at displ=0
Write4Bytes(f_phdata, version_phdata);
Write4Bytes(f_phdata, samplerate_native);

Loading…
Cancel
Save