[Asterisk-cvs] asterisk dsp.c,1.34,1.35

markster at lists.digium.com markster at lists.digium.com
Sun Jan 2 19:15:59 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv534

Modified Files:
	dsp.c 
Log Message:
Merge twisted's dsp formatting fixes (bug #3218)


Index: dsp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/dsp.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- dsp.c	1 Dec 2004 21:41:21 -0000	1.34
+++ dsp.c	3 Jan 2005 01:21:15 -0000	1.35
@@ -80,7 +80,7 @@
 	{ GSAMP_SIZE_CR, { 425 } },
 };
 
-#define DEFAULT_THRESHOLD 512
+#define DEFAULT_THRESHOLD	512
 
 #define BUSY_PERCENT		10	/* The percentage diffrence between the two last silence periods */
 #define BUSY_THRESHOLD		100	/* Max number of ms difference between max and min times in busy */
@@ -88,16 +88,16 @@
 #define BUSY_MAX		1100	/* Busy can't be longer than 1100 ms in half-cadence */
 
[...1490 lines suppressed...]
 	new = digitmode & (DSP_DIGITMODE_DTMF | DSP_DIGITMODE_MF | DSP_DIGITMODE_MUTECONF | DSP_DIGITMODE_MUTEMAX);
 	if (old != new) {
@@ -1726,6 +1630,7 @@
 int ast_dsp_set_call_progress_zone(struct ast_dsp *dsp, char *zone)
 {
 	int x;
+	
 	for (x=0;x<sizeof(aliases) / sizeof(aliases[0]);x++) {
 		if (!strcasecmp(aliases[x].name, zone)) {
 			dsp->progmode = aliases[x].mode;
@@ -1741,9 +1646,7 @@
 	return dsp->tstate;
 }
 
-
 int ast_dsp_get_tcount(struct ast_dsp *dsp) 
 {
 	return dsp->tcount;
 }
-




More information about the svn-commits mailing list