Commit 8d5a1e1
committed
feat: 精简冗余代码、LAME 编译优化、Silk→MP3 音质提升
新增
- LAME_CBR_ONLY 编译宏,排除全部 VBR/ABR 代码路径,缩减 .so 体积
- Silk → MP3 默认比特率 24→64kbps
优化
- 编译参数追加 -Os、-flto、-DNDEBUG、-DLAME_CBR_ONLY
- silk_codec.cpp 移除死函数、合并重复常量
- util.h 内联已删除头文件中的结构体定义
- Android.mk 改用 $(wildcard) 通配源文件
移除
- gain_analysis、mpglib_interface、id3tag、VbrTag、SKP_Silk_div_oabi
- lame.c/bitstream.c/encoder.c 中 ReplayGain、ID3、VBR 标签相关调用1 parent 86cf113 commit 8d5a1e1
22 files changed
Lines changed: 174 additions & 4966 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments