possible to disable wasm render on start

This commit is contained in:
Peter Salomonsen
2023-04-05 18:57:42 +00:00
parent c429178758
commit 53a8429a69
4 changed files with 11 additions and 6 deletions

View File

@ -880,7 +880,9 @@
(export "render_128_samples" (func $render_128_samples))
(export "update_voices" (func $su_update_voices))
{{- if .RenderOnStart }}
(start $render) ;; we run render automagically when the module is instantiated
{{- end}}
(func $render (param)
{{- if .Output16Bit }} (local $channel i32) {{- end }}