aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_speex.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_speex.c')
-rw-r--r--funcs/func_speex.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/funcs/func_speex.c b/funcs/func_speex.c
index a3a5345ed..edfa3579b 100644
--- a/funcs/func_speex.c
+++ b/funcs/func_speex.c
@@ -337,13 +337,15 @@ static int speex_read(struct ast_channel *chan, const char *cmd, char *data, cha
static struct ast_custom_function agc_function = {
.name = "AGC",
.write = speex_write,
- .read = speex_read
+ .read = speex_read,
+ .read_max = 22,
};
static struct ast_custom_function denoise_function = {
.name = "DENOISE",
.write = speex_write,
- .read = speex_read
+ .read = speex_read,
+ .read_max = 22,
};
static int unload_module(void)