From: Mark Spencer Date: Fri, 5 Mar 2004 17:32:00 +0000 (+0000) Subject: Know how to send ADPCM X-Git-Tag: 1.0.0-rc1~987 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bf9b86aa4a08a2a672b045e8410a339a70b3e4c;p=thirdparty%2Fasterisk.git Know how to send ADPCM git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2346 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/rtp.c b/rtp.c index 3e0a652533..0be03777b4 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);