Commit f70fea8
authored
Replace BASS with minimp3+kissfft for audio decoding (#177)
This removes the proprietary BASS library and replaces it with:
- minimp3: Header-only MP3 decoder (public domain)
- kissfft: Small FFT library (BSD license)
Benefits:
- No more proprietary dependencies
- Enables universal macOS builds (BASS lacked arm64 support)
- Simpler distribution (no DLLs/dylibs to bundle)
Changes:
- Remove external/bass/ directory and all binaries
- Add external/minimp3/ and external/kissfft/
- Simplify CMakeLists.txt (remove USE_MINIMP3 option)
- Update MusicDecode.c to use only minimp3+kissfft
- Remove BASS_Init from Editor.c
- Update release workflow (no bass.dll copy)
- Update README (remove libbass installation steps)
Closes #1571 parent 8556815 commit f70fea8
File tree
18 files changed
+4226
-1240
lines changed- .github/workflows
- external
- bass
- linux
- mac
- win32
- win64
- kissfft
- minimp3
- src
18 files changed
+4226
-1240
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
87 | 85 | | |
88 | 86 | | |
89 | 87 | | |
| |||
185 | 183 | | |
186 | 184 | | |
187 | 185 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | 186 | | |
193 | 187 | | |
194 | 188 | | |
| |||
250 | 244 | | |
251 | 245 | | |
252 | 246 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | 247 | | |
258 | 248 | | |
259 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 106 | | |
117 | 107 | | |
118 | 108 | | |
119 | | - | |
| 109 | + | |
120 | 110 | | |
121 | 111 | | |
122 | 112 | | |
| |||
0 commit comments