diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-14 18:01:29 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-14 18:01:29 +0000 |
commit | cc1a0ac3e718a5f5258fe5c2bc2d1ced4112c37d (patch) | |
tree | 40ba86e9428680e67d2879de91296324f495e2fe /rtp.c | |
parent | 7284e352767f97aeefb67e2a4e513fc8c0ef7309 (diff) |
Try to make smoother G.729B aware, and able to handle VAD bytes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2421 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1083,6 +1083,8 @@ int ast_rtp_write(struct ast_rtp *rtp, struct ast_frame *_f) case AST_FORMAT_G729A: if (!rtp->smoother) { rtp->smoother = ast_smoother_new(20); + if (rtp->smoother) + ast_smoother_set_flags(rtp->smoother, AST_SMOOTHER_FLAG_G729); } if (!rtp->smoother) { ast_log(LOG_WARNING, "Unable to create g729 smoother :(\n"); |