Build opencore-amr for Windows

原文地址:http://www.fantageek.com/2013/05/21/build-opencore-amr-for-windows/

编译好的Windows库文件:http://download.youkuaiyun.com/detail/nature19862001/9713602

AMR (Apdative multi rate) is a codec optimized for compression audio data. It has 2 versions, narrow band and wide band.

Opencore-amr is an implementation of it, which is extracted from Android source.

This tutorial will guide you how to build opencore-amr for Windows, with the help of minGW

Install minGW first

Download mingw-get-inst for a quick GUI installation. Choose the folder where you want to install minGW (C:\minGW for example). Remember to check for msys addon (msys is an optimized shell for minGW operation)

After installation is completed, add C:\minGW\bin to your PATH

More information about minGW, visit http://www.mingw.org/wiki/Getting_Started

Download opencore-amr

Download here http://sourceforge.net/projects/opencore-amr/files/opencore-amr/

The latest version is 0.1.3

Build opencore-amr

打开C:\MinGW\msys\1.0\msys.bat

Cd to where you put opencore-amr

执行命令:

./configure

Then, 执行命令:

make

Now you should see your lib libopencore-amrnb.a in opencore-amr-0.1.3\amrnb\.libs and your include file in opencore-amr-0.1.3\amrnb

The important include files are _interfenc.h and _interfdec.h

You can then use opencore-arm in your favorite Visual Studio. The archives of static libraries generated with MinGW are generally compatible with Visual C++ compiler/linker.

If you still encounter errors, maybe you need to add some minGW ‘s libraries. Follow this answer on SO.

If you still can’t build it, you can use this already built opencore-amr from Suresh

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值