~ubuntu-branches/ubuntu/hoary/eflite/hoary

« back to all changes in this revision

Viewing changes to es.h

  • Committer: Bazaar Package Importer
  • Author(s): Mario Lang
  • Date: 2004-02-25 13:55:10 UTC
  • Revision ID: james.westby@ubuntu.com-20040225135510-hei3t1pv7rywewhn
Tags: upstream-0.3.8
ImportĀ upstreamĀ versionĀ 0.3.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "language.h"
 
2
 
 
3
#define NPARAMS 3
 
4
 
 
5
typedef struct client CLIENT;
 
6
struct client
 
7
{
 
8
  int fd;
 
9
  int param[NPARAMS];
 
10
  char punct[256];
 
11
};
 
12
 
 
13
typedef struct setting setting;
 
14
struct setting
 
15
{
 
16
  char *name;
 
17
  char *value;
 
18
  setting *next;
 
19
};
 
20
 
 
21
/* es.c */
 
22
void terror(const char *s);
 
23
#define LOG_STDERR 0x10000
 
24
#ifdef DEBUG
 
25
void es_log(int flags, const char *text, ...);
 
26
#else
 
27
#define es_log(...)
 
28
#endif
 
29
 
 
30
#ifdef EFLITE
 
31
#include "flite.h"
 
32
/* fs.c */
 
33
void add_tone_command(struct synth_struct *s, int freq, int dur, int vol);
 
34
#endif
 
35
 
 
36
/* soccon.c */
 
37
int sockconnect(const char *fname);
 
38
 
 
39
/* sockopen.c */
 
40
int sockopen(const char *fname);
 
41
 
 
42
/* tone.c */
 
43
void do_tone(struct synth_struct *s, int freq, int dur, int vol, int flags);
 
44
#ifdef EFLITE
 
45
cst_wave *generate_tone(int freq, int dur, int vol);
 
46
#endif