summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuha Heinanen <jh@tutpro.com>2015-06-04 17:31:36 +0300
committerJuha Heinanen <jh@tutpro.com>2015-06-04 17:31:36 +0300
commit34f04ea86d17b5d0f5cea660cd4c8c49d03899a1 (patch)
tree2dd2716c003499a943b0a1b08ded192b57882798 /src
parent8c1acaf2657e6fdf2539ce4a6e7c17ad6d061d7e (diff)
speex, docs, src: added speex_mode_nb and speex_mode_wb config vars
- Slightly modified patch provided by Dmitrij D. Czarkoff
Diffstat (limited to 'src')
-rw-r--r--src/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 13d63a1..e581650 100644
--- a/src/config.c
+++ b/src/config.c
@@ -688,6 +688,8 @@ int config_write_template(const char *file, const struct config *cfg)
(void)re_fprintf(f, "speex_quality\t\t7 # 0-10\n");
(void)re_fprintf(f, "speex_complexity\t7 # 0-10\n");
(void)re_fprintf(f, "speex_enhancement\t0 # 0-1\n");
+ (void)re_fprintf(f, "speex_mode_nb\t\t3 # 1-6\n");
+ (void)re_fprintf(f, "speex_mode_wb\t\t6 # 1-6\n");
(void)re_fprintf(f, "speex_vbr\t\t0 # Variable Bit Rate 0-1\n");
(void)re_fprintf(f, "speex_vad\t\t0 # Voice Activity Detection 0-1\n");
(void)re_fprintf(f, "speex_agc_level\t\t8000\n");