From 2f39bc87ab44d112929b834776ce47913eec550f Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 23 Jan 2009 22:09:17 +0000 Subject: [PATCH] mod_portaudio: default dual-streams to off git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11472 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_portaudio/mod_portaudio.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index 730dbe753c..5184e94842 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -845,6 +845,8 @@ static switch_status_t load_config(void) return SWITCH_STATUS_TERM; } + globals.dual_streams = 0; + globals.indev = globals.outdev = globals.ringdev = -1; globals.sample_rate = 8000; @@ -919,10 +921,6 @@ static switch_status_t load_config(void) globals.codec_ms = 20; } - if (!globals.dual_streams) { - globals.dual_streams = 0; - } - if (!globals.ring_interval) { globals.ring_interval = 5; }