~ubuntu-branches/ubuntu/trusty/espeak/trusty

« back to all changes in this revision

Viewing changes to platforms/windows/windows_cmd/src/.svn/text-base/speech.h.svn-base

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Thibault, Luke Yelavich, Mario Lang, Nicolas Boulenguez, Samuel Thibault
  • Date: 2011-01-30 20:41:59 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130204159-l034urxudcsruok8
Tags: 1.44.05-1
[ Luke Yelavich ]
* debian/copyright: update
* Update manpage to add command-line flags and fix some errors

[ Mario Lang ]
* New upstream version (Closes: Bug#594872)

[ Nicolas Boulenguez ]
* Made the html docs a subdir.
* Referenced it in doc-base.
* Correct syntax in manpage.
* Separate common paragraph of each description, to ease translations.
* Remove empty postinst and postrm.
* Add ${misc:Depends} to espeak-data-udeb, update the description to mention
  d-i.
* Use Package-Type instead of XC-Package-Type.

[ Samuel Thibault ]
* debian/copyright: Fix Jonathan's mail.
* debian/control: Add espeak-dbg package.
* debian/rules: Put debugging symbols into espeak-dbg (Closes: Bug#608984).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2005,2006 by Jonathan Duddington                        *
 
3
 *   jsd@clara.co.uk                                                       *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 *                                                                         *
 
10
 *   This program is distributed in the hope that it will be useful,       *
 
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
13
 *   GNU General Public License for more details.                          *
 
14
 *                                                                         *
 
15
 *   You should have received a copy of the GNU General Public License     *
 
16
 *   along with this program; if not, write to the                         *
 
17
 *   Free Software Foundation, Inc.,                                       *
 
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 
19
 ***************************************************************************/
 
20
 
 
21
// Windows command-line version of eSpeak
 
22
 
 
23
 
 
24
// conditional compilation options
 
25
 
 
26
#define PLATFORM_WINDOWS
 
27
#define __WIN32__
 
28
#define NEED_WCSTOF
 
29
#define NEED_GETOPT
 
30
 
 
31
#define PATHSEP '\\'
 
32
#define USE_PORTAUDIO
 
33
#define NO_VARIADIC_MACROS
 
34
#define ESPEAK_API
 
35
#define INCLUDE_KLATT
 
36
 
 
37
// will look for espeak_data directory here, and also in user's home directory
 
38
#define PATH_ESPEAK_DATA  "/usr/share/espeak-data"
 
39
 
 
40
typedef unsigned short USHORT;
 
41
typedef unsigned char  UCHAR;
 
42
typedef double DOUBLEX;
 
43
 
 
44
 
 
45
 
 
46
 
 
47
typedef struct {
 
48
   const char *mnem;
 
49
   int  value;
 
50
} MNEM_TAB;
 
51
int LookupMnem(MNEM_TAB *table, char *string);
 
52
 
 
53
 
 
54
 
 
55
#define N_PATH_HOME  220
 
56
extern char path_home[N_PATH_HOME];    // this is the espeak-data directory
 
57
 
 
58
extern void strncpy0(char *to,const char *from, int size);
 
59
int  GetFileLength(const char *filename);
 
60
char *Alloc(int size);
 
61
void Free(void *ptr);
 
62