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

Joshua Colp asteriskteam at digium.com
Fri Jun 22 06:48:22 CDT 2018


Joshua Colp has submitted this change and it was merged. ( 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(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Approved for Submit



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: merged
Gerrit-Change-Id: I91ddbe5be7c00069c3a25abd5f58d7b2f04c51b1
Gerrit-Change-Number: 9244
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180622/bc5afea8/attachment.html>


More information about the asterisk-code-review mailing list