diff options
Diffstat (limited to 'apps/app_echo.c')
-rwxr-xr-x | apps/app_echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c index 7de30008b..42355a2ff 100755 --- a/apps/app_echo.c +++ b/apps/app_echo.c @@ -45,8 +45,8 @@ static int echo_exec(struct ast_channel *chan, void *data) struct localuser *u; struct ast_frame *f; LOCAL_USER_ADD(u); - ast_set_write_format(chan, ast_best_codec(chan->nativeformats), 1); - ast_set_read_format(chan, ast_best_codec(chan->nativeformats), 1); + ast_set_write_format(chan, ast_best_codec(chan->nativeformats)); + ast_set_read_format(chan, ast_best_codec(chan->nativeformats)); /* Do our thing here */ while(ast_waitfor(chan, -1) > -1) { f = ast_read(chan); |