Skip to content

Commit 16a8f9b

Browse files
committed
Fix for audio
1 parent 8be0fba commit 16a8f9b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libs/openFrameworksCompiled/project/emscripten/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ document.addEventListener('DOMContentLoaded', () => {
102102

103103
Module.setStatus("Downloading...");
104104
window.onerror = (text) => {
105+
console.log("onerror text:", text);
105106
const total = Module.totalDependencies || 1; // Default to avoid division by zero
106107
const left = text.match(/(\d+)\/(\d+)/);
107108
if (!left) {

libs/openFrameworksCompiled/project/emscripten/config.emscripten.default.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ PLATFORM_LDFLAGS += -s VERBOSE=1
117117
PLATFORM_LDFLAGS += $(PLATFORM_PTHREAD)
118118
# PLATFORM_LDFLAGS += -lGL
119119
# PLATFORM_LDFLAGS += -lhtml5
120+
PLATFORM_LDFLAGS += -lopenal
120121
PLATFORM_LDFLAGS += -s MINIFY_HTML=0
121122
PLATFORM_LDFLAGS += -s MAIN_MODULE=1 \
122123
-s ASSERTIONS=2 \

0 commit comments

Comments
 (0)