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

Alexander Traud asteriskteam at digium.com
Thu Jun 21 05:19:04 CDT 2018


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


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/44/9244/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/9244
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I91ddbe5be7c00069c3a25abd5f58d7b2f04c51b1
Gerrit-Change-Number: 9244
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/738f728d/attachment.html>


More information about the asterisk-code-review mailing list