]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
codecs/ilbc: Compile in Solaris 11.
authorAlexander Traud <pabstraud@compuserve.com>
Thu, 21 Jun 2018 10:08:56 +0000 (12:08 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Thu, 21 Jun 2018 10:18:55 +0000 (04:18 -0600)
The symbol FS is the sampling frequency. That symbol is not used in Asterisk at
all and was a copy-and-paste of the iLBC reference code from the IETF RFC.
However, in Solaris, that symbol is defined by another header already. To
compile in Solaris, that symbol has to go.

Change-Id: I91ddbe5be7c00069c3a25abd5f58d7b2f04c51b1

codecs/ilbc/iLBC_define.h

index 09b120e982aa494e829000803331a9656563cc97..eb254a0fb2849f2c5bd6e3bd7bf166bd8a740dd4 100644 (file)
@@ -16,7 +16,6 @@
 
    /* general codec settings */
 
-   #define FS                      (float)8000.0
    #define BLOCKL_20MS             160
    #define BLOCKL_30MS             240
    #define BLOCKL_MAX              240