Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
speakup_dtlk.h File Reference

Go to the source code of this file.

Data Structures

struct  synth_settings
 

Macros

#define SYNTH_IO_EXTENT   0x02
 
#define SYNTH_CLEAR   0x18 /* stops speech */
 
#define TTS_READABLE
 
#define TTS_SPEAKING
 
#define TTS_SPEAKING2
 
#define TTS_WRITABLE
 
#define TTS_ALMOST_FULL
 
#define TTS_ALMOST_EMPTY
 

Macro Definition Documentation

#define SYNTH_CLEAR   0x18 /* stops speech */

Definition at line 4 of file speakup_dtlk.h.

#define SYNTH_IO_EXTENT   0x02

Definition at line 3 of file speakup_dtlk.h.

#define TTS_ALMOST_EMPTY
Value:
0x04 /* mask for AE bit: When set to 1,
indicates that less than 300 bytes
are remaining in DoubleTalk's input
(TTS or PCM) buffer. AE is always 1
in the TGN and CVSD modes. */

Definition at line 11 of file speakup_dtlk.h.

#define TTS_ALMOST_FULL
Value:
0x08 /* mask for AF bit: When set to 1,
indicates that less than 300 bytes
are available in the TTS input
buffer. AF is always 0 in the PCM,
TGN and CVSD modes. */

Definition at line 10 of file speakup_dtlk.h.

#define TTS_READABLE
Value:
0x80 /* mask for bit which is nonzero if a
byte can be read from the TTS port */

Definition at line 6 of file speakup_dtlk.h.

#define TTS_SPEAKING
Value:
0x40 /* mask for SYNC bit, which is nonzero
while DoubleTalk is producing
output with TTS, PCM or CVSD
synthesizers or tone generators
(that is, all but LPC) */

Definition at line 7 of file speakup_dtlk.h.

#define TTS_SPEAKING2
Value:
0x20 /* mask for SYNC2 bit,
which falls to zero up to 0.4 sec
before speech stops */

Definition at line 8 of file speakup_dtlk.h.

#define TTS_WRITABLE
Value:
0x10 /* mask for RDY bit, which when set to
1, indicates the TTS port is ready
to accept a byte of data. The RDY
bit goes zero 2-3 usec after
writing, and goes 1 again 180-190
usec later. */

Definition at line 9 of file speakup_dtlk.h.