|
|
@@ -28,6 +28,7 @@ |
|
|
|
#include <stdlib.h> |
|
|
|
#include <string.h> |
|
|
|
#include <sys/stat.h> |
|
|
|
#include <fcntl.h> |
|
|
|
#include <time.h> |
|
|
|
|
|
|
|
#include <espeak-ng/espeak_ng.h> |
|
|
@@ -114,9 +115,6 @@ static const char *help_text = |
|
|
|
"\t List the available voices for the specified language.\n" |
|
|
|
"\t If <language> is omitted, then list all voices.\n" |
|
|
|
"--load Load voice from a file in current directory by name.\n" |
|
|
|
"--dump=<file>\n" |
|
|
|
"\t Dump the currently loaded voice definition into a file\n" |
|
|
|
"\t in the current directory\n" |
|
|
|
"-h, --help Show this help.\n"; |
|
|
|
|
|
|
|
int samplerate; |
|
|
@@ -326,7 +324,6 @@ int main(int argc, char **argv) |
|
|
|
{ "compile-intonations", no_argument, 0, 0x10f }, |
|
|
|
{ "compile-phonemes", optional_argument, 0, 0x110 }, |
|
|
|
{ "load", no_argument, 0, 0x111 }, |
|
|
|
{ "dump", required_argument, 0, 0x112 }, |
|
|
|
{ 0, 0, 0, 0 } |
|
|
|
}; |
|
|
|
|
|
|
@@ -358,7 +355,6 @@ int main(int argc, char **argv) |
|
|
|
int option_waveout = 0; |
|
|
|
|
|
|
|
espeak_VOICE voice_select; |
|
|
|
char dumpfile[200]; |
|
|
|
char filename[200]; |
|
|
|
char voicename[40]; |
|
|
|
char devicename[200]; |
|
|
@@ -573,9 +569,6 @@ int main(int argc, char **argv) |
|
|
|
case 0x111: // --load |
|
|
|
flag_load = 1; |
|
|
|
break; |
|
|
|
case 0x112: // --dump |
|
|
|
strncpy(dumpfile, optarg2, sizeof(dumpfile) - 1); |
|
|
|
break; |
|
|
|
default: |
|
|
|
exit(0); |
|
|
|
} |