From 60c82a72fedd719f69c1f1de896aca00784a2881 Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 27 Jun 2023 22:37:53 +0300 Subject: Changes --- src/sound.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/sound.h (limited to 'src/sound.h') diff --git a/src/sound.h b/src/sound.h new file mode 100644 index 0000000..9e0c066 --- /dev/null +++ b/src/sound.h @@ -0,0 +1,16 @@ +#ifndef SOUND_H +#define SOUND_H + +#include +#include + +#include "synth_engine.h" + +/* #define SAMPLE_RATE (44100) */ +/* #define FRAMES_PER_BUFFER (256) */ + +void init_sound(synth_t * synth, PaStreamCallback *streamCallback); + +void destroy_sound(synth_t * synth); + +#endif /* SOUND_H */ -- cgit v1.2.3