mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-12 00:46:50 +00:00
[1.37]
Option --stdout, include a fake length for the RIFF length as well as the data length. Fix option -k2 with <say-as>. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@175 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-2
@@ -197,9 +197,9 @@ int OpenWavFile(char *path, int rate)
|
||||
//===================================
|
||||
{
|
||||
static unsigned char wave_hdr[44] = {
|
||||
'R','I','F','F',0,0,0,0,'W','A','V','E','f','m','t',' ',
|
||||
'R','I','F','F',0x24,0xf0,0xff,0x7f,'W','A','V','E','f','m','t',' ',
|
||||
0x10,0,0,0,1,0,1,0, 9,0x3d,0,0,0x12,0x7a,0,0,
|
||||
2,0,0x10,0,'d','a','t','a', 0xff,0xff,0xff,0x7f};
|
||||
2,0,0x10,0,'d','a','t','a', 0x00,0xf0,0xff,0x7f};
|
||||
|
||||
if(path == NULL)
|
||||
return(2);
|
||||
|
||||
Reference in New Issue
Block a user