[1.47.05]

Fix: [v] sound missing in French voice.
Fix: command-line  -w ''  caused crash.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@339 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2013-04-08 19:12:53 +00:00
parent 33577a399f
commit 43b2ae4987
24 changed files with 549 additions and 179 deletions
+12 -5
View File
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#ifndef PLATFORM_DOS
#ifdef PLATFORM_WINDOWS
@@ -243,16 +244,22 @@ static int OpenWaveFile(const char *path, int rate)
if(path == NULL)
return(2);
if(strcmp(path,"stdout")==0)
while(isspace(*path)) path++;
f_wave = NULL;
if(path[0] != 0)
{
if(strcmp(path,"stdout")==0)
{
#ifdef PLATFORM_WINDOWS
// prevent Windows adding 0x0d before 0x0a bytes
_setmode(_fileno(stdout), _O_BINARY);
_setmode(_fileno(stdout), _O_BINARY);
#endif
f_wave = stdout;
f_wave = stdout;
}
else
f_wave = fopen(path,"wb");
}
else
f_wave = fopen(path,"wb");
if(f_wave != NULL)
{