diff --git a/.gitignore b/.gitignore index 4eb45e6..a7c6dea 100644 --- a/.gitignore +++ b/.gitignore @@ -33,4 +33,5 @@ actual_output/ node_modules sointu-server -temp_song_file.* \ No newline at end of file +temp_song_file.* +wabt-* diff --git a/.gitpod.yml b/.gitpod.yml index 00753b9..6847f3e 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -8,6 +8,7 @@ tasks: - init: | wget https://github.com/WebAssembly/wabt/releases/download/1.0.32/wabt-1.0.32-ubuntu.tar.gz tar -xvzf wabt-1.0.32-ubuntu.tar.gz + sudo cp wabt-1.0.32/bin/* /usr/bin sudo apt install nasm diff --git a/templates/wasm/player.wat b/templates/wasm/player.wat index b1614fa..0a84667 100644 --- a/templates/wasm/player.wat +++ b/templates/wasm/player.wat @@ -880,7 +880,7 @@ (export "render_128_samples" (func $render_128_samples)) (export "update_voices" (func $su_update_voices)) -;; (start $render) ;; we run render automagically when the module is instantiated +(start $render) ;; we run render automagically when the module is instantiated (func $render (param) {{- if .Output16Bit }} (local $channel i32) {{- end }}