[Asterisk-cvs] asterisk/res res_monitor.c,1.27,1.28
markster at lists.digium.com
markster at lists.digium.com
Thu Jan 20 21:53:28 CST 2005
- Previous message: [Asterisk-cvs] asterisk/utils frame.c, NONE, 1.1 frame.h, NONE,
1.1 stereorize.c, NONE, 1.1 .cvsignore, 1.1, 1.2 Makefile, 1.5, 1.6
- Next message: [Asterisk-cvs] asterisk/utils .cvsignore,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv19757/res
Modified Files:
res_monitor.c
Log Message:
Add stereoize (bug #3142), faster than soxmix
Index: res_monitor.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_monitor.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- res_monitor.c 10 Jan 2005 04:29:33 -0000 1.27
+++ res_monitor.c 21 Jan 2005 03:56:22 -0000 1.28
@@ -241,7 +241,7 @@
/* Set the execute application */
execute = pbx_builtin_getvar_helper(chan, "MONITOR_EXEC");
if (!execute || ast_strlen_zero(execute)) {
- execute = "nice -n 19 soxmix";
+ execute = "nice -n 19 soxmix";
delfiles = 1;
}
execute_args = pbx_builtin_getvar_helper(chan, "MONITOR_EXEC_ARGS");
@@ -251,10 +251,10 @@
snprintf(tmp, sizeof(tmp), "%s \"%s/%s-in.%s\" \"%s/%s-out.%s\" \"%s/%s.%s\" %s &", execute, dir, name, format, dir, name, format, dir, name, format,execute_args);
if (delfiles) {
- snprintf(tmp2,sizeof(tmp2), "( %s& rm -f \"%s\"/%s-* ) &",tmp, dir ,name); /* remove legs when done mixing */
+ snprintf(tmp2,sizeof(tmp2), "( %s& rm -f \"%s/%s-*\" ) &",tmp, dir ,name); /* remove legs when done mixing */
strncpy(tmp, tmp2, sizeof(tmp) - 1);
}
- ast_verbose("monitor executing %s\n",tmp);
+ ast_log(LOG_DEBUG,"monitor executing %s\n",tmp);
if (ast_safe_system(tmp) == -1)
ast_log(LOG_WARNING, "Execute of %s failed.\n",tmp);
}
- Previous message: [Asterisk-cvs] asterisk/utils frame.c, NONE, 1.1 frame.h, NONE,
1.1 stereorize.c, NONE, 1.1 .cvsignore, 1.1, 1.2 Makefile, 1.5, 1.6
- Next message: [Asterisk-cvs] asterisk/utils .cvsignore,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list