From bfc79cef2cb743fedba3e93fd005d25b0a4923dc Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 9 Oct 2024 17:59:41 +0200 Subject: Added mutex and proper audio playback --- synth.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'synth.h') 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; -- cgit v1.2.3