[Freeswitch-svn] [commit] r5721 - freeswitch/trunk/src/mod/endpoints/mod_alsa

Freeswitch SVN mikej at freeswitch.org
Wed Sep 19 14:50:00 EDT 2007


Author: mikej
Date: Wed Sep 19 14:49:59 2007
New Revision: 5721

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c

Log:
fix for MODENDP-25 from Bret McDanel.  1 byte makes all the difference

Modified: freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c	Wed Sep 19 14:49:59 2007
@@ -1487,7 +1487,7 @@
 			tech_pvt->sample_rate = atoi(argv[4]);
 		}
 
-		if (!switch_strlen_zero(argv[4])) {
+		if (!switch_strlen_zero(argv[5])) {
 			tech_pvt->codec_ms = atoi(argv[5]);
 		}
 



More information about the Freeswitch-svn mailing list