summaryrefslogtreecommitdiff
path: root/channels/chan_alsa.c
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2010-03-02 19:08:38 +0000
committerDavid Vossel <dvossel@digium.com>2010-03-02 19:08:38 +0000
commit862ebf4d008ed46ba1455b7e2395a634a4dc172d (patch)
treebdf4afac836c65698b3da8e315f9eb5d146aa89c /channels/chan_alsa.c
parent06041ea28ddf8c6dc20f09e9280e4b64aee42271 (diff)
fixes adaptive jitterbuffer configuration
When configuring the adaptive jitterbuffer, the target_extra value not only could not be set from the configuration, but was not even being set to its proper default. This value is required in order for the adaptive jitterbuffer to work correctly. To resolve this a config option has been added to expose this value to the conf files, and a default value is provided when no config specific value is present. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@249893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_alsa.c')
-rw-r--r--channels/chan_alsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_alsa.c b/channels/chan_alsa.c
index b52a03c08..3f8d26d5a 100644
--- a/channels/chan_alsa.c
+++ b/channels/chan_alsa.c
@@ -62,7 +62,8 @@ static struct ast_jb_conf default_jbconf = {
.flags = 0,
.max_size = -1,
.resync_threshold = -1,
- .impl = ""
+ .impl = "",
+ .target_extra = -1,
};
static struct ast_jb_conf global_jbconf;