diff options
author | qwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-04-24 18:33:29 +0000 |
---|---|---|
committer | qwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-04-24 18:33:29 +0000 |
commit | 4db3ee4f7f9377f7c6543c5cb21fc277f0355c6e (patch) | |
tree | d898734bc3fb9a410b697d1faed035bce1b87fb7 /zaptel.h | |
parent | d3f23546541b61feab4e9a671757b468537c6b9f (diff) |
Backport pre-echocan debugging for ztmonitor
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2434 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.h')
-rw-r--r-- | zaptel.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -919,6 +919,9 @@ struct zt_tone_def { /* Structure for zone programming */ #define ZT_CONF_CONFANNMON 7 /* conference announce/monitor mode */ #define ZT_CONF_REALANDPSEUDO 8 /* real and pseudo port both on conf */ #define ZT_CONF_DIGITALMON 9 /* Do not decode or interpret */ +#define ZT_CONF_MONITOR_RX_PREECHO 10 /* monitor mode (rx of other chan) - before echo can is done */ +#define ZT_CONF_MONITOR_TX_PREECHO 11 /* monitor mode (tx of other chan) - before echo can is done */ +#define ZT_CONF_MONITORBOTH_PREECHO 12 /* monitor mode (rx & tx of other chan) - before echo can is done */ #define ZT_CONF_FLAG_MASK 0xff00 /* mask for flags */ #define ZT_CONF_LISTENER 0x100 /* is a listener on the conference */ #define ZT_CONF_TALKER 0x200 /* is a talker on the conference */ @@ -1069,6 +1072,7 @@ struct zt_chan { u_char swritechunk[ZT_MAX_CHUNKSIZE]; /* Buffer to be written */ u_char *readchunk; /* Actual place to read from */ u_char sreadchunk[ZT_MAX_CHUNKSIZE]; /* Preallocated static area */ + short *readchunkpreec; /* Pointer to tx and rx gain tables */ u_char *rxgain; |