Browse Source

Merge branch 'master' into android

Conflicts:
	README.md
master
Reece H. Dunn 12 years ago
parent
commit
26d1141ad2
4 changed files with 7 additions and 3 deletions
  1. 0
    1
      README.md
  2. 1
    1
      phsource/ph_english
  3. 5
    0
      src/dictionary.cpp
  4. 1
    1
      src/wave.cpp

+ 0
- 1
README.md View File

@@ -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

+ 1
- 1
phsource/ph_english View File

@@ -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)

+ 5
- 0
src/dictionary.cpp View File

@@ -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);

+ 1
- 1
src/wave.cpp View File

@@ -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

Loading…
Cancel
Save