summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2015-06-04 23:00:45 +0200
committerDmitrij D. Czarkoff <czarkoff@gmail.com>2015-06-04 23:00:45 +0200
commit19a88bbbfe24b77b0c37d6f699b84ccbf389f3a6 (patch)
treeaa6ac3fb9cb3546a1133cdb1273e415b28da2f6d /modules
parent34f04ea86d17b5d0f5cea660cd4c8c49d03899a1 (diff)
speex: fix config parsing
Diffstat (limited to 'modules')
-rw-r--r--modules/speex/speex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/speex/speex.c b/modules/speex/speex.c
index e148387..055d3ad 100644
--- a/modules/speex/speex.c
+++ b/modules/speex/speex.c
@@ -442,9 +442,9 @@ static void config_parse(struct conf *conf)
if (0 == conf_get_u32(conf, "speex_enhancement", &v))
sconf.enhancement = v;
if (0 == conf_get_u32(conf, "speex_mode_nb", &v))
- sconf.vbr = v;
+ sconf.mode_nb = v;
if (0 == conf_get_u32(conf, "speex_mode_wb", &v))
- sconf.vbr = v;
+ sconf.mode_wb = v;
if (0 == conf_get_u32(conf, "speex_vbr", &v))
sconf.vbr = v;
if (0 == conf_get_u32(conf, "speex_vad", &v))