Name Date Size

..25-Oct-20244 KiB

acinclude.m4H A D25-Oct-202410.6 KiB

aclocal.m4H A D25-Oct-2024460.5 KiB

ACM/H25-Oct-20244 KiB

APIH A D25-Oct-20243.6 KiB

BUILD.gnH A D25-Oct-20242.8 KiB

bundle.jsonH A D25-Oct-20241 KiB

ChangeLogH A D25-Oct-2024617 KiB

ChangeLog.headerH A D25-Oct-2024123

compileH A D25-Oct-20247.2 KiB

config.guessH A D25-Oct-202443 KiB

config.h.inH A D25-Oct-20249 KiB

config.rpathH A D25-Oct-202418 KiB

config.subH A D25-Oct-202434.8 KiB

configMS.hH A D25-Oct-20242.7 KiB

configureH A D25-Oct-2024607.3 KiB

configure.inH A D25-Oct-202435.1 KiB

COPYINGH A D25-Oct-202424.7 KiB

debian/H25-Oct-20244 KiB

DEFINESH A D25-Oct-2024940

depcompH A D25-Oct-202423 KiB

Dll/H25-Oct-20244 KiB

doc/H25-Oct-20244 KiB

dshow/H25-Oct-20244 KiB

frontend/H25-Oct-20244 KiB

HACKINGH A D25-Oct-20243.9 KiB

include/H25-Oct-20244 KiB

INSTALLH A D25-Oct-20246.8 KiB

install-shH A D25-Oct-202415.3 KiB

INSTALL.configureH A D25-Oct-20247.6 KiB

lame.batH A D25-Oct-20241.1 KiB

lame.spec.inH A D25-Oct-20245.7 KiB

libmp3lame/H25-Oct-20244 KiB

LICENSEH A D25-Oct-2024503

ltmain.shH A D25-Oct-2024316.5 KiB

mac/H25-Oct-20244 KiB

macosx/H25-Oct-20244 KiB

make_changelog.shH A D25-Oct-202483

Makefile.amH A D25-Oct-20241.6 KiB

Makefile.am.globalH A D25-Oct-2024103

Makefile.inH A D25-Oct-202427.8 KiB

Makefile.MSVCH A D25-Oct-202417.4 KiB

Makefile.unixH A D25-Oct-202420 KiB

misc/H25-Oct-20244 KiB

missingH A D25-Oct-20246.7 KiB

mpglib/H25-Oct-20244 KiB

OAT.xmlH A D25-Oct-20247 KiB

READMEH A D25-Oct-20241.7 KiB

README.OpenSourceH A D25-Oct-2024379

README.WINGTKH A D25-Oct-20242.2 KiB

README_zh.mdH A D25-Oct-20242.1 KiB

STYLEGUIDEH A D25-Oct-20246.8 KiB

test/H25-Oct-20244 KiB

testcase.mp3H A D25-Oct-20249.8 KiB

testcase.wavH A D25-Oct-202497.7 KiB

TODOH A D25-Oct-20244.5 KiB

USAGEH A D25-Oct-202437.2 KiB

vc_solution/H25-Oct-20244 KiB

README

1                      LAME 3.xx
2               LAME Ain't an MP3 Encoder
3                  http://lame.sf.net
4	                  May 2011
5
6Originally developed by Mike Cheng (www.uq.net.au/~zzmcheng) and was
7latter developed by Mark Taylor (www.mp3dev.org). Currently maintained
8by The LAME Project.
9
10This code is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
11(LGPL, see www.gnu.org), version 2.
12
13As LAME may contain software for which some companies may claim software
14patents, if you are in a location where software patents are recognized, it is
15suggested that you seek legal advice before deploying and/or redistributing
16LAME.
17
18In particular, it is suggested to visit
19
20    http://www.mp3licensing.com/
21
22if it applies to your jurisdiction.
23
24============================================================================
25
26see the file "INSTALL" for installation (compiling) instructions.
27see the file "USAGE" for the most up-to-date guide to the command line options.
28see the file "LICENSE" for details on how to use LAME in non-GPL programs.
29see the file "HACKING" if you are interested in working on LAME
30see the file "API" for details of the LAME encoding library API
31
32There is HTML documentation and a man page in the doc directory.
33
34============================================================================
35
36LAME uses the MPGLIB decoding engine, from the mpg123 package, written
37by: Michael Hipp (www.mpg123.de) MPGLIB is released under the GPL.
38
39Copyrights (c) 1999-2011 by The LAME Project
40Copyrights (c) 1999,2000,2001 by Mark Taylor
41Copyrights (c) 1998 by Michael Cheng
42Copyrights (c) 1995,1996,1997 by Michael Hipp: mpglib
43
44As well as additional copyrights as documented in the source code.
45

README.OpenSource

1[
2    {
3        "Name":"Lame - Lame Aint an MP3 Encoder",
4        "License":"LGPL V2.0",
5        "License File":"LICENSE",
6        "Version Number":"3.100",
7        "Owner":"yangpeng43@huawei.com",
8        "Upstream URL":"https://github.com/lameproject/lame.git",
9        "Description":"LAME is a high quality MPEG Audio Layer III (MP3) encoder licensed under the LGPL."
10    }
11]
12

README.WINGTK

1       Installation notes on MP3X (the LAME frame analyzer) for WIN32
2
3===========================================================================
4Document History:
5===========================================================================
6
7Initial version by Albert Faber, March 30, 2000
8
9Update by Albert Faber (Sept 07 2000), changed instructions
10to compile with latest glib/gtk libraries.
11
12Update by Albert Faber (Sept 07 2000), changed instructions
13to compile with latest glib/gtk libraries.
14
15Update by Albert Faber (Oct 20 2000), small adaptions to be conform
16the new lame directory structure.
17
18Update by Gabriel Bouvigne (Jan 07 2004), changes to be conform to the
19VC6 worspace structure.
20
21Update by Gabriel Bouvigne (Nov 11 2006), changes to be conform to the
22VC8 worspace structure. Tested with gtk+-dev-1.3.0-20030115 and glib-dev-2.12.4
23
24
25===========================================================================
26How to compile the MP3 frame analyzer (MP3x):
27===========================================================================
28
29You first need to get hold of the latest GTK and GLIB include files and lib
30files. You can download them freely from the WINGTK project WEB site.
31(see http://www.gtk.org, and click on the WINGTK link.)
32
33Download: glib-dev-VERSION.zip, gtk+-dev-VERSION.zip and extralibs-dev-VERSION.zip
34where VERSION indicates the release data, so it will look something like 20000805
35
36unzip all three zip files in a WinGTK subdirectory, which is created from the lame
37analyzer directory (for example, D:\CVS\lame\WinGtk)
38
39You will end up with the following directory tree
40  D:\CVS\lame\analyzer\WinGtk\src\glib
41  D:\CVS\lame\analyzer\WinGtk\src\gtk+\glib
42  D:\CVS\lame\analyzer\WinGtk\src\gtk+
43
44Set Mp3x as your current active project, recompile everything, and you're done.
45
46===========================================================================
47How to run and use the MP3 Frame analyzer
48===========================================================================
49
50To run MP3x.exe, you need the GTK DLL files: Either instal them on your system,
51or put them in the same directory mp3x.exe resides.
52
53
54Example:
55mp3x.exe myfile
56
57myfile can be a mp3 file, or a wav file.
58
59
60                                === End of Document ===
61

README_zh.md

1# LAME
2
3LAME是LGPL协议授权的高质量MP3编码器。LAME于1998年发布,此后进行了多次改进,引入了新的心理声学模型,被公认为一款出色的MP3编码器,在业界应用广泛。
4
5[LAME官网地址](https://lame.sourceforge.io)为[https://lame.sourceforge.io](https://lame.sourceforge.io),您可以通过访问它获取更多关于LAME项目的信息。
6
7OpenHarmony引入第三方开源软件LAME主要用于对数字音频进行MP3编码。LAME最近更新发布的版本为3.100,这也是OpenHarmony引入的版本。
8
9## 主要目录结构
10
11```
12doc              #文档
13include          #包含头文件
14libmp3lame       #MP3编码主要源代码
15test             #测试代码
16Dll              #Windows dll接口
17vc_solution      #vs解决方案
18Makefile         #编译描述文件
19INSTALL          #安装(编译)指导
20API              #接口说明
21COPYING          #版权声明
22LICENSE          #许可证说明
23README.md        #软件说明
24```
25
26## OpenHarmony如何集成LAME
27
28LAME位于OpenHarmony的thirdparty目录下,使用OpenHarmony中依赖部件的方式进行编译,得到单独的动态链接库。OpenHarmony通过链接到这个库,实现相关功能。
29
301. 主干代码下载
31   ```
32   repo init -u https://gitee.com/openharmony/manifest.git -b master --no-repo-verify
33   repo sync -c
34   repo forall -c 'git lfs pull'
35   ```
362. 在使用的模块进行依赖
37   ```
38   deps = [ "//third_party/lame:lame" ]
39   ```
403. 预处理
41   ```
42   ./build/prebuilts_download.sh
43   ```
444. 编译
45   ```
46   ./build.sh --product-name rk3568 --ccache
47   ```
48编译得到的动态链接库所在路径:`out/rk3568/thirdparty/lame/liblame.z.so`。
49
50## 许可证
51
52本项目遵从[LICENSE](https://gitee.com/openharmony-sig/third_party_lame/blob/master/LICENSE)和[COPYING](https://gitee.com/openharmony-sig/third_party_lame/blob/master/COPYING)中所描述的许可证。
53
54## 特别注意
55
56根据LAME项目[LICENSE](https://gitee.com/openharmony-sig/third_party_lame/blob/master/LICENSE)的要求,如果后续对LAME有修改,**必须**将修改反馈至LAME项目。