@@ -28,7 +28,6 @@ If you are building on the command line, you will also need either: | |||
1. Set the location of the Android SDK: | |||
$ export ANDROID_HOME=<path-to-sdk> | |||
2. Build the project: | |||
$ ./autogen.sh |
@@ -250,7 +250,7 @@ endphoneme | |||
phoneme i // optional variant of [I] for end of words | |||
vowel starttype #i endtype #i | |||
ipa ɪ | |||
ipa i | |||
length 140 | |||
IfNextVowelAppend(;) | |||
FMT(vowel/ii_7) |
@@ -1,6 +1,7 @@ | |||
/*************************************************************************** | |||
* Copyright (C) 2005 to 2013 by Jonathan Duddington * | |||
* email: [email protected] * | |||
* Copyright (C) 2013 Reece H. Dunn * | |||
* * | |||
* This program is free software; you can redistribute it and/or modify * | |||
* it under the terms of the GNU General Public License as published by * | |||
@@ -773,6 +774,10 @@ const char *GetTranslatedPhonemeString(int phoneme_mode) | |||
strcpy(&phon_out_buf[phon_out_ix], phon_buf); | |||
phon_out_ix += len; | |||
} | |||
if (!phon_out_buf) | |||
return(""); | |||
phon_out_buf[phon_out_ix] = 0; | |||
return(phon_out_buf); |
@@ -31,7 +31,6 @@ | |||
#include <sys/time.h> | |||
#include <time.h> | |||
#include "portaudio.h" | |||
#ifndef PLATFORM_WINDOWS | |||
#include <unistd.h> | |||
#endif | |||
@@ -43,6 +42,7 @@ | |||
enum {ONE_BILLION=1000000000}; | |||
#ifdef USE_PORTAUDIO | |||
#include "portaudio.h" | |||
#undef USE_PORTAUDIO | |||
// determine portaudio version by looking for a #define which is not in V18 |