Skip to content

Commit 01c186f

Browse files
committed
Rebuilds
1 parent 9bfccf0 commit 01c186f

11 files changed

Lines changed: 33 additions & 4 deletions

File tree

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[submodule "packages/decode-aac/lib/faad2"]
2+
path = packages/decode-aac/lib/faad2
3+
url = https://github.com/knik0/faad2.git
4+
[submodule "packages/decode-wma/lib/rockbox-wma"]
5+
path = packages/decode-wma/lib/rockbox-wma
6+
url = https://github.com/xOpenLee/wmaDecode.git
7+
[submodule "packages/decode-amr/lib/opencore-amr"]
8+
path = packages/decode-amr/lib/opencore-amr
9+
url = https://git.code.sf.net/p/opencore-amr/code

packages/decode-aac/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
node_modules/
2-
lib/faad2/
32
/.claude

packages/decode-aac/lib/faad2

Submodule faad2 added at f2f4e8e
8 Bytes
Binary file not shown.

packages/decode-amr/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
node_modules/
2-
lib/opencore-amr/

packages/decode-amr/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ INCS="
195195
-I $OC/amr_nb/dec/include
196196
-I $OC/amr_nb/common/include
197197
-I $OC/amr_nb/common/src
198+
-I $OC/amr_nb/enc/src
198199
-I $OC/amr_wb/dec/src
199200
-I $OC/amr_wb/dec/include
200201
-I $OC/common/dec/include
Submodule opencore-amr added at 7dba8c3

packages/decode-wma/build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,16 @@ fi
1919

2020
OUT=src/wma.wasm
2121

22+
# Patch wmadeci.c typedefs that conflict with stdint.h (char vs signed char)
23+
PATCHED=src/_wmadeci_patched.c
24+
sed 's/^typedef .*int[0-9]*_t;//' lib/rockbox-wma/wmadeci.c > "$PATCHED"
25+
trap "rm -f $PATCHED" EXIT
26+
2227
echo "Compiling RockBox WMA WASM module..."
2328
emcc \
2429
src/wma_glue.c \
2530
-I lib/rockbox-wma \
31+
-Wno-typedef-redefinition \
2632
-O3 \
2733
-flto \
2834
-s WASM=1 \
Submodule rockbox-wma added at e54cde0
6.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)