From 9aebc216be983a8e679172547c7d1a860673be62 Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 23 Jan 2009 21:40:54 +0000 Subject: [PATCH] lets default to zero git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11471 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_portaudio/mod_portaudio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index 4719e5e1df..730dbe753c 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -919,6 +919,10 @@ 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; }