aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-05 17:32:00 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-05 17:32:00 +0000
commit171c912af7d6043a13bf264d84b436bf950aab2d (patch)
tree056d83426a26946e9a568a247ce0d1cf27d38879 /rtp.c
parent581594670c77a41ee96f6b4bd200c5cec36eff5b (diff)
Know how to send ADPCM
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2346 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rtp.c b/rtp.c
index 3e0a65253..0be03777b 100755
--- a/rtp.c
+++ b/rtp.c
@@ -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);