summaryrefslogtreecommitdiffstats
path: root/src/synth.c
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2025-11-23 22:54:56 +0200
committergrm <grm@eyesin.space>2025-11-23 22:54:56 +0200
commita4acc4cd3a4ef237fb7238894336bbc4af659e07 (patch)
tree68d05d5cc4c1900e6c19ee9bf3b6b06a1ce5fafd /src/synth.c
parent8f00dd3df55677beff2924d2c6eec205744ebdf6 (diff)
downloadsynth-project-a4acc4cd3a4ef237fb7238894336bbc4af659e07.tar.gz
synth-project-a4acc4cd3a4ef237fb7238894336bbc4af659e07.tar.bz2
synth-project-a4acc4cd3a4ef237fb7238894336bbc4af659e07.zip
add lsan supression
Diffstat (limited to 'src/synth.c')
-rw-r--r--src/synth.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/synth.c b/src/synth.c
index 1b5187b..f5038b6 100644
--- a/src/synth.c
+++ b/src/synth.c
@@ -26,17 +26,27 @@
#include "synth_engine.h"
#include "synth_gui.h"
#include "web.h"
+//#include "generator.h"
+
+// Add this function to your code
+const char *__lsan_default_options() {
+ return "suppressions=lsan.supp:print_suppressions=0";
+}
int
main(void) {
synth_t * synth = init_synth();
+ /* sound_node sn = {0}; */
+ /* load_preset(&sn, "preset.synth"); */
+
init_web(synth);
-
+
rayrun(synth);
free_web();
free_synth(synth);
+
return 0;
}