[Asterisk-cvs] asterisk/res res_musiconhold.c,1.21,1.22

markster at lists.digium.com markster at lists.digium.com
Wed Mar 24 16:57:19 CST 2004


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

Modified Files:
	res_musiconhold.c 
Log Message:
Reduce volume of hold music to 8k / 4k


Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- res_musiconhold.c	21 Mar 2004 07:35:40 -0000	1.21
+++ res_musiconhold.c	24 Mar 2004 21:54:05 -0000	1.22
@@ -123,11 +123,12 @@
 	argv[5] = "8000";
 	argv[6] = "-b";
 	argv[7] = "2048";
-	argc = 8;
+	argv[8] = "-f";
+	argc = 9;
 	if (class->quiet) {
-		argv[argc++] = "-f";
+		argv[argc++] = "4096";
+	} else
 		argv[argc++] = "8192";
-	}
 
 	/* Look for extra arguments and add them to the list */
 	strncpy(xargs, class->miscargs, sizeof(xargs) - 1);




More information about the svn-commits mailing list