Skip to content
Snippets Groups Projects
Commit 5bf9b86a authored by Mark Spencer's avatar Mark Spencer
Browse files

Know how to send ADPCM

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 1b37f947
Branches
Tags
No related merge requests found
......@@ -1035,6 +1035,7 @@ int ast_rtp_write(struct ast_rtp *rtp, struct ast_frame *_f)
while((f = ast_smoother_read(rtp->smoother)))
ast_rtp_raw_write(rtp, f, codec);
break;
case AST_FORMAT_ADPCM:
case AST_FORMAT_G726:
if (!rtp->smoother) {
rtp->smoother = ast_smoother_new(80);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment