[Freeswitch-svn] [commit] r11472 - freeswitch/trunk/src/mod/endpoints/mod_portaudio

FreeSWITCH SVN mikej at freeswitch.org
Fri Jan 23 14:09:17 PST 2009


Author: mikej
Date: Fri Jan 23 16:09:17 2009
New Revision: 11472

Log:
mod_portaudio: default dual-streams to off

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

Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	Fri Jan 23 16:09:17 2009
@@ -845,6 +845,8 @@
 		return SWITCH_STATUS_TERM;
 	}
 
+	globals.dual_streams = 0;
+
 	globals.indev = globals.outdev = globals.ringdev = -1;
 	globals.sample_rate = 8000;
 
@@ -919,10 +921,6 @@
 		globals.codec_ms = 20;
 	}
 
-	if (!globals.dual_streams) {
-		globals.dual_streams = 0;
-	}
-
 	if (!globals.ring_interval) {
 		globals.ring_interval = 5;
 	}



More information about the Freeswitch-svn mailing list