dect
/
asterisk
Archived
13
0
Fork 0

Know how to send ADPCM

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2346 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-03-05 17:32:00 +00:00
parent 581594670c
commit 171c912af7
1 changed files with 1 additions and 0 deletions

1
rtp.c
View File

@ -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);