]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Know how to send ADPCM
authorMark Spencer <markster@digium.com>
Fri, 5 Mar 2004 17:32:00 +0000 (17:32 +0000)
committerMark Spencer <markster@digium.com>
Fri, 5 Mar 2004 17:32:00 +0000 (17:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2346 65c4cc65-6c06-0410-ace0-fbb531ad65f3

rtp.c

diff --git a/rtp.c b/rtp.c
index 3e0a652533912ab2f3a49453bfe6bc0b672a8a2b..0be03777b4424b9e60084b317d8d1fe4bff75424 100755 (executable)
--- 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);