summaryrefslogtreecommitdiff
path: root/synth.h
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-10-09 17:59:41 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-10-09 17:59:41 +0200
commitbfc79cef2cb743fedba3e93fd005d25b0a4923dc (patch)
treeba322aea6b9ce203b9daf9b4b7b9280455027454 /synth.h
parentcf2cfcd8a96921dbe812647045dff71ab63989cd (diff)
downloadttdaw-bfc79cef2cb743fedba3e93fd005d25b0a4923dc.tar.gz
Added mutex and proper audio playback
Diffstat (limited to 'synth.h')
-rw-r--r--synth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/synth.h b/synth.h
index 1976745..90fd410 100644
--- a/synth.h
+++ b/synth.h
@@ -1,6 +1,10 @@
#ifndef SYNTH_H_
#define SYNTH_H_
+#define AUDIO_FREQ 44100
+#define AUDIO_SAMPLES 64
+#define AUDIO_CHANNELS 2
+
typedef struct {
char *soundfont_file;
} SynthArgs;