summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Heinanen <jh@tutpro.com>2015-06-04 13:07:16 +0300
committerJuha Heinanen <jh@tutpro.com>2015-06-04 13:07:16 +0300
commit8c1acaf2657e6fdf2539ce4a6e7c17ad6d061d7e (patch)
tree8d67848966fcd484fa52a3b37840a4c6a7aae256
parent25e09c6de764418ab233780a3adb3bef27371dd7 (diff)
docs, src: reverted speex_quality/speex_complexity changes
- speex_quality/speex_complexity value is not mapped to sdp mode value
-rw-r--r--docs/examples/config4
-rw-r--r--src/config.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/examples/config b/docs/examples/config
index 575bfc2..7617170 100644
--- a/docs/examples/config
+++ b/docs/examples/config
@@ -143,8 +143,8 @@ cons_listen 0.0.0.0:5555
evdev_device /dev/input/event0
# Speex codec parameters
-speex_quality 6 # 1-6 or any
-speex_complexity 6 # 1-6 or any
+speex_quality 7 # 0-10
+speex_complexity 7 # 0-10
speex_enhancement 0 # 0-1
speex_vbr 0 # Variable Bit Rate 0-1
speex_vad 0 # Voice Activity Detection 0-1
diff --git a/src/config.c b/src/config.c
index 8844288..13d63a1 100644
--- a/src/config.c
+++ b/src/config.c
@@ -685,8 +685,8 @@ int config_write_template(const char *file, const struct config *cfg)
(void)re_fprintf(f, "evdev_device\t\t/dev/input/event0\n");
(void)re_fprintf(f, "\n# Speex codec parameters\n");
- (void)re_fprintf(f, "speex_quality\t\t6 # 1-6 or any\n");
- (void)re_fprintf(f, "speex_complexity\t6 # 1-6 or any\n");
+ (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_vbr\t\t0 # Variable Bit Rate 0-1\n");
(void)re_fprintf(f, "speex_vad\t\t0 # Voice Activity Detection 0-1\n");