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

« back to all changes in this revision

Viewing changes to platforms/windows/espeakedit/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
 
 
22
#define LOG_FRAMES      // write keyframe info to src/log
 
23
 
 
24
 
 
25
// comment this out when compiling the "speak" process
 
26
//#define SPECT_EDITOR
 
27
#define INCLUDE_KLATT
 
28
 
 
29
#include <windows.h>
 
30
#define PLATFORM_WINDOWS
 
31
#define __WIN32__
 
32
#define mkdir(p1,p2) mkdir(p1)
 
33
 
 
34
#define PATHSEP  '\\'
 
35
#define USE_PORTAUDIO
 
36
//#define USE_NANOSLEEP
 
37
#define NO_VARIADIC_MACROS
 
38
#define __cdecl 
 
39
#define ESPEAK_API
 
40
#define PATH_ESPEAK_DATA  "C:\\Program files\\espeak\\espeak-data"
 
41
 
 
42
typedef unsigned short USHORT;
 
43
typedef unsigned char  UCHAR;
 
44
typedef double DOUBLEX;
 
45
 
 
46
 
 
47
 
 
48
 
 
49
typedef struct {
 
50
   const char *mnem;
 
51
   int  value;
 
52
} MNEM_TAB;
 
53
int LookupMnem(MNEM_TAB *table, char *string);
 
54
 
 
55
 
 
56
 
 
57
#define N_PATH_HOME  120
 
58
extern char path_home[N_PATH_HOME];    // this is the espeak-data directory
 
59
 
 
60
extern void strncpy0(char *to,const char *from, int size);
 
61
int  GetFileLength(const char *filename);
 
62
char *Alloc(int size);
 
63
void Free(void *ptr);
 
64