Browse Source

Merge branch 'master' into build

Conflicts:
	src/synthdata.cpp
	src/voices.cpp
master
Reece Dunn 14 years ago
parent
commit
397583db3b
3 changed files with 11 additions and 3 deletions
  1. 1
    1
      src/Makefile.espeakedit
  2. 9
    2
      src/synthdata.cpp
  3. 1
    0
      src/voices.cpp

+ 1
- 1
src/Makefile.espeakedit View File

-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -D_ESPEAKEDIT -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -D_ESPEAKEDIT


CXXFLAGS = -O2 -g0 -Wall -g -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 \
CXXFLAGS = -O2 -Wall -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 \
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -D_ESPEAKEDIT -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -D_ESPEAKEDIT


all: espeakedit all: espeakedit

+ 9
- 2
src/synthdata.cpp View File

#include "translate.h" #include "translate.h"
#include "wave.h" #include "wave.h"


const char *version_string = "1.45.44 16.Sep.11";
const char *version_string = "1.45.43 16.Sep.11";
const int version_phdata = 0x014500; const int version_phdata = 0x014500;


int option_device_number = -1; int option_device_number = -1;
if(plist[0].sourceix) if(plist[0].sourceix)
return(false); return(false);
} }
// if(which==7)
// {
// // nextPh2 not word boundary
// if((plist[1].sourceix) || (plist[2].sourceix))
// return(false);
// }

if(which==6) if(which==6)
{ {
// nextVowel, not word boundary // nextVowel, not word boundary
} }
ph = plist->ph; ph = plist->ph;


if(instn2 < 7)
if(instn2 < 8)
{ {
// 'data' is a phoneme number // 'data' is a phoneme number
if((phoneme_tab[data]->mnemonic == ph->mnemonic) == true) if((phoneme_tab[data]->mnemonic == ph->mnemonic) == true)

+ 1
- 0
src/voices.cpp View File

return(EE_OK); return(EE_OK);
} // end of SetVoiceByProperties } // end of SetVoiceByProperties



void FreeVoiceList() void FreeVoiceList()
{//================= {//=================
for(int ix=0; ix<n_voices_list; ix++) for(int ix=0; ix<n_voices_list; ix++)

Loading…
Cancel
Save