Browse Source

Merge branch 'master' into android

master
Reece H. Dunn 12 years ago
parent
commit
5ebbace3a5
2 changed files with 12 additions and 3 deletions
  1. 10
    2
      configure.ac
  2. 2
    1
      src/speak_lib.cpp

+ 10
- 2
configure.ac View File

else else
AC_CHECK_HEADERS([portaudio.h], AC_CHECK_HEADERS([portaudio.h],
[ [
AC_CHECK_LIB([portaudio], [Pa_IsStreamActive],
# Check the portaudio library.
AC_CHECK_LIB([portaudio], [Pa_IsStreamActive]) # portaudio 19
AC_CHECK_LIB([portaudio], [Pa_StreamActive]) # portaudio 18

# Then use the headers to determine the portaudio version.
# This is because on some systems with both libportaudio0 and
# libportaudio2 installed, portaudio.h and -lportaudio refer
# to different versions.
AC_CHECK_FUNC([Pa_IsStreamActive],
[ [
have_portaudio=19 have_portaudio=19
],[ ],[
AC_CHECK_LIB([portaudio], [Pa_StreamActive],
AC_CHECK_FUNC([Pa_StreamActive],
[ [
have_portaudio=18 have_portaudio=18
],[ ],[

+ 2
- 1
src/speak_lib.cpp View File

/*************************************************************************** /***************************************************************************
* Copyright (C) 2005 to 2013 by Jonathan Duddington * * Copyright (C) 2005 to 2013 by Jonathan Duddington *
* email: [email protected] * * email: [email protected] *
* Copyright (C) 2013 Reece H. Dunn *
* * * *
* This program is free software; you can redistribute it and/or modify * * 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 * * it under the terms of the GNU General Public License as published by *
my_unique_identifier = 0; my_unique_identifier = 0;
my_user_data = NULL; my_user_data = NULL;


wcsncpy(option_punctlist, punctlist, N_PUNCTLIST);
wcsncpy(option_punctlist, punctlist ? punctlist : L"", N_PUNCTLIST);
option_punctlist[N_PUNCTLIST-1] = 0; option_punctlist[N_PUNCTLIST-1] = 0;
} // end of sync_espeak_SetPunctuationList } // end of sync_espeak_SetPunctuationList



Loading…
Cancel
Save