From: Jeff Peeler Date: Wed, 2 Jun 2010 17:31:52 +0000 (+0000) Subject: Merged revisions 267065 via svnmerge from X-Git-Tag: 1.6.2.10-rc1~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c047b9a31c30615a78845ac943767ff4c54e612;p=thirdparty%2Fasterisk.git Merged revisions 267065 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r267065 | jpeeler | 2010-06-02 12:29:35 -0500 (Wed, 02 Jun 2010) | 12 lines Fix infinite loop when loading codec speex This changes the sample slinear frame data to contain non-zero data so that translation calculations for speex works when preprocessing and VAD is turned on. The encoder expects samples to be returned, but when attempted with the mentioned two options and silent sample frames everything was discarded. (closes issue #17240) Reported by: seandarcy Review: https://reviewboard.asterisk.org/r/682/ ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@267073 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/slin.h b/include/asterisk/slin.h index c1f33b9102..f8d57c9448 100644 --- a/include/asterisk/slin.h +++ b/include/asterisk/slin.h @@ -16,70 +16,46 @@ * at the top of the source tree. */ +/* Source: beep.gsm + * Converted to beep.sln via file convert, then converted to hex: + * od -An -tx1 beep.sln | awk '{for (i=1; i