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

Go to the source code of this file.

Data Structures

struct  dtlk_settings
 

Macros

#define DTLK_MINOR   0
 
#define DTLK_IO_EXTENT   0x02
 
#define DTLK_INTERROGATE   0xa390 /* get settings from the DoubleTalk */
 
#define DTLK_STATUS   0xa391 /* get status from the DoubleTalk */
 
#define DTLK_CLEAR   0x18 /* stops speech */
 
#define DTLK_MAX_RETRIES   (loops_per_jiffy/(10000/HZ))
 
#define TTS_READABLE
 
#define TTS_SPEAKING
 
#define TTS_SPEAKING2
 
#define TTS_WRITABLE
 
#define TTS_ALMOST_FULL
 
#define TTS_ALMOST_EMPTY
 
#define LPC_5220_NORMAL   0x60 /* 5220 format decoding table, normal rate */
 
#define LPC_5220_FAST   0x64 /* 5220 format decoding table, fast rate */
 
#define LPC_D6_NORMAL   0x20 /* D6 format decoding table, normal rate */
 
#define LPC_D6_FAST   0x24 /* D6 format decoding table, fast rate */
 
#define LPC_SPEAKING
 
#define LPC_BUFFER_LOW
 
#define LPC_BUFFER_EMPTY
 

Macro Definition Documentation

#define DTLK_CLEAR   0x18 /* stops speech */

Definition at line 9 of file dtlk.h.

#define DTLK_INTERROGATE   0xa390 /* get settings from the DoubleTalk */

Definition at line 5 of file dtlk.h.

#define DTLK_IO_EXTENT   0x02

Definition at line 2 of file dtlk.h.

#define DTLK_MAX_RETRIES   (loops_per_jiffy/(10000/HZ))

Definition at line 11 of file dtlk.h.

#define DTLK_MINOR   0

Definition at line 1 of file dtlk.h.

#define DTLK_STATUS   0xa391 /* get status from the DoubleTalk */

Definition at line 6 of file dtlk.h.

#define LPC_5220_FAST   0x64 /* 5220 format decoding table, fast rate */

Definition at line 23 of file dtlk.h.

#define LPC_5220_NORMAL   0x60 /* 5220 format decoding table, normal rate */

Definition at line 22 of file dtlk.h.

#define LPC_BUFFER_EMPTY
Value:
0x20 /* mask for BE bit: When set to 1,
indicates that the LPC data buffer
ran out of data (error condition if
TS is also 1). */

Definition at line 31 of file dtlk.h.

#define LPC_BUFFER_LOW
Value:
0x40 /* mask for BL bit: When set to 1,
indicates that the hardware LPC
data buffer has less than 30 bytes
remaining. (Total internal buffer
size = 4096 bytes.) */

Definition at line 30 of file dtlk.h.

#define LPC_D6_FAST   0x24 /* D6 format decoding table, fast rate */

Definition at line 25 of file dtlk.h.

#define LPC_D6_NORMAL   0x20 /* D6 format decoding table, normal rate */

Definition at line 24 of file dtlk.h.

#define LPC_SPEAKING
Value:
0x80 /* mask for TS bit: When set to 1,
indicates the LPC synthesizer is
producing speech.*/

Definition at line 29 of file dtlk.h.

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

Definition at line 19 of file dtlk.h.

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

Definition at line 18 of file 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 14 of file 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 15 of file 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 16 of file 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 17 of file dtlk.h.