From 5cf0e7757b6970a2860871e174c3a0066df50ce3 Mon Sep 17 00:00:00 2001 From: qwell Date: Tue, 24 Apr 2007 18:32:49 +0000 Subject: Merge in pre-echocan debugging for ztmonitor. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2433 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 8fa203c..f196799 100644 --- a/zaptel.h +++ b/zaptel.h @@ -970,6 +970,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 */ @@ -1129,6 +1132,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