From 4db3ee4f7f9377f7c6543c5cb21fc277f0355c6e Mon Sep 17 00:00:00 2001 From: qwell Date: Tue, 24 Apr 2007 18:33:29 +0000 Subject: Backport pre-echocan debugging for ztmonitor git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2434 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- zaptel.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zaptel.h') diff --git a/zaptel.h b/zaptel.h index cf786ad..b072d75 100644 --- a/zaptel.h +++ b/zaptel.h @@ -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; -- cgit v1.2.3