[Asterisk-code-review] codecs/ilbc: Compile in Solaris 11. (asterisk[15])

Alexander Traud asteriskteam at digium.com
Thu Jun 21 05:18:57 CDT 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/9254


Change subject: codecs/ilbc: Compile in Solaris 11.
......................................................................

codecs/ilbc: Compile in Solaris 11.

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
---
M codecs/ilbc/iLBC_define.h
1 file changed, 0 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/54/9254/1

diff --git a/codecs/ilbc/iLBC_define.h b/codecs/ilbc/iLBC_define.h
index 09b120e..eb254a0 100644
--- a/codecs/ilbc/iLBC_define.h
+++ b/codecs/ilbc/iLBC_define.h
@@ -16,7 +16,6 @@
 
    /* general codec settings */
 
-   #define FS                      (float)8000.0
    #define BLOCKL_20MS             160
    #define BLOCKL_30MS             240
    #define BLOCKL_MAX              240

-- 
To view, visit https://gerrit.asterisk.org/9254
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I91ddbe5be7c00069c3a25abd5f58d7b2f04c51b1
Gerrit-Change-Number: 9254
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180621/02fdc5af/attachment.html>


More information about the asterisk-code-review mailing list